ClawdCommit
April 24, 2026 ยท View on GitHub
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.
Installation
- Visit the ClawdCommit listing in the Visual Studio Marketplace
- Click on "Install" button
- Proceed with the extension installation process
Prerequisites
- VS Code 1.109+
- Claude Code CLI installed and available on your
PATH - A git repository open in VS Code
Configuration
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. |
How it works
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.
Running locally
-
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.
Development build
npm run compile
This type-checks with tsc then bundles with esbuild into dist/extension.js.
Packaging as a .vsix
npx @vscode/vsce package
This produces a .vsix file you can install in VS Code via Extensions > Install from VSIX....
License
MIT โ see LICENSE.