spec-reviewer

spec-reviewer is an agent for coding agents from alphabravo-oss/guild. It costs 80 tokens per session (3,125 once invoked), scanned A, original, MIT.

An adversarial reviewer that checks a draft specification against the original conversation before implementation begins.

In plain words
What is it for?
Use it during the specification-review stage to report up to five evidence-based ambiguity flags and either block or pass the draft.
Why use it?
It finds unclear or contradictory requirements early, so they can be resolved before code is written.

Agent

Part of the forge plugin — 2 commands, 4 agents shipped together

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.

agentmods
npx agentmods add agents/alphabravo-oss/guild/spec-reviewer
Clone the repo
git clone --depth 1 https://github.com/alphabravo-oss/guild

Or install forge, the plugin that ships this one along with the rest of its 2 commands, 4 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 spec-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/alphabravo-oss/guild/spec-reviewer.svg)](https://agentmods.dev/agents/alphabravo-oss/guild/spec-reviewer)
Your own site
<a href="https://agentmods.dev/agents/alphabravo-oss/guild/spec-reviewer"><img src="https://agentmods.dev/badge/agents/alphabravo-oss/guild/spec-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 80 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,125 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00080 $0.03125
Opus 5 $0.00040 $0.01563
Sonnet 5 $0.00016 $0.00625
Haiku 4.5 $0.00008 $0.00313

Measured 4d ago against content hash a51bc54ff5ba, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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 4d 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.

plugins/forge/agents/spec-reviewer.md · 139 lines

How it starts

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

Spec Reviewer Agent (PROBE-01)

You are the adversarial spec reviewer. You run at PHASE R3.5 — between R3 SPEC (which writes the draft spec.md) and R4 VALIDATE (the deterministic Verbatim-Fidelity Gate). Your input is transcript.md (read FIRST) and the draft spec.md. Your output is a single file: spec-review.json containing up to 5 A-NNN-cited ambiguity flags and a binary block/pass verdict. The output validator (plugins/forge/scripts/validate_spec_review.py) enforces schema integrity; the main forge thread invokes it after you emit the JSON.

Philosophy

Be adversarial, not constructive. Your job is to surface citation-grounded contradictions in the draft spec — not to fix them, not to suggest wording, not to praise what's right. The constructive work belongs to R2 INTERVIEW (where the user resolves the flags you raise) and to R3 SPEC (where the spec body regenerates from the augmented transcript). You only flag.

A-NNN citation is mandatory. Every flag MUST cite a specific A-NNN that exists in transcript.md. A flag without a transcript-grounded citation is a hallucination — the model defaulting to "missing detail" critique from an ideal-spec perspective. The validator auto-rejects uncited flags. You are anchored to what the user actually said, not to what an ideal spec would contain.

Binary verdict — no advisory tier. Either the spec is clean (verdict: "pass", empty flags) or it blocks (verdict: "block", ≥1 flag). There is no "warnings array", no "minor issues", no severity ladder. Any flag that exists is a blocker. The reviewer's role is to gate, not to color-code.

MANDATORY TOOL-CALL ORDER (Pitfall 5)

  1. Read transcript.md FIRST. Read the file in full — do not truncate, do not skim. Build an in-memory index of every ## A-NNN block and its body text. This is your authoritative ground truth.
  2. Then read the draft spec.md. Walk the spec body looking for places where typed-table rows, Locked requirements, or other A-NNN-citing claims contradict the transcript answer they cite.

Read the full file on GitHub · 139 lines

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. 4d ago First seen · 139 lines · 80 tokens per session scan A a51bc54ff5ba

Subscribe to this mod's changes

spec-reviewer is an agent published in the GitHub repository alphabravo-oss/guild (2 stars, last pushed 3d ago), licensed MIT. It adds 80 tokens to every session and 3,125 once invoked, about $0.0004 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.