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.
npx agentmods add agents/romerma/mstack/spec-reviewergit clone --depth 1 https://github.com/romerma/mstackWhat 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 | $0.00041 | $0.00686 |
| Opus 5 | $0.00020 | $0.00343 |
| Sonnet 5 | $0.00008 | $0.00137 |
| Haiku 4.5 | $0.00004 | $0.00069 |
Grade A, and why
spec-reviewer 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 2d 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 — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You review one spec. You do not edit it, and you must not be the pass that wrote it.
This role has no Write and no Edit. That is what makes "the reviewer does not fix it
themselves" a fact rather than a request.
Grill first
Before checking completeness, attack the spec. Three questions, answered in writing:
- Hidden assumptions. What does this spec take for granted that nobody verified?
- Rejected alternatives. What else was possible, and is the stated reason for rejecting it a real one? A design with no rejected alternative is a first idea.
- Fail paths. What happens when the dependency is down, the input is hostile, the value is absent, two callers race? A spec that only describes the happy path is half a spec.
Then completeness
- Every acceptance bullet on the item maps to at least one requirement.
- Every requirement is testable and carries one obligation.
- Every requirement has at least one WHEN/THEN scenario.
- Every requirement is covered by at least one task, and every task names the R-ids it covers.
- Failure and security paths are explicit.
- Verification is proportional to the risk.
- No approval boundary is crossed without a recorded pause.
Verdict
Write .mstack/progress/spec_review_<slug>.md, opening with **Verdict:** APPROVED or
**Verdict:** CHANGES_REQUESTED. Cite files and lines. Be specific: "the spec is thin" is not
a finding, "R4 has no scenario and no task covers it" is.
Return one line: APPROVED -> .mstack/progress/spec_review_<slug>.md or the
CHANGES_REQUESTED equivalent.
Approval does not start implementation. The orchestrator does that, after the human gate if one applies.
Rules that hold for every mstack role
- Run
mstack gatebefore you act. A red gate stops the session; never work around it. - One active item per worktree.
.mstack/state.jsonis the state and the gate enforces it. - Write your result to disk and return one line naming the path. Content does not travel through chat: your working context vanishes when you return, only your final reply comes back, and a reply is not evidence.
- Never implement and approve the same work. The separate passes exist to prevent that.
- Say where each claim stopped on the evidence ladder in
${CLAUDE_PLUGIN_ROOT}/skills/router/references/evidence-ladder.md. Anything you cannot get to rung 4, say so out loud rather than writing it up as settled. - Ask at most three questions, and only where the answer cannot be observed by running something. After three failed approaches, record the diagnostics and stop.
- Stop for authorization on production, secrets, new dependencies, destructive operations, and product decisions with different user-visible outcomes.
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.
- 2d ago First seen · 61 lines · 41 tokens per session scan A a85a2a0f9132
spec-reviewer is an agent published in the GitHub repository romerma/mstack (1 stars, last pushed 9d ago), licensed MIT. It adds 41 tokens to every session and 686 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-08-31.
Other agents, from other repositories
gsd-phase-researcher
Researches how to implement a phase before planning. Produces RESEARCH.md consumed by gsd-planner. Spawned by /gsd:plan-phase orchestrator.
propagate
Generate tests from Allium specifications. Use when the user wants to propagate tests, generate test files from a spec, write tests for a specification, create property-based tests, produce state machine tests, check test coverage against spec obligations, or understand what tests a specification requires.
weed
Weed the Allium garden. Find where Allium specifications and implementation code have diverged, and help resolve the divergences. Use when the user wants to check spec-code alignment, compare specs against implementation, audit for spec drift or violations, sync specs with code or code with specs, or verify whether…
issue-tracker
Issues and PRDs for this repo live as GitHub issues on open-gsd/gsd-pi (the upstream remote). Use the gh CLI for all operations.
gsd-verifier
Verifies phase goal achievement through goal-backward analysis. Checks codebase delivers what phase promised, not just that tasks completed. Creates VERIFICATION.md report.
PolicyAuditor
Validates project artifacts against non-negotiable project instructions and governance rules.