commit

commit is a skill for Claude Code from RockyHong/super-bootstrap. It costs 124 tokens per session (3,850 once invoked), scanned A, original, MIT.

A session-aware Git commit workflow for changes made during the current coding session. Git is the version-control system used to record project changes and history.

In plain words
What is it for?
Use it to inspect the current Git status and diff, stage only the session's files, run the documentation check when needed, and create a commit.
Why use it?
It helps prevent unrelated or earlier uncommitted work from being included in the commit. It also checks documentation-related changes for required updates before committing.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the super-bootstrap plugin — 15 skills, 6 agents shipped together

Good fit Use it to inspect the current Git status and diff, stage only the session's files, run the documentation check when needed, and create a commit.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rockyhong/super-bootstrap/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.

Any agent
npx skills add RockyHong/super-bootstrap --skill commit
Clone the repo
git clone --depth 1 https://github.com/RockyHong/super-bootstrap

Made for: Claude Code.

Or install super-bootstrap, the plugin that ships this one along with the rest of its 15 skills, 6 agents.

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 commit

README.md
[![agentmods](https://agentmods.dev/badge/skills/rockyhong/super-bootstrap/commit/github.svg)](https://agentmods.dev/skills/rockyhong/super-bootstrap/commit)
Your own site
<a href="https://agentmods.dev/skills/rockyhong/super-bootstrap/commit"><img src="https://agentmods.dev/badge/skills/rockyhong/super-bootstrap/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 commit

Your own site · 80×15
<a href="https://agentmods.dev/skills/rockyhong/super-bootstrap/commit"><img src="https://agentmods.dev/badge/skills/rockyhong/super-bootstrap/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,850 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.00124 $0.03850
Opus 5.5 $0.00050 $0.01540
Sonnet 5.5 $0.00025 $0.00770
Haiku 4.5 $0.00012 $0.00385

Measured 6d ago against content hash 84c52338af52, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 6d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (assets/doc-links.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/super-bootstrap/skills/commit/SKILL.md · 63 lines

How it starts

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

Commit — Session-Isolated, Doc-Sync-Gated (gateway-inline)

Commits the changes this Claude session produced, leaving prior uncommitted work alone. The gateway runs the flow inline — it holds the session's diff, file list, and change intent, so the mechanics carry no closure a fresh container would hold. The doc-sync judgment runs warm in that same context: the diff, the change intent, and the session's read docs are the judgment's inputs, and the gateway already holds them all. Dispatch survives as the scope-overload valve — a scan scope past the ceiling moves whole to the cold doc-sync-scan agent rather than being truncated inline.

Execution (gateway-inline)

  1. Session file list — from this conversation, the files this session edited/wrote. This is the session-isolation ground truth; a file you don't remember touching stays off it. Stage by explicit path only.

  2. Gather state — git status, git diff, git diff --staged (a staged path outside the §1 list is another session's — early warning only; §5's readback is the gate), git log --oneline -10 (recent style).

  3. Doc-sync grep-gate — mechanical, no judgment:

    • Deferred mode — check first (autorun-worktree isolated commit): doc-sync belongs to the merge boundary — skip all of §3, go to §5.
    • Frozen-provenance exemption — card lifecycle, history dimension: every changed path inside docs/work/ (card-thread appends, card deletions), plus every changed docs/outward/OUT-*.md (thread appends, entry deletions) → skip the gate, go to the link check below then §5. Both are append-only threads, self-contained; cross-card ID mentions are frozen provenance, not behavior narration — so hits and refs leave every docs/work/ card thread and every docs/outward/OUT-*.md thread out of the scan scope too, whatever term they name or anchor they cite; each folder's standing README.md narrates its thread contract and stays in both lanes. A doc whose leading frontmatter declares dimension: history is frozen provenance the same way — a change to it yields no term (terms skips it), hits and refs leave it out of the scan scope, and the link check below still covers it. Mixed diff → run the gate on the other paths only.
    • Premise lane — product-anchor paths: the diff touches the product anchor (docs/overview.md § Problem / § User, or a dedicated product doc where the repo splits one out) and those sections' post-image carries a premise — body past the skeleton's {…} placeholder line, or, for a dedicated product doc with no shipped skeleton, prose beyond a scaffold stub in its Problem / User-equivalent sections → route the anchor portion through §3b — its closure set is the whole doc surface, so it already covers everything this gate would reach for the anchor; the rest of the diff continues through this gate. Sections still on the placeholder revise no premise → the anchor path stays in this gate like any other changed doc.
    • Terms → grep hits — one script call each: <skill-base>/assets/doc-links.sh terms <changed paths…> prints the gate's terms; scaffolding paths (bench, tests, fixtures, goldens, session ledgers), asset extensions, generic basenames, terms under four characters, and the machine state harness-bootstrap seeds under .claude/ (the runway receipt, templates/) yield none. Nothing printed → the grep lane is empty, skip to the citer lookup. Otherwise <skill-base>/assets/doc-links.sh hits <terms…> | grep -vxF "$(printf '%s\n' <changed files>)" prints the doc-surface files mentioning a term in code shape — a whole word inside backticks, or a path segment — so bare prose stays out. Harness-seeded hub stems (overview, techstack, decisions, the runway receipt, the worktree template) count only as a bare token inside backticks: a path mention of a hub doc is a citation the anchored citer lane already reaches, not a narration. A Godot text asset (.tscn, .tres) runs the inverse: terms keeps its extension (levels/Ending.tscn → Ending.tscn), and hits counts that term only as a path segment (levels/Ending.tscn, Ending.tscn), never as a bare backticked Ending — a scene or resource basename doubles as domain vocabulary. Pass the printed terms to hits verbatim, extension included. Hit files join the scan scope; the agent judges them cold (§4). hits walks the markdown surface — a manifest description field the diff changes is read here directly.
    • Link-hit (reverse citers) — mechanical, beside the grep: for each changed docs/** / root README.md / plugin-README (plugins/*/README.md) path, take its post-image hunk ranges from git diff -U0 -- <path> (@@ -a,b +c,d @@ → +c,d) and run <skill-base>/assets/doc-links.sh anchors <path> <ranges…>. (top) among the slugs means whole-file grain → <skill-base>/assets/doc-links.sh refs <path>; otherwise refs <path>#<slug>… in one call of the same script, which prints the union. Exclude the changed files themselves. Every file returned is a declared citer of the changed truth — collect them as the citer read-set.
    • Self-scope (changed docs) — mechanical, beside the citer lookup: <skill-base>/assets/doc-links.sh self <changed paths…> prints the changed paths that are doc-surface files in their own right — a deleted path, an off-surface path, and frozen provenance (card threads, docs/outward/OUT-*.md, dimension: history) all drop out. Every path printed joins the scan scope as its own scope doc: §4 reads it whole and holds its unchanged sections against the diff's claims, which is where a same-commit contradiction with the file's pre-existing prose sits.
    • Link-target extraction (forward links) — mechanical, beside the reverse lookup: from the diff's added lines, extract every markdown link target (grep -oE '\]\([^)]+\.md[^)]*\)' over + lines), resolve each relative to its linking file. Each target is a doc the new prose claims agreement with — add the target files to the scan scope.
    • Scope ceiling — count before judging: the scan scope is citers ∪ grep hits ∪ link-targets ∪ changed docs. At or under 8 docs → the gateway judges the scope warm-inline (§4). Above 8 → the scope moves whole to the cold doc-sync-scan dispatch (§4's fallback lane) — never truncated to fit inline.
    • Any grep hit OR any citer OR any link-target OR any changed doc → run the doc-sync judgment (§4) over the scan scope — citer read-set + grep-hit files + link-target files + the changed docs themselves.
    • All four lanes empty → the diff narrates nothing; go to §5. The self lane makes this the narrow branch it reads as: a diff that touched no doc-surface file outside the frozen-provenance exemptions — an asset, code, or exempt-thread diff.
    • Link integrity (every non-deferred commit, exemption included): run <skill-base>/assets/doc-links.sh check from the repo root — <skill-base> is the Base directory for this skill: path surfaced at invocation; zero model tokens. Broken links (path or anchor) surface to the user with the commit: fix or explicitly acknowledge before landing; never silently skip. One class is exempt by construction — the consumed-card-link skip: a link from a card thread (docs/work/{BUG,DEBT,GAP}-*.md) to an absent card ID is consumed provenance — the sibling resolved — so check skips it uncounted, while every other target from a card, and any dangling card link from a non-card doc, stays strict.
    • Model-pin integrity (every non-deferred commit): run <skill-base>/assets/doc-links.sh pins from the repo root; zero model tokens. Reads each agent file's frontmatter model: and reports doc-surface lines whose restated tier disagrees with the agent named inside an inline code span — <doc>:<lineno> + claimed tokens + actual tier + source path. Deliberately narrow, so the per-commit gate stays quiet: a line resolving to no agent or to several is skipped, and any one agreeing tier token clears it. Whole-surface by construction: it consults no scan scope, so a doc no enumeration lane reached is covered the same. Frozen provenance is out, as in every other claim lane — a closed-fork row or card thread restates a past tier by design. Stale pins surface to the user with the commit: fix or explicitly acknowledge before landing; never silently skip.

Read the full file on GitHub · 63 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. 6d ago Changed 84c52338af52
  2. 19d ago Changed 0800b5348209
  3. 22d ago Changed e3bcca1a4176
  4. 29d ago Changed 85c5a64e1a33
  5. 1mo ago Changed · +2 lines 472bb7926122
  6. 1mo ago Changed abc06b82879b
  7. 1mo ago Changed · +3 lines · +12 tokens per session 5cf9270d3ce7
  8. 1mo ago First seen · 58 lines · 112 tokens per session scan A abf80fcf2b7d

Subscribe to this mod's changes

commit is a skill published in the GitHub repository RockyHong/super-bootstrap (3 stars, last pushed 6d ago), licensed MIT. It adds 124 tokens to every session and 3,850 once invoked, about $0.0005 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-31.

Related

Other skills, from other repositories

git-commit

Creates git commits following Conventional Commits format with type/scope/subject. Use when user wants to commit changes, create commit, save work, or stage and commit. Enforces project-specific conventions from CLAUDE.md.

fvadicamo/dev-agent-skills · 49 tokens

what-did-i-get-done

Summarize authored commits over a user-specified time period into a concise update.

michael-denyer/pstack-claude · 24 tokens

pr-review

Address feedback left on a GitHub pull request: fetch unresolved review threads, make agreed Elixir/Phoenix code fixes, reply, and resolve. Use for a PR URL/number or reviewer comments. NOT for pre-PR review, findings triage, or CI monitoring.

oliver-kriska/claude-elixir-phoenix · 59 tokens

setup-caliber

Sets up Caliber for automatic AI agent context sync. Installs pre-commit hooks so CLAUDE.md, Cursor rules, and Copilot instructions update automatically on every commit. Use when Caliber hooks are not yet installed or when the user asks about keeping agent configs in sync.

caliber-ai-org/ai-setup · 61 tokens

phx-pr-review

Address feedback left on a GitHub pull request: fetch unresolved review threads, make agreed Elixir/Phoenix code fixes, reply, and resolve. Use for a PR URL/number or reviewer comments. NOT for pre-PR review, findings triage, or CI monitoring.

oliver-kriska/claude-elixir-phoenix · 61 tokens

ln-61-repository-publisher

Commits, pushes and remotely verifies authorized repository changes; does not create releases.

levnikolaevich/claude-code-skills · 24 tokens