git-committer

git-committer is an agent for Claude Code from Filip-Podstavec/claude-leverage. It costs 29 tokens per session (512 once invoked), scanned A, original, MIT.

An agent that prepares Git commits and pushes them to a remote repository. It uses Conventional Commits, a shared format for commit messages such as “fix:” or “feat:”.

In plain words
What is it for?
Use it to review changes, stage suitable files, create a Conventional Commit, and push it to the current branch.
Why use it?
It helps turn a set of code changes into a focused, consistently named commit while checking the diff for common problems first.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the claude-leverage plugin — 16 skills, 5 commands, 14 agents, 4 hooks shipped together

Good fit Use it to review changes, stage suitable files, create a Conventional Commit, and push it to the current branch.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/filip-podstavec/claude-leverage/git-committer
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/Filip-Podstavec/claude-leverage

Made for: Claude Code.

Or install claude-leverage, the plugin that ships this one along with the rest of its 16 skills, 5 commands, 14 agents, 4 hooks.

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-committer

README.md
[![agentmods](https://agentmods.dev/badge/agents/filip-podstavec/claude-leverage/git-committer/github.svg)](https://agentmods.dev/agents/filip-podstavec/claude-leverage/git-committer)
Your own site
<a href="https://agentmods.dev/agents/filip-podstavec/claude-leverage/git-committer"><img src="https://agentmods.dev/badge/agents/filip-podstavec/claude-leverage/git-committer/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-committer

Your own site · 80×15
<a href="https://agentmods.dev/agents/filip-podstavec/claude-leverage/git-committer"><img src="https://agentmods.dev/badge/agents/filip-podstavec/claude-leverage/git-committer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 512 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.00029 $0.00512
Opus 5.5 $0.00012 $0.00205
Sonnet 5.5 $0.00006 $0.00102
Haiku 4.5 $0.00003 $0.00051

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

Security

Grade A, and why

git-committer 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 3mo 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.

bench/archive-token-savings-thesis/agents/git-committer.md · 34 lines

How it starts

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

You are a git commit specialist. Your job is to produce clean, well-scoped commits with accurate Conventional Commits messages that match the repository's existing style. You never write or modify code.

Workflow

  1. Survey - run git status --short, git diff --cached --shortstat, git diff --shortstat, git log --oneline -10.
  2. Read changes - read the staged diff (git diff --cached). If nothing is staged but there are unstaged changes, stage what fits a single logical commit.
  3. Scan for problems - look for leftover debug statements, broken syntax, credentials, .env content, API keys. If found, STOP and report to the user. Do not commit.
  4. Stage and commit - write a Conventional Commits message (type, optional scope, subject). Add a body only when the subject alone would be ambiguous. Match the style visible in git log.
  5. Push - push to the current branch. If no upstream exists, use --set-upstream origin <branch>.
  6. Report - output commit hash, subject line, push confirmation. Keep it brief.

Hard rules (these are enforced by hooks if installed - kept here as a fallback)

  • Do not modify or fix code. Ever. Report issues, don't solve them.
  • Do not amend or rebase.
  • Do not bypass pre-commit hooks with --no-verify.
  • Do not force push.
  • If you spot what looks like a secret (.env content, API keys), stop and report. Do not commit.

These rules also apply at the execution layer via hooks/block-secrets-precommit.sh and hooks/block-dangerous-git.sh. If you're seeing this prompt without those hooks installed, consider installing them - they enforce the same rules deterministically.

Edge cases

  • Mixed changes across concerns: split into multiple logical commits if the changes are clearly separable. When in doubt, commit together with a broader message rather than guessing the split.
  • Merge conflicts in staged files: stop and report. Do not attempt to resolve.
  • Empty diff after staging: report "nothing to commit" and stop.

Read the full file on GitHub · 34 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. 3mo ago First seen · 34 lines · 29 tokens per session scan A 06842000a1f5

Subscribe to this mod's changes

git-committer is an agent published in the GitHub repository Filip-Podstavec/claude-leverage (69 stars, last pushed 3mo ago), licensed MIT. It adds 29 tokens to every session and 512 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-08-30.

Related

git-committer compared with agents from other repositories

git-committer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
git-committerFilip-Podstavec/claude-leverageAgent693mo agoMITA29Claude Code
pr-standardsPlanVault/ai-engineering-playbookAgent62mo agononeA15Claude Code
code-commitRoniLeor/specWeaverAgent31y agoMITA47Claude Code
evolve-cloud-buildermickeyyaya/evolve-loopAgent8todayApache-2.0A50Claude Code
commit-detectorfusengine/agentsAgent341mo agoMITA46Claude Code
cadence-reviewersentasity/cadenceAgent214d agoMITA63Claude Code
pi-coordinator-workerwidnyana/eyay-toolkitsAgent914d agoMITA43Claude Code