commit

Instructions for preparing a Git commit, which is a saved set of related code changes. They define how to inspect changes, include only work for the current task, and check the final patch for secrets.

In plain words
What is it for?
Use them when reviewing staged and unstaged files, selecting changes for a commit, auditing the final diff, and keeping normal Git checks enabled.
Why use it?
They help prevent unrelated edits, credentials, or private keys from entering a commit. They also make the submitted change easier to review and understand.

Skill for Claude CodeCodex

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 skills/mrclrchtr/supi/commit
Any agent
npx skills add mrclrchtr/supi --skill commit
Clone the repo
git clone --depth 1 https://github.com/mrclrchtr/supi

Made for: Claude Code, Codex.

Per session 7 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 593 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.00007 $0.00593
Opus 5 $0.00003 $0.00296
Sonnet 5 $0.00001 $0.00119
Haiku 4.5 $0.00001 $0.00059

Measured yesterday against content hash 151554dc2fac, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 yesterday.

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.

skills/engineering/commit/SKILL.md · 45 lines

How it starts

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

Commit candidate

A commit candidate is the exact patch that will enter the commit. A coherent change has one task or issue as its reason for existing.

Guardrails

  • Inspect candidate changes for credentials, private keys, tokens, and local secret files. STOP and ask what to do without repeating the secret value.
  • Preserve changes outside the current task. Ask before changing an existing staged change that is outside the task boundary.
  • Keep normal Git hooks enabled.

Process

  1. Establish the Git state. Inspect the branch, active Git operation, staged and unstaged changes, untracked files, and the task or issue boundary. Ask when required facts are unclear.

    Done when: the request mode, task boundary, and Git state are understood.

  2. Build the commit candidate. Stage only changes that directly belong to the task or issue. Preserve unrelated staged changes. If the task forms one coherent change, prepare one candidate. Ask when grouping is unclear. If there is no suitable candidate, report it and stop.

    Done when: the staged patch contains the complete intended change and no unrelated change.

  3. Audit the candidate. Inspect the full staged diff, check for possible secrets, and run git diff --cached --check. Let normal Git hooks run when creating the commit. Fix and retry only an obvious mechanical failure inside the task; otherwise stop and report the failure.

    Done when: the diff audit passes and all hook results are known.

  4. Write the message. Match recent commit history first. Honor explicit message requirements. Use a concise subject with the repository's normal type, scope, mood, length, and punctuation. Add a body only when it explains why, a trade-off, a constraint, a side effect, or a required follow-up. Preserve required issue references and trailers; do not invent them.

  5. Create the requested commit. For a normal commit, pass the complete message through a quoted heredoc:

    git commit -F - <<'COMMIT_MSG'
    type(scope): concise summary
    COMMIT_MSG
    

Read the full file on GitHub · 45 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 45 lines · 7 tokens per session scan A 151554dc2fac

Subscribe to this mod's changes

commit is a skill published in the GitHub repository mrclrchtr/supi (79 stars, last pushed yesterday), licensed MIT. It adds 7 tokens to every session and 593 once invoked, about $0.0000 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.

Related

Other skills, from other repositories

aider-delegate

Delegate a coding task to Aider (aider) as a background implementer, then review its diff and land it yourself. Use this whenever the user wants to hand implementation work to Aider - phrasings like "have Aider do X", "delegate this to aider", "run it through Aider", or "use Aider to implement/fix/refactor" - or wants…

amElnagdy/delegate-skills · 190 tokens

codex-delegate

Delegate a coding task to the OpenAI Codex CLI as a background implementer, then review its diff and land it yourself. Use this whenever the user wants to hand implementation work to Codex — phrasings like "have Codex do X", "delegate this to Codex", "run it through Codex", or "use Codex to implement/fix/refactor" …

amElnagdy/delegate-skills · 155 tokens

commandcode-delegate

Delegate a coding task to the Command Code CLI (cmd) as a background implementer, then review its diff and land it yourself. Use this whenever the user wants to hand implementation work to Command Code — phrasings like "have Command Code do X", "delegate this to commandcode", "run it through cmd", or "use Command Code…

amElnagdy/delegate-skills · 123 tokens

delegate-setup

Configure delegation fleet lanes: which implementer CLI handles which kind of work, with optional model and effort (or variant) dials. Discovers installed CLIs, proposes a lane map for user approval, and writes global or project config only after explicit yes. Use when the user asks to set up, configure, or…

amElnagdy/delegate-skills · 100 tokens

grok-delegate

Delegate a coding task to the Grok Build CLI as a background implementer, then review its diff and land it yourself. Use this whenever the user wants to hand implementation work to Grok — phrasings like "have Grok do X", "delegate this to Grok", "run it through Grok", "use Grok Build to implement/fix/refactor", or…

amElnagdy/delegate-skills · 145 tokens

opencode-delegate

Delegate a coding task to the OpenCode CLI as a background implementer, then review its diff and land it yourself. Use this whenever the user wants to hand implementation work to OpenCode — phrasings like "have OpenCode do X", "delegate this to OpenCode", "run it through OpenCode", or "use OpenCode to…

amElnagdy/delegate-skills · 136 tokens