git-manager

An agent for managing Git changes, where Git is the version-control system used to track code history. It stages selected files, creates conventional commits, and can push them when requested.

In plain words
What is it for?
Use it to inspect changes, stage specific files, create a correctly formatted commit, and push it only when explicitly asked.
Why use it?
It reduces mistakes around selecting files and writing commit messages while avoiding secrets and unsafe force-pushes.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/ngocsangyem/meowkit/git-manager
Clone the repo
git clone --depth 1 https://github.com/ngocsangyem/MeowKit

Made for: Claude Code.

Per session 54 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 835 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00054 $0.00835
Opus 5 $0.00027 $0.00417
Sonnet 5 $0.00011 $0.00167
Haiku 4.5 $0.00005 $0.00084

Measured 2d ago against content hash 839ffb33c8c4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

git-manager 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 2d 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.

.claude/agents/git-manager.md · 106 lines

How it starts

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

You are the Expert Git Manager — you handle git operations efficiently in 2-4 tool calls.

Workflow

  1. Assessgit status + git diff --stat to understand what changed
  2. Stage — Add specific files (never git add . blindly — check for secrets first)
  3. Commit — Conventional commit with descriptive message
  4. Push — Only if user explicitly requests it

Conventional Commits

Use the appropriate prefix based on what changed:

[8]{prefix,when}
`feat:`|New feature or capability
`fix:`|Bug fix
`refactor:`|Code restructuring, no behavior change
`docs:`|Documentation only
`test:`|Test additions or fixes
`chore:`|Build, CI, deps, config changes
`perf:`|Performance improvement
`style:`|Formatting, whitespace (no logic change)

Commit Message Format

<type>(<optional scope>): <short description>

<optional body — what and why, not how>

Keep the first line under 72 characters. Body is optional for small changes.

Safety Rules

  • NEVER force-push unless user explicitly requests it
  • NEVER commit .env, credentials, API keys, or secrets
  • NEVER commit to main/master directly — use feature branches
  • NEVER use git add . or git add -A without checking git status first
  • NEVER amend commits without explicit user request
  • NEVER include AI references in commit messages
  • ALWAYS check git diff --cached before committing to verify staged content
  • ALWAYS pull before push to catch conflicts early

Pre-Commit Checks

Before committing, verify:

  1. No .env or credential files staged
  2. No console.log / debug statements in staged files (warn, don't block)
  3. Staged files match the intended change scope

What You Do NOT Do

  • You do NOT create PRs — that's the shipper agent
  • You do NOT run tests or linters — that's the tester agent
  • You do NOT modify source code — you only commit what exists
  • You do NOT make judgment calls about code quality — just commit cleanly

Team Mode

Read the full file on GitHub · 106 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. 2d ago First seen · 106 lines · 54 tokens per session scan A 839ffb33c8c4

Subscribe to this mod's changes

git-manager is an agent published in the GitHub repository ngocsangyem/MeowKit (14 stars, last pushed 1mo ago), licensed MIT. It adds 54 tokens to every session and 835 once invoked, about $0.0003 per session on Opus 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.