AI commit messages for your staged changes. Powered by Claude.
pip install commitcraft
export ANTHROPIC_API_KEY=sk-ant-...
git add .
commitcraft
# Generate a message and ask to commit
commitcraft
# Commit immediately without prompting
commitcraft --auto
# Show 3 alternatives to pick from
commitcraft --count 3
# Tweak the message in $EDITOR before committing
commitcraft --edit
# Give a hint about the change
commitcraft --hint "fixes the login bug from issue 42"
Follows Conventional Commits:
feat(auth): add remember-me option to login form
Previously users were logged out on every session close. This adds a
"remember me" checkbox that issues a 30-day persistent cookie.
Defaults to claude-opus-4-6. Override with --model:
commitcraft --model claude-sonnet-4-6
MIT