spec-reviewer

spec-reviewer is an agent for Claude Code from aj604/toolshed. It costs 66 tokens per session (1,846 once invoked), scanned A, original, MIT.

A pull-request reviewer that checks whether a proposed code change fully and correctly addresses the GitHub issue it claims to close.

In plain words
What is it for?
It reads the issue and diff, runs the full test suite, temporarily changes code to see whether required tests fail, and reports blocking or follow-up findings.
Why use it?
It catches missing acceptance criteria, unintended scope changes, and behavior that contradicts the issue before the change is merged.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the workbench plugin — 5 skills, 7 agents, 1 hook shipped together

Good fit It reads the issue and diff, runs the full test suite, temporarily changes code to see whether required tests fail, and reports blocking or follow-up findings.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/aj604/toolshed/spec-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/aj604/toolshed

Made for: Claude Code.

Or install workbench, the plugin that ships this one along with the rest of its 5 skills, 7 agents, 1 hook.

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/aj604/toolshed/spec-reviewer/github.svg)](https://agentmods.dev/agents/aj604/toolshed/spec-reviewer)
Your own site
<a href="https://agentmods.dev/agents/aj604/toolshed/spec-reviewer"><img src="https://agentmods.dev/badge/agents/aj604/toolshed/spec-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 spec-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/aj604/toolshed/spec-reviewer"><img src="https://agentmods.dev/badge/agents/aj604/toolshed/spec-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,846 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.00066 $0.01846
Opus 5.5 $0.00026 $0.00738
Sonnet 5.5 $0.00013 $0.00369
Haiku 4.5 $0.00007 $0.00185

Measured yesterday against content hash 9984260d4df2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 yesterday.

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/workbench/agents/spec-reviewer.md · 177 lines

How it starts

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

You are spec-reviewing one pull request against the issue it claims to close. You are read-only with respect to the repository and git history: never commit, never push, and never create files in the worktree (even if your harness does not enforce the tools: frontmatter). You may edit tracked files in your checkout only to mutate code temporarily, and you must restore every mutation and leave git status --short clean before exiting.

The dispatch message is your lane card. It gives you:

  • REPO, PR, ISSUE, BRANCH, and ROUND
  • --- ISSUE BODY ---, verbatim
  • usually --- VERIFY ---: numbered claims to check yourself, taken from the implementer's report, plus anything the orchestrator is unsure of (a suspected design deviation, possible scope creep, a fence the lane was asked to stay inside)

Get the code detached

The implementer's worktree still holds the branch name, so git checkout <branch> will fail. Check out the tip detached instead:

git fetch origin
git checkout --detach origin/<BRANCH>

Then read the PR yourself with gh pr view <PR> --repo <REPO> and gh pr diff <PR> --repo <REPO>.

Your question, and only this one

Does this diff do what the issue asked for: all of it, correctly, and nothing that contradicts it? That is narrower than "is this good code". It covers:

  • Every acceptance criterion: met, partly met, or missed. Check each one against the actual diff, not the PR description. Descriptions routinely claim more than the diff delivers.
  • Code that contradicts the spec or silently reinterprets it. That includes docs and ADRs the change now contradicts.
  • Scope creep: changes the issue didn't ask for.
  • Bugs that would stop the stated behaviour from working. Trace the real control flow; don't pattern-match.
  • Tests that exercise the behaviour, not just execute it.

Verify rather than trust

Work through the VERIFY list. An articulate justification is not evidence. Build it, run the probe, or read the library source. Where you cannot check something, say so.

Read the full file on GitHub · 177 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. yesterday Changed · +14 lines 9984260d4df2
  2. 14d ago Changed 98f5dfcc7509
  3. 17d ago Changed · +1 lines 8e063896652e
  4. 1mo ago Changed · +7 lines 0a131494a92d
  5. 1mo ago First seen · 155 lines · 66 tokens per session scan A e05e9d26ab1f

Subscribe to this mod's changes

spec-reviewer is an agent published in the GitHub repository aj604/toolshed (3 stars, last pushed 2d ago), licensed MIT. It adds 66 tokens to every session and 1,846 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-10-19.

Related

spec-reviewer compared with agents from other repositories

spec-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spec-revieweraj604/toolshedAgent32d agoMITA66Claude Code
parallel-revieweroliver-kriska/claude-elixir-phoenixAgent5803d agoMITA38Claude Code
requirements-verifieroliver-kriska/claude-elixir-phoenixAgent5803d agoMITA40Claude Code
codex-revieweroliver-kriska/claude-elixir-phoenixAgent5803d agoMITB60Claude Code
project-auditoravelikiy/great_ctoAgent11717d agoMITA41Claude Code
craft-review-checkermichtio/craftcms-claude-skillsAgent93todayApache-2.0A0Claude Code
design-advisoravelikiy/great_ctoAgent11717d agoMITA86Claude Code