A VS Code extension that generates git commit messages using the Claude Code CLI.
Stage your changes, click the button in the source control panel "Changes" bar, and ClawdCommit will draft a commit message based on your staged diff and recent commit history using Claude Code CLI.
- Visit the ClawdCommit listing in the Visual Studio Marketplace
- Click on "Install" button
- Proceed with the extension installation process
- VS Code 1.85+
- Claude Code CLI installed and available on your
PATH - A git repository open in VS Code
All settings are available under Settings > Extensions > ClawdCommit or via clawdCommit.* in settings.json.
| Setting | Type | Default | Description |
|---|---|---|---|
clawdCommit.model |
haiku | sonnet | opus |
sonnet |
Claude model to use for commit message generation. |
clawdCommit.includeFileContext |
boolean |
true |
Allow Claude to read files in the working directory for additional context beyond the diff. Disable to restrict analysis to the staged diff only. |
When you trigger ClawdCommit, it reads your staged diff and recent commit history, optionally fetches the full content of changed files for richer context, and sends everything to Claude in a single request. Claude generates a commit message matching your project's style.
-
Clone the repo and install dependencies:
git clone <repo-url> cd ClawdCommit npm install
-
Open the project in VS Code.
-
Press F5 (or Run > Start Debugging). This launches a new Extension Development Host window with the extension loaded.
-
In the Extension Development Host, open a git repository, stage some changes, and click the ClawdCommit icon in the Source Control title bar.
npm run compileThis type-checks with tsc then bundles with esbuild into dist/extension.js.
npx @vscode/vsce packageThis produces a .vsix file you can install in VS Code via Extensions > Install from VSIX....
MIT — see LICENSE.
