Borrowing it
Nothing to install: this file belongs to statecrafting/spec-spine. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/statecrafting/spec-spine/main/.claude/skills/commit/SKILL.mdgit clone --depth 1 https://github.com/statecrafting/spec-spineWrote 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.
[](https://agentmods.dev/skills/statecrafting/spec-spine/commit)<a href="https://agentmods.dev/skills/statecrafting/spec-spine/commit"><img src="https://agentmods.dev/badge/skills/statecrafting/spec-spine/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.
<a href="https://agentmods.dev/skills/statecrafting/spec-spine/commit"><img src="https://agentmods.dev/badge/skills/statecrafting/spec-spine/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00038 | $0.01084 |
| Opus 5 | $0.00019 | $0.00542 |
| Sonnet 5 | $0.00008 | $0.00217 |
| Haiku 4.5 | $0.00004 | $0.00108 |
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.
How it starts
The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/commit
Create a git commit following these steps. Text that lands in git is public under the author's name: the banned list at the end is not optional.
0. Preflight
git branch --show-currentis not the default branch. Work lands on a feature branch, named after the spec id when it implements one; the push hook refuses the default branch anyway, but do not get there.- The gate has run green on this tree since the last edit (the command
list in
AGENTS.md"Working the backlog", "Run the gate before every commit"). If it has not, run it now; a commit on a red gate is a commit that will be amended. git diff --stat -- .derived/: shards the gate regenerated belong in this commit with the change they describe.build-meta.jsonis gitignored, sogit add .derived/is safe. Never stage the tool-state directoryspec-spine.toml [layout] state_dirnames.
1. Survey the changes
git status
git diff --cached
git diff
git log --oneline -5
Identify what is staged versus unstaged, the nature of each change (feature, fix, refactor, docs, test, chore, ci), and the user-visible impact. Match the scoping visible in recent history.
2. Draft a conventional-commit message
Format: type(scope): subject
Type (required): feat, fix, refactor, docs, test, chore,
ci.
Scope: the three-digit ordinal of the spec the change implements or
amends: feat(017): ..., fix(011): ..., docs(024): .... Several
specs: feat(045,046): .... A shard-only regeneration uses
chore(derived): ...; a release bump chore(release): ...; a change
with no owning spec uses an area name (ci(workflows): ...).
Subject line:
- 72 characters maximum (hard limit; count them).
- Lead with the impact or problem solved, not the technique used.
- No trailing period. No emojis. No em dash.
Good versus bad:
- BAD:
refactor(017): extract helper for parent sorting - GOOD:
feat(017): ledger entries reject unsorted or duplicate parents - BAD:
fix(005): update validation - GOOD:
fix(005): the coupling gate names the owning spec on C-001
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.
- yesterday First seen · 120 lines · 38 tokens per session scan A f8424d82ba47
commit is a skill published in the GitHub repository statecrafting/spec-spine (10 stars, last pushed today), licensed Apache-2.0. It adds 38 tokens to every session and 1,084 once invoked, about $0.0002 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-09-07.
Other skills, from other repositories
create-pr
Creates a GitHub PR with a Linear-ticket-prefixed title and a decision-led, narrative description for prisma-next. Use when the user wants to create a pull request, open a PR, or submit changes for review.
git-commit
Generate well-formatted git commit messages following conventional commit standards.
mcore-split-pr
Split a PR into multiple PRs to reduce the number of required CODEOWNERS reviewer groups.
contributing
How to contribute to evlog, covering commit and PR conventions, changesets, the Definition of Done, testing rules, and the authored skills that walk through building a new adapter, enricher, framework integration, or map rule. Load this for any question about contributing, opening a PR, or adding something to the…
strict-tdd
Strict RED->GREEN->REFACTOR test-driven development with enforcement. Never write production code before a failing test. Atomic commits per TDD cycle.
git-commit
Creates git commits following Conventional Commits format with type/scope/subject and detailed markdown body. Use when user wants to commit changes, create commit, save work, or stage and commit. Enforces project-specific conventions from CLAUDE.md. Each change type gets its own markdown heading (# emoji + type), with…