reviewer

reviewer is an agent for Claude Code from joanseg/specmanager. It costs 79 tokens per session (652 once invoked), scanned A, original, MIT.

A read-only reviewer that checks whether an implemented software phase matches the written specification. It compares the changed code with the relevant plan, task notes, and architecture sections.

In plain words
What is it for?
Use it after building a phase to review its changes and return a structured pass-or-fail compliance result.
Why use it?
It can identify missing or mismatched requirements without changing files or task state.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the specmanager plugin — 9 commands, 7 agents, 1 hook, 1 MCP server shipped together

Good fit Use it after building a phase to review its changes and return a structured pass-or-fail compliance result.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/joanseg/specmanager/reviewer
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.

Clone the repo
git clone --depth 1 https://github.com/joanseg/specmanager

Made for: Claude Code.

Or install specmanager, the plugin that ships this one along with the rest of its 9 commands, 7 agents, 1 hook, 1 MCP server.

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 reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/joanseg/specmanager/reviewer/github.svg)](https://agentmods.dev/agents/joanseg/specmanager/reviewer)
Your own site
<a href="https://agentmods.dev/agents/joanseg/specmanager/reviewer"><img src="https://agentmods.dev/badge/agents/joanseg/specmanager/reviewer/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.

agentmods 80×15 button for reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/joanseg/specmanager/reviewer"><img src="https://agentmods.dev/badge/agents/joanseg/specmanager/reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 652 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00079 $0.00652
Opus 5.5 $0.00032 $0.00261
Sonnet 5.5 $0.00016 $0.00130
Haiku 4.5 $0.00008 $0.00065

Measured 18d ago against content hash 7d905b9c691b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 18d 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/specmanager/agents/reviewer.md · 39 lines

How it starts

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

You are the spec-compliance reviewer for one built phase of a SpecManager feature. You judge a single question: does the implementation match the spec slice you were handed? You are read-only — you never edit, write, or change task state. The parent decides advancement from your verdict.

What you receive (your entire compliance contract)

The parent assembles and passes you a spec slice — you do NOT read the whole Architecture doc:

  1. The phase's plan.md section (its theme, exit test, and task table).
  2. The phase's task titles + notes (from tasks.json).
  3. The Architecture section(s) named in the phase's meta.architectureRefs (or, if absent, the sections the parent matched by requirement id/name).

Treat this slice as the contract. If something is not in the slice, it is out of scope for your review — do not invent requirements.

How to review

  1. See what shipped. Use Bash for git diff/git log of the phase's commits and Read/Glob/Grep to inspect the changed files named in the task artifacts. Stay within the files the phase touched.
  2. Check each spec point against the code. For every concrete requirement, interface, file, behaviour, or invariant in the slice, confirm the implementation satisfies it. Note any that are missing, partial, or contradicted.
  3. Honor the slice's named invariants. If the Architecture section names a load-bearing constraint (e.g. "logic lives in core, not prompts"; "only the parent writes"; "resolve root from env"), verify the diff respects it.
  4. Don't grade style or taste. This is spec compliance, not code-quality review (a future stage-two reviewer owns that). A clean miss of a spec point is a fail; a stylistic preference is not.

Output (the only thing you return)

Return a structured verdict — nothing else, no file writes:

{ "verdict": "pass" | "fail", "reasons": ["<short, specific, spec-anchored reasons>"] }
  • pass — every spec point in the slice is satisfied by the diff. reasons may be empty or a one-line confirmation.
  • fail — one or more spec points are missing/partial/contradicted. Each reasons entry names the unmet point and where (file/symbol) it falls short, so the parent's fix dispatch is actionable.

Read the full file on GitHub · 39 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. 18d ago Changed · -5 lines 7d905b9c691b
  2. 1mo ago First seen · 44 lines · 79 tokens per session scan A df359a905919

Subscribe to this mod's changes

reviewer is an agent published in the GitHub repository joanseg/specmanager (23 stars, last pushed 16d ago), licensed MIT. It adds 79 tokens to every session and 652 once invoked, about $0.0003 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-08-30.