Current collected state Current
Observed since 20 Oct, 18:19 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A CLI tool to generate commit messages using AI models
A CLI tool that generates commit messages using AI models based on your git repository changes.
# Install pipx if you haven't
brew install pipx
pipx ensurepath
# Install acmt
pipx install acmt
# Upgrade acmt
pipx upgrade acmt
pip install acmt
acmt init
git add .
acmt commit
# Show version
acmt --version
# Show all available commands
acmt --help
# Show help for a specific command
acmt model --help
acmt commit --help
# Show current configuration
acmt current
Configure acmt in order of priority:
.env file (highest priority)ACMT_API_KEY=your_api_key
ACMT_API_BASE=your_api_base
ACMT_MODEL=your_model
ACMT_PROMPT=your_prompt
export ACMT_API_KEY=your_api_key
export ACMT_API_BASE=your_api_base
export ACMT_MODEL=your_model
export ACMT_PROMPT=your_prompt
acmt init (lowest priority, default)acmt init
# Creates ~/.config/acmt/config.json with default settings:
# - model: your_model
# - api_base: your_api_base
# - api_key: your_api_key
# - prompt: default prompt template
# - custom_models: custom model list
# List available models
acmt model list
# Add custom model
acmt model add my-model https://api.example.com/v1
# Remove custom model
acmt model remove my-model
# Customize commit message prompt template
acmt prompt
# Reset to default prompt template
acmt reset-prompt
Default prompt template:
Based on the following git diff, generate a concise and descriptive commit message that follows conventional commits format.
Focus on the "what" and "why" of the changes.
Start with a type (feat, fix, docs, style, refactor, perf, test, build, ci, chore).
Do not include scope.
Limit the first line to 72 characters.
Add a blank line followed by a more detailed description if necessary.
The default prompt template guides the AI to:
https://api.openai.com/v1https://api.anthropic.com/v1https://generativelanguage.googleapis.com/v1https://api.deepseek.com/v1https://dashscope.aliyuncs.com/api/v1https://spark-api.xf-yun.com/v3.1https://open.bigmodel.cn/api/v1https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshophttps://api.moonshot.cn/v1https://hunyuan.cloud.tencent.com/hyllm/v1https://api.doubao.com/v1https://api.replicate.com/v1https://api.together.xyz/v1MIT
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.3.1 | 29 Mar 2025 | 4 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 18:19 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:0e39f6a039371f1f5129ae862dffbff58eb491e7fbfb12477c3bf363a79354d0