RapidSpec: Review

RapidSpec: Review is a command for Claude Code from 9j/RapidSpec. It costs 17 tokens per session (3,532 once invoked), scanned A, original, MIT.

An automated code-review command that compares an implementation with its written specification and checks security, architecture, performance, and code quality.

In plain words
What is it for?
Use it to review a RapidSpec change identified by a change ID. It is intended for checking whether implementation matches the specification.
Why use it?
It helps find gaps between what was planned and what was built, along with maintainability and security issues. It first reads the change proposal, task list, and Git differences.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to review a RapidSpec change identified by a change ID. It is intended for checking whether implementation matches the specification.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/9j/rapidspec/review
View source ↗ 9j/RapidSpec
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/9j/RapidSpec

Made for: Claude Code.

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 RapidSpec: Review

README.md
[![agentmods](https://agentmods.dev/badge/commands/9j/rapidspec/review/github.svg)](https://agentmods.dev/commands/9j/rapidspec/review)
Your own site
<a href="https://agentmods.dev/commands/9j/rapidspec/review"><img src="https://agentmods.dev/badge/commands/9j/rapidspec/review/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 RapidSpec: Review

Your own site · 80×15
<a href="https://agentmods.dev/commands/9j/rapidspec/review"><img src="https://agentmods.dev/badge/commands/9j/rapidspec/review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 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,532 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.00017 $0.03532
Opus 5.5 $0.00007 $0.01413
Sonnet 5.5 $0.00003 $0.00706
Haiku 4.5 $0.00002 $0.00353

Measured 1mo ago against content hash c2e0523d8efb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

RapidSpec: Review 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 1mo 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.

commands/review.md · 502 lines

How it starts

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

Review RapidSpec Implementation

<command_purpose> Perform exhaustive code reviews using multi-agent analysis for deep quality assurance. Reviews validate implementation against spec, ensuring security, performance, and maintainability. </command_purpose>

Introduction

Senior Code Review Architect with expertise in security, performance, architecture, and quality assurance

Review Target

<review_target> #$ARGUMENTS </review_target>

Main Tasks

1. Read Spec and Implementation (ALWAYS FIRST)

<critical_requirement> MUST read spec files BEFORE running agents. No exceptions. Agents need context to provide relevant feedback. </critical_requirement>

Immediate Actions:

  • Read rapidspec/changes/<change-id>/proposal.md - What was planned
  • Read rapidspec/changes/<change-id>/tasks.md - What tasks were defined
  • Run git diff - What was actually implemented
  • Compare implementation against proposed changes

2. Detect Project Type

<project_type_detection>

Check for these indicators:

Next.js Project:

  • package.json with "next" dependency
  • app/ or pages/ directory
  • next.config.js
  • .tsx or .ts files

Supabase Project:

  • supabase/ directory
  • supabase/migrations/ folder
  • .sql migration files
  • Supabase client imports

TypeScript Project:

  • tsconfig.json
  • .ts or .tsx files

Based on detection, include project-specific reviewers in parallel execution.

</project_type_detection>

3. Selective Agent Review

Read the full file on GitHub · 502 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. 1mo ago First seen · 502 lines · 0 tokens per session scan A c2e0523d8efb

Subscribe to this mod's changes

RapidSpec: Review is a command published in the GitHub repository 9j/RapidSpec (5 stars, last pushed 11mo ago), licensed MIT. It adds 17 tokens to every session and 3,532 once invoked, about $0.0001 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-31.