Git AI — AI skill for Claude Code
Stop writing commit messages by hand.
How to install Git AI
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open git-extensions/git-ai and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Git AI does
Stop writing commit messages by hand. AI-powered conventional commits from your staged changes — powered by Claude Code.
Alternatives in AI
- Manifest — Real-time cost observability for OpenClaw agents — track tokens, costs, messages, and model usage 4.1k ★
- Wechat Acp — Bridge WeChat chat messages to any ACP-compatible AI agent (Claude, Codex, Copilot, Qwen, Gemini, OpenCode and 488 ★
- Academic Writing Skills — AI-powered post-writing toolkit for academic papers — format validation, grammar/style polishing, de-AI editin 430 ★
README
git-ai
Stop writing commit messages by hand. `git-ai` generates precise, conventional commit messages from your staged changes — powered by Claude, Codex, or Gemini, right in your terminal.
[](https://github.com/git-extensions/git-ai/actions/workflows/ci.yml) [](https://github.com/git-extensions/git-ai/releases/latest) [](LICENSE)
git add -p && git ai commit
Requirements
- Bash 4.4+ (
bash) - One supported AI agent:
- Claude Code (
claude) - Codex (
codex) - Gemini CLI (
gemini)
- Claude Code (
jqfor Gemini output parsing- Gum (
gum)
**macOS (Homebrew):**
brew install bash gum
**Nix:**
nix profile install nixpkgs#bash nixpkgs#gum
Install your AI agent separately:
- Claude Code: Claude Code installation guide
- Codex: OpenAI Codex
- Gemini CLI: google-gemini/gemini-cli
Installation
Nix (recommended)
Run directly without installing:
nix run github:git-extensions/git-ai -- commit
Or install into your profile:
nix profile install github:git-extensions/git-ai
Zsh Plugin
The plugin adds `git-ai` to your `$PATH` so git discovers it as a custom command (`git ai`).
**Note:** Bash 4.4+ is still required. On macOS: `brew install bash`.
zinit light git-extensions/git-ai
Manual (symlink)
Symlink the `git-ai` script onto your `$PATH` so git discovers it as a custom command:
Related Skills
LLM Git
AI commit message generator. Conventional commits, compose mode, and history rewrite via Claude/GPT APIs.
Pbi Commit
Stage all semantic model changes and create a local git commit with an auto-generated business-language messag
Rtk Commit Message Style
Conventional Commits enforcer for AI-authored PRs.
AI Git Hooks
AI-powered git hooks - auto-review diffs, generate commit messages, scan for secrets. Supports Claude, OpenAI,
Claude Code Secret Gate
The pre-commit secret gate for AI coding agents — content-scans staged changes and blocks any commit containin
Setup Commits
Generate a /commit command that runs checks, then commits with AI-generated messages
Related Agents
Git Commit Helper
Use this agent when you need to commit changes to git with properly formatted, detailed commit messages that f
Diff Summarizer
MUST BE USED for generating commit messages and PR descriptions. Use immediately before finalizing commits. An
Commit Writer
Drafts a Conventional Commits message for the currently staged changes and creates the commit. Reads the modif