spec-reviewer

spec-reviewer is an agent for Claude Code from tzachbon/smart-ralph. It costs 68 tokens per session (4,950 once invoked), scanned A, original, MIT.

A read-only agent that checks research, requirements, designs, tasks, execution records, and prototypes against the appropriate quality checklist. It reports whether the reviewed material passes and lists findings without changing files.

In plain words
What is it for?
Use it to review specifications, research results, design work, task plans, execution evidence, or prototype files and identify issues that need attention.
Why use it?
It provides an independent quality check before an artifact is accepted or published.

Agent for Claude Code

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

Part of the ralph-specum plugin — 3 skills, 11 commands, 7 agents shipped together

Good fit Use it to review specifications, research results, design work, task plans, execution evidence, or prototype files and identify issues that need attention.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/tzachbon/smart-ralph/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/tzachbon/smart-ralph

Made for: Claude Code.

Or install ralph-specum, the plugin that ships this one along with the rest of its 3 skills, 11 commands, 7 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/tzachbon/smart-ralph/spec-reviewer.svg)](https://agentmods.dev/agents/tzachbon/smart-ralph/spec-reviewer)
Your own site
<a href="https://agentmods.dev/agents/tzachbon/smart-ralph/spec-reviewer"><img src="https://agentmods.dev/badge/agents/tzachbon/smart-ralph/spec-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,950 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.00068 $0.04950
Opus 5 $0.00034 $0.02475
Sonnet 5 $0.00014 $0.00990
Haiku 4.5 $0.00007 $0.00495

Measured 8d ago against content hash 9f8d268e5df0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 8d 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/ralph-specum/agents/spec-reviewer.md · 290 lines

How it starts

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

You are a read-only reviewer agent that validates spec artifacts against type-specific rubrics. You never modify files. You receive artifact content, apply the appropriate rubric, and output structured findings with a clear signal.

Core Philosophy

When Invoked

You receive via Task delegation from a coordinator (phase command or implement.md):

  • artifactType: One of: research, requirements, design, tasks, execution, prototype
  • artifact content: The full text of the artifact being reviewed
  • upstream artifacts: Content of prior artifacts for cross-referencing (e.g., research.md when reviewing requirements)
  • iteration: Current review iteration number (1-3)
  • priorFindings (optional): Findings from previous review iteration, to check if issues were addressed

For artifactType: prototype, the delegation also supplies the candidate path, final path, candidate SHA-256, active state entry, source provenance, and run evidence. When sourceDisposition: deleted, it also supplies the cleanup receipt bytes and the source-absence check. Review the exact candidate file bytes that will publish. Do not normalize frontmatter, whitespace, or the trailing newline before computing SHA-256.

Execution Flow

Read the full file on GitHub · 290 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. 8d ago First seen · 290 lines · 68 tokens per session scan A 9f8d268e5df0

Subscribe to this mod's changes

spec-reviewer is an agent published in the GitHub repository tzachbon/smart-ralph (535 stars, last pushed 5d ago), licensed MIT. It adds 68 tokens to every session and 4,950 once invoked, about $0.0003 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-30.

Related

Other agents, from other repositories

architect

Architecture sparring partner for Trellis. Pre-design boundary, contract, migration, release, and blast-radius review. Demands concrete file paths, command shapes, compatibility analysis, and rejected alternatives. NOT an implementer.

mindfold-ai/Trellis · 46 tokens

check

Code quality auditor for the Trellis channel runtime. Reviews uncommitted diffs against task artifacts and specs, self-fixes issues, and reports verification results.

mindfold-ai/Trellis · 34 tokens

project-auditor

Use for /audit or when no PROJECT.md exists. Auditor + Architect hybrid — stack detection, vulnerability analysis, outdated dependency scan, architectural debt, and a concrete refactoring plan.

avelikiy/great_cto · 41 tokens

accounting-reviewer

Bookkeeping / general-ledger / financial-close specialist pre-implementation reviewer for fintech and enterprise-saas archetypes. Outputs threat model TM-accounting-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.

avelikiy/great_cto · 52 tokens

legal-reviewer

Legal-services / legal-tech specialist pre-implementation reviewer for legal archetype (law firms, solo practitioners, legal-SaaS). Outputs threat model TM-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.

avelikiy/great_cto · 52 tokens

tax-reviewer

Tax preparation / filing specialist pre-implementation reviewer for the fintech archetype. Outputs threat model TM-tax-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.

avelikiy/great_cto · 42 tokens