Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add juanmhidalgo/claude-plugins/plugin install feature-devWrote 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/commands/juanmhidalgo/claude-plugins/spec-review)<a href="https://agentmods.dev/commands/juanmhidalgo/claude-plugins/spec-review"><img src="https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/spec-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/commands/juanmhidalgo/claude-plugins/spec-review"><img src="https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/spec-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.00039 | $0.02744 |
| Opus 5.5 | $0.00016 | $0.01098 |
| Sonnet 5.5 | $0.00008 | $0.00549 |
| Haiku 4.5 | $0.00004 | $0.00274 |
Grade A, and why
spec-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 17d 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 — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Context
- Repository: !
git remote get-url origin - Current branch: !
git branch --show-current - Arguments: !
bash "${CLAUDE_PLUGIN_ROOT}/scripts/args.sh" '$ARGUMENTS' - Feature store: each feature lives in
.feature-dev/features/<slug>/, managed by${CLAUDE_PLUGIN_ROOT}/scripts/features.py(pass--root <repo root>). Layout: artifact-locations.md.
Phase 0: Resolve the Spec File
The spec argument is positional[0] from the Arguments JSON in Context (none:
auto-discover). pane is the Herdr flag: true opens a pane, false or
null runs here. Run, once:
${CLAUDE_PLUGIN_ROOT}/scripts/features.py resolve spec <positional[0]> --root <repo root>
(omit the argument when there is none). It takes a SPEC-*.md path (a
PLAN-*.md path resolves to the spec beside it), #N, owner/repo#N or an
issue URL, a feature slug or title, or nothing — then every feature's spec is a
candidate, whatever its status (a spec with status: implemented is still
legitimate to re-review, e.g. for retro learning), and several are narrowed to
the current branch. It prints one JSON line: path, slug, feature,
status, plan, issue, plan_path and matched on success; error plus
reason (exit 2) or candidates (exit 3) on failure.
| Exit | Meaning | Do |
|---|---|---|
0 |
Resolved | Continue with path. When matched is not path, say: "Auto-selected spec: <path> (feature: , status: )" |
2 |
reason: issue_unlinked |
No local feature is linked to issue (repo null means this repo: resolve it per issue-store.md's Argument parsing). Run issue-store.md's Import algorithm against it, start to finish; do not restate Import's steps here. A failed gh preflight, or a failed gh issue view call, stops here and names the issue that could not be read. Then re-run resolve spec with the SPEC-<slug>.md path Import produced (the reference's own step 6) |
2 |
reason: no_candidates |
STOP and ask the user to provide a path or run /feature-dev:spec first |
2 |
any other reason (file, outside_store, no_sibling, unknown_name) |
STOP and refuse it in one line, quoting error, naming .feature-dev/features/<slug>/ as the only place specs live (a root SPEC-*.md, or the layout older than 2.0.0, is outside_store) |
3 |
Ambiguous | AskUserQuestion over candidates (label = feature, description = <filename> — status: <status>), then re-run resolve spec with the chosen path |
4 |
Malformed | STOP and quote error: the spec, or its feature.json, cannot be read as a spec. The validator grades a spec it can read; this is the one it cannot |
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.
- 17d ago Changed · +1 lines 9a9deae7f2f5
- 26d ago Changed · +17 lines c432c3ed152c
- 1mo ago Changed · +1 lines 80de9f923237
- 1mo ago Changed · +16 lines 9f16b2799151
- 1mo ago Changed · +2 lines 35565d96af04
- 2mo ago Changed · +8 lines a04c8dc538f7
- 2mo ago Changed · +25 lines a8ce4175c074
- 2mo ago First seen · 73 lines · 39 tokens per session scan A f184d1a9b41b
spec-review is a command published in the GitHub repository juanmhidalgo/claude-plugins (8 stars, last pushed 18d ago), licensed MIT. It adds 39 tokens to every session and 2,744 once invoked, about $0.0002 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-03.
spec-review compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| spec-reviewjuanmhidalgo/claude-plugins | Command | 8 | 18d ago | MIT | A | 39 | Claude Code |
| checklistgithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 153k | today | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 153k | today | MIT | A | 26 | Claude Code |
| convergegithub/spec-kit | Command | 153k | today | MIT | A | 35 | Claude Code |
| implementgithub/spec-kit | Command | 153k | today | MIT | A | 14 | Claude Code |