Agents
Claude Code
Track Claude Code generated AI-code all the way to production.
Supported since: 2025-09-01

Install Git AI
No special setup required. One command, no per-repo config.
curl -sSL https://usegitai.com/install.sh | bash
Prompt Claude Code & Commit
No workflow changes. AI attribution is added automatically on commit.
AI Blame & Ask
See who wrote every line — human or AI. Use git-ai ask to query the original prompts and context behind any AI-generated code.
Capabilities
Claude Code fully supports the Git AI standard.
| Feature | Supported |
|---|---|
| Agent Mode | ✓ |
| Prompt Saving | ✓ |
How this integration works
Claude Code has native support for Hooks. When you install Git AI it will automatically install the necessary hooks on Write|Edit|MultiEdit.
{
"hooks": {
"PostToolUse": [
{
"hooks": [
{
"command": "git ai checkpoint claude --hook-input stdin",
"type": "command"
}
],
"matcher": "Write|Edit|MultiEdit"
}
],
"PreToolUse": [
{
"hooks": [
{
"command": "git ai checkpoint claude --hook-input stdin",
"type": "command"
}
],
"matcher": "Write|Edit|MultiEdit"
}
]
}
}Troubleshooting
Make sure there are no Hook Errors
Claude Code will show you which Hooks it runs and error if there are any issues invoking each hook.
If you see anything, please open an issue on the GitHub repository.