JohannLai

Claude Commit — AI skill for Claude Code

AI community

🤖 AI-powered git commit message generator using Claude Agent SDK and Claude Code CLI.

How to install Claude Commit

This entry records only its repository, not the path inside it, so there is no exact command to give. Open JohannLai/claude-commit and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Commit does

🤖 AI-powered git commit message generator using Claude Agent SDK and Claude Code CLI.

Alternatives in AI

  • Opencodex — Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama… 12.3k ★
  • Ataru — High-performance AI memory retrieval for local agent history — a Rust search core (SDK / API / JSON CLI) plus 351 ★
  • Beamer Academic — 一键从论文生成高质量学术答辩PPT AI-powered thesis defense slides generator Claude Code & Codex Skill 279 ★

README

claude-commit [![PyPI version](https://badge.fury.io/py/claude-commit.svg)](https://badge.fury.io/py/claude-commit)

🤖 AI-powered git commit message generator using Claude Agent SDK and Claude Code CLI

What is this?

`claude-commit` uses Claude AI to analyze your code changes and write meaningful commit messages. Claude reads your files, understands the context, and generates commit messages following best practices.

Installation

Prerequisites

  • Python 3.10+
  • Node.js
  • Git

Recommended: pipx (for CLI tools)

`pipx` is the **best way to install Python CLI tools**. It creates isolated environments automatically:

# 1. Install pipx
brew install pipx              # macOS
# or
pip install --user pipx        # Linux/Windows
pipx ensurepath

# 2. Install Claude Code CLI (required)
npm install -g @anthropic-ai/claude-code

# 3. Install claude-commit
pipx install claude-commit

Alternative: pip

If you prefer pip, use one of these methods:

**Option 1: User installation (no admin rights needed)**

# Install to user directory
pip install --user claude-commit

# Make sure ~/.local/bin is in your PATH
export PATH="$HOME/.local/bin:$PATH"

**Option 2: Virtual environment**

python3 -m venv ~/.venvs/claude-commit
source ~/.venvs/claude-commit/bin/activate
pip install claude-commit

Authentication

`claude-commit` supports two ways to authenticate with Claude:

**Option 1: [Official Claude Code Login](https://docs.claude.com/en/docs/claude-code/quickstart#step-2%3A-log-in-to-your-account) (Recommended)**

**Option 2: Custom API Endpoint (Environment Variables)**

For custom Claude API endpoints or proxies, set these environment variables:

# Required: Set custom endpoint and credentials
export ANTHROPIC_BASE_URL="https://your-endpoint.com"
export ANTHROPIC_AUTH_TOKEN="your-auth-token"

# Optional: Specify custom model name
export ANTHROPIC_MODEL="your-model-name"

# Then use claude-commit normally
claude-commi