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/code-review/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/code-review)<a href="https://agentmods.dev/skills/statecrafting/spec-spine/code-review"><img src="https://agentmods.dev/badge/skills/statecrafting/spec-spine/code-review/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/code-review"><img src="https://agentmods.dev/badge/skills/statecrafting/spec-spine/code-review.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.00037 | $0.01611 |
| Opus 5.5 | $0.00015 | $0.00644 |
| Sonnet 5.5 | $0.00007 | $0.00322 |
| Haiku 4.5 | $0.00004 | $0.00161 |
Grade A, and why
code-review 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/code-review: correctness, spec drift, invariants
Reviews the current diff against three questions: does the change have
correctness or edge-case bugs, does it still match its owning spec's
contract, and does it hold the invariants the project's path-scoped rules
name. Output is an evidence-oriented findings list, each line citing
file:line. Nothing authored is modified. The gate's read-only forms
(scripts/statecraft/gate.sh governance, which includes the composed freshness
read) are used so the
review never dirties the tree; a stale verdict is itself a finding.
Step 0: scope the diff
git fetch origin
BASE="$(git symbolic-ref --short refs/remotes/origin/HEAD 2>/dev/null || echo origin/main)" # spec 093: resolved, not assumed
git status --short && git diff --stat && git log --oneline -10
git diff "$BASE"...HEAD --stat # committed delta
git diff HEAD --stat # uncommitted delta
git diff "$BASE"...HEAD --name-only; git diff HEAD --name-only
Note which classes changed: source, specs (specs/**/spec.md), standards
(standards/**), the harness (.claude/**, AGENTS.md, CLAUDE.md,
workflows), scripts, docs, derived shards.
Step 1: the gate stays green
sh scripts/statecraft/gate.sh governance
BASE_SHA="$(git symbolic-ref --short refs/remotes/origin/HEAD 2>/dev/null || echo origin/main)" \
HEAD_SHA=HEAD PR_BODY="${PR_BODY:-}" sh scripts/statecraft/gate.sh couple
then the stack's own build, tests, and lints as AGENTS.md lists them.
- A
couplefailure is the headline finding: cite the file the gate named and the owning spec whose declared edges fail to cover it. - An unclaimed file from
coverageis a finding against the implementing spec'sestablishes. - A lint or freshness failure from governance mode is a corpus finding: cite the diagnostic
verbatim. Stale shards mean the change forgot to run
compileandindexand commit the result; the fix is to do that, not to hide it.
Step 2: spec-contract match
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.
- 1mo ago Changed 5258c432547e
- 1mo ago Changed b1dd4c60e624
- 1mo ago Changed 52ea781a6370
- 1mo ago Changed acfd7133e580
- 1mo ago Changed a5e4fbe457a2
- 2mo ago First seen · 140 lines · 37 tokens per session scan A 15b731dbe74f
code-review is a skill published in the GitHub repository statecrafting/spec-spine (11 stars, last pushed 8d ago), licensed Apache-2.0. It adds 37 tokens to every session and 1,611 once invoked, about $0.0001 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-09-07.
code-review compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| code-reviewstatecrafting/spec-spine | Skill | 11 | 8d ago | Apache-2.0 | A | 37 | Claude Code |
| sync-bridgechromium/chromium | Skill | 25k | yesterday | BSD-3-Clause | A | 109 | Claude Code, Codex |
| sync-model-processorchromium/chromium | Skill | 25k | yesterday | BSD-3-Clause | A | 98 | Claude Code, Codex |
| adversarial-revieweremdash-cms/emdash | Skill | 14k | yesterday | MIT | A | 72 | Claude Code, Codex |
| gsd-ns-reviewopen-gsd/gsd-core | Skill | 11k | yesterday | MIT | A | 16 | Claude Code |
| gitnexushashgraph-online/awesome-codex-plugins | Skill | 1.5k | yesterday | Apache-2.0 | A | 58 | Codex |
| issuejeremylongshore/tons-of-skills-marketplace | Skill | 2.9k | yesterday | MIT | A | 115 | Claude Code |