git:commit

git:commit is a command for Claude Code from geoffjay/claude-plugins. It costs 13 tokens per session (2,017 once invoked), scanned A, original, MIT.

A Git command that creates commit messages using the Conventional Commits format, such as feat, fix, or docs. It reviews staged changes and asks for confirmation before committing.

In plain words
What is it for?
Use it to commit features, bug fixes, documentation, tests, refactors, and other staged changes with a standard message.
Why use it?
It helps keep commit history consistent and makes each change easier to understand and sort.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: positional $N argument; mentions Claude Code.

Good fit Use it to commit features, bug fixes, documentation, tests, refactors, and other staged changes with a standard message.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/geoffjay/claude-plugins/commit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/geoffjay/claude-plugins

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for git:commit

README.md
[![agentmods](https://agentmods.dev/badge/commands/geoffjay/claude-plugins/commit/github.svg)](https://agentmods.dev/commands/geoffjay/claude-plugins/commit)
Your own site
<a href="https://agentmods.dev/commands/geoffjay/claude-plugins/commit"><img src="https://agentmods.dev/badge/commands/geoffjay/claude-plugins/commit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for git:commit

Your own site · 80×15
<a href="https://agentmods.dev/commands/geoffjay/claude-plugins/commit"><img src="https://agentmods.dev/badge/commands/geoffjay/claude-plugins/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,017 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00013 $0.02017
Opus 5.5 $0.00005 $0.00807
Sonnet 5.5 $0.00003 $0.00403
Haiku 4.5 $0.00001 $0.00202

Measured 1mo ago against content hash ac9d95f69fe6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

git:commit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/utilities/git/commands/commit.md · 324 lines

How it starts

The opening of the file, as written. The whole thing — 324 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Git Conventions and Workflow Guidelines

Guide Claude Code through creating properly formatted commit messages and following git best practices using Conventional Commits specification.

Command

/git:commit [type] [scope] [description]

Arguments

  • $1: type - feat|fix|docs|style|refactor|perf|test|chore|ci (optional, interactive if not provided)
  • $2: scope - Component or module name (optional)
  • $3: description - Brief description in imperative mood (optional)

Slash Command Usage Examples

Interactive Mode (Recommended)

/git:commit

What happens:

  1. Claude analyzes staged changes using git diff --cached
  2. Asks you what type of change this is (feat, fix, docs, etc.)
  3. Asks for the scope (optional)
  4. Asks for a description or suggests one based on the changes
  5. Generates a properly formatted commit message
  6. Shows you the message and asks for confirmation
  7. Creates the commit with the approved message

Quick Mode with Arguments

# Feature with scope
/git:commit feat auth "add JWT authentication"

# Bug fix without scope
/git:commit fix "handle null response from server"

# Documentation update
/git:commit docs readme "update installation steps"

# Refactoring with scope
/git:commit refactor database "optimize query performance"

Common Usage Patterns

# Let Claude analyze changes and suggest commit message
/git:commit

# Specify type, Claude suggests scope and description
/git:commit feat

# Specify type and scope, Claude suggests description
/git:commit fix api

When to Use This Command

  • Before committing changes to ensure proper message format
  • When you want Claude to analyze your changes and suggest appropriate commit type
  • When you need help writing clear, conventional commit messages
  • When working on a project that requires Conventional Commits
  • As a learning tool to understand Conventional Commits format

Language Requirements

All git-related text MUST be written in English:

Read the full file on GitHub · 324 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 324 lines · 13 tokens per session scan A ac9d95f69fe6

Subscribe to this mod's changes

git:commit is a command published in the GitHub repository geoffjay/claude-plugins (8 stars, last pushed 11mo ago), licensed MIT. It adds 13 tokens to every session and 2,017 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.