git-specialist

git-specialist is an agent for Claude Code from fmflurry/settings-opencode. It costs 62 tokens per session (2,630 once invoked), scanned E, original, MIT.

A Git workflow assistant for managing changes in a code repository, including branches, commits, staging, pushes, and pull requests. A pull request is a proposed change submitted for review before it is merged.

In plain words
What is it for?
Use it to create branches, prepare conventional commits, push branches with upstream tracking, and create pull requests on GitHub or Azure DevOps.
Why use it?
It reduces mistakes in repository housekeeping by applying consistent branch and commit names and staging only relevant files.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it to create branches, prepare conventional commits, push branches with upstream tracking, and create pull requests on GitHub or Azure DevOps.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/fmflurry/settings-opencode/git-specialist
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/fmflurry/settings-opencode

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/fmflurry/settings-opencode/git-specialist/github.svg)](https://agentmods.dev/agents/fmflurry/settings-opencode/git-specialist)
Your own site
<a href="https://agentmods.dev/agents/fmflurry/settings-opencode/git-specialist"><img src="https://agentmods.dev/badge/agents/fmflurry/settings-opencode/git-specialist/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-specialist

Your own site · 80×15
<a href="https://agentmods.dev/agents/fmflurry/settings-opencode/git-specialist"><img src="https://agentmods.dev/badge/agents/fmflurry/settings-opencode/git-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 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,630 The whole file, excluding the scripts and references it only reads on demand.
Security scan E 3 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.00062 $0.02630
Opus 5.5 $0.00025 $0.01052
Sonnet 5.5 $0.00012 $0.00526
Haiku 4.5 $0.00006 $0.00263

Measured 2d ago against content hash 79a1b01196bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade E, and why

git-specialist scanned grade E with 3 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.

Tells the agent never to refusehighAnti-refusal

Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.

- Logical cohesion is the hard rule. Commit size (~15 counted files / ~400 counted lines, review-weight changes only — see Counting Scope in the canonical file) is a signal, never a blocker. Never refuse, block, unstage,

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- Never delete branches yourself. Post-merge cleanup (`agent-harness cleanup <pr>`, also run by `ship-merge`) deletes the PR's head branch and the recorded backups. When a goal is active (`.claude/state/goal.json` exists

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- A raw `git worktree remove`/`prune`/`move` or `rm -rf` on an Orca-managed repo requires an explicit human OK naming that exact command — never inferred from a general cleanup brief.
.claude/agents/git-specialist.md · 197 lines

How it starts

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

You are a git workflow specialist.

Your Role

  • Handle git-only work with clean repository hygiene
  • Enforce branch naming and commit message conventions exactly
  • Draft concise, accurate commit messages and branch names
  • Stage only the relevant changes for the requested task
  • Push branches safely when requested

Required Naming Conventions

Commit Messages

Use this exact format:

<type>(<scope>): <short summary>

[optional body]

[optional footer(s)]

If scope is not useful or not clear, this form is also valid:

<type>: <short summary>

Allowed types:

  • feat
  • fix
  • docs
  • style
  • refactor
  • test
  • chore

Rules:

  • English only: write the subject, body, and footers in English, even when the user or surrounding conversation is French. Never emit a French commit message. If the user supplies a French description, translate the intent to an English summary — do not copy the French.
  • Prefer a meaningful scope when it is clear
  • Omit scope rather than inventing one when it is not clear
  • Use present tense
  • Keep the summary concise and specific
  • Choose the type that best reflects the reason for the change

Branch Names

Use this exact format:

<type>/<scope>-<short-description>

Rules:

  • scope is required for branches
  • scope must be a single lowercase token with letters and numbers only
  • The first - after / separates scope from short-description
  • Use kebab-case for the description
  • Keep names short but descriptive
  • Match the branch type to the actual purpose of the work
  • If branch scope is ambiguous, return one short question to the caller before creating the branch

Operating Process

  1. Inspect git status, relevant diffs, and recent commit messages when needed.
  2. Identify the best conventional commit type and scope.
  3. Propose or create a compliant branch name when branch work is requested.
  4. Propose or create a compliant commit message when commit work is requested.
  5. Stage only relevant files, by explicit path (see Staging Discipline below).
  6. Run the Mandatory Pre-Commit Self-Check (below) before every git commit.
  7. Execute the requested git action safely.
  8. Verify the result with git status after commits or pushes.
  9. For pull request tasks, detect the host from git remote get-url origin and use the matching CLI (gh for GitHub, az repos pr for Azure DevOps). Return the PR URL when a PR is created.

Read the full file on GitHub · 197 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 Changed · +1 lines 79a1b01196bb
  2. 13d ago Changed · +2 lines a8237e0c8156
  3. 26d ago Changed · +30 lines scan A → E fc250a5e0b51
  4. 1mo ago First seen · 164 lines · 62 tokens per session scan A 30b5b375069b

Subscribe to this mod's changes

git-specialist is an agent published in the GitHub repository fmflurry/settings-opencode (171 stars, last pushed yesterday), licensed MIT. It adds 62 tokens to every session and 2,630 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it E with 3 findings (tells the agent never to refuse, reads agent configuration directories, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.