Claude Commit
Already using Claude Code? Get the commit message button you deserve – at no extra cost.
A VS Code extension that brings the ✨ sparkle button to your Git panel, powered by the Claude CLI you already have. Generate intelligent commit messages without paying for additional AI services.

Why Claude Commit?
You're already investing in Claude Code – whether it's Pro, Max ×5, or Max ×10. Why pay for Copilot or Cursor just for commit message generation? This extension leverages your existing Claude subscription to bring the same AI-powered commit message functionality directly to VS Code.
Zero additional cost. Zero complexity. Just works.
Features
- One-click commit message generation: The sparkle button ✨ you know and love, right in VS Code's Git panel
- Powered by your Claude CLI: Uses your existing Claude installation – no extra API keys or subscriptions
- Context-aware analysis: Understands your git diff to generate meaningful, conventional commit messages
- Dead simple: No configuration needed – install and go
- Seamless VS Code integration: Works directly with the built-in Git interface
Requirements
- VS Code 1.103.0 or higher
- Claude CLI installed and authenticated (comes with your Claude Code subscription)
- Git repository initialized in your workspace
- Internet connection for AI generation
Installation
- Install the extension from the VS Code Marketplace
- Ensure Claude CLI is installed and available in your system PATH
- Open a project with a Git repository
- Look for the sparkle ✨ button in your Git panel
How to Use
- Make your code changes
- Stage your changes (optional – works with unstaged changes too)
- Click the sparkle ✨ button next to the commit message input
- Review the AI-generated commit message
- Commit
That's it. No configuration, no setup wizards, no complexity.
Extension Settings
This extension keeps it simple with just two optional settings:
claude-commit.claudePath
: Custom path to Claude CLI executable (auto-detects by default)
claude-commit.debugMode
: Enable debug output for troubleshooting
Configuration Examples
Using a custom Claude path
{
"claude-commit.claudePath": "/usr/local/bin/claude"
}
Debug mode for troubleshooting
{
"claude-commit.debugMode": true
}
Troubleshooting
Claude CLI not found
If the extension can't find Claude CLI:
Check Claude is installed: Run in terminal:
which claude
This should show the path to Claude (e.g., /Users/you/.nvm/versions/node/v22.13.0/bin/claude
)
Set custom path in VS Code:
- Open VS Code Settings (Cmd+,)
- Search for "claude-commit"
- In "Claude Path", enter the full path from step 1
Enable Debug Mode:
- Enable "Debug Mode" in settings
- Open Output panel (View → Output)
- Select "Claude Commit" from dropdown
- Try generating a commit message and check logs
Common issues:
- NVM users: VS Code might not see NVM paths – use the custom path setting
- macOS: If using zsh, paths might differ between terminal and VS Code
- Authentication: Ensure Claude CLI is authenticated by running
claude setup-token
in terminal
No commit message generated
- Ensure you have changes in your repository
- Check that Claude CLI is properly authenticated
- Enable debug mode to see the actual commands being executed
Privacy & Security
- Your code changes are processed locally through Claude CLI
- No API keys are stored or transmitted by this extension
- Authentication is handled by your existing Claude CLI setup
- Code is only sent to Claude's servers through your authenticated CLI session
Release Notes
1.0.1
- Streamlined configuration – removed unnecessary options for dead-simple operation
- Enhanced README to clarify value proposition for Claude Code users
1.0.0
- Complete refactor to use Claude CLI instead of Anthropic API
- Simplified configuration
- Hardcoded to use Sonnet model and conventional commit format
- Improved debug logging that only runs when debug mode is enabled
- New name: Claude Commit (formerly Claude Code AI Commit Message Button)
Contributing
Found a bug or have a feature request? Please open an issue on our GitHub repository.
License
MIT License - see LICENSE file for details.
Stop paying twice for AI commit messages. You've got Claude Code – now get the commit button. ✨