stage-5-review

stage-5-review is a skill for Claude Code from cdeust/ai-architect-mcp. It costs 4 tokens per session (2,624 once invoked), scanned A, original, MIT.

A review skill that tests a product requirements document, or PRD—a written description of what a product should do—using seven verification algorithms. It treats unsupported claims as failures and can send the work back for revision.

In plain words
What is it for?
Use it to review a PRD, run its verification checks, assess the scores, and enforce a quality gate.
Why use it?
It catches weak requirements and overconfident claims before implementation, instead of assuming the specification is correct.

Skill for Claude Code

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

Part of the ai-architect plugin — 13 skills, 4 commands, 2 MCP servers, 1 plugin shipped together

Good fit Use it to review a PRD, run its verification checks, assess the scores, and enforce a quality gate.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cdeust/ai-architect-mcp/stage-5-review
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.

Any agent
npx skills add cdeust/ai-architect-mcp --skill stage-5-review
Clone the repo
git clone --depth 1 https://github.com/cdeust/ai-architect-mcp

Made for: Claude Code.

Or install ai-architect, the plugin that ships this one along with the rest of its 13 skills, 4 commands, 2 MCP servers, 1 plugin.

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 stage-5-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/cdeust/ai-architect-mcp/stage-5-review/github.svg)](https://agentmods.dev/skills/cdeust/ai-architect-mcp/stage-5-review)
Your own site
<a href="https://agentmods.dev/skills/cdeust/ai-architect-mcp/stage-5-review"><img src="https://agentmods.dev/badge/skills/cdeust/ai-architect-mcp/stage-5-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 stage-5-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/cdeust/ai-architect-mcp/stage-5-review"><img src="https://agentmods.dev/badge/skills/cdeust/ai-architect-mcp/stage-5-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,624 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.00004 $0.02624
Opus 5 $0.00002 $0.01312
Sonnet 5 $0.00001 $0.00525
Haiku 4.5 $0.00000 $0.00262

Measured 11d ago against content hash 7bf032732991, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

stage-5-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 11d 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.

skills/stage-5-review/SKILL.md · 258 lines

How it starts

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

Allostatic Priming

You are a hostile reviewer. Your job is to find what fails, not to validate what passes. Run the full verification suite and loop back to generation if anything is below threshold. You assume the PRD is wrong until the algorithms prove otherwise. You run 7 verification algorithms — not opinions.

Trigger

USE WHEN: PRD review, verify PRD, run verification, check PRD quality, review specification, 7 algorithms, compound score, evaluator, quality gate, review loop NOT FOR: generate PRD — stage 4, implement — stage 6, health check — stage 0

Survival Question

"Have all 7 verification algorithms run and returned scores above threshold — with no claim marked as overclaiming?"

Before you start

  1. ai_architect_load_context(stage_id=4, finding_id="{findingID}") — load PRD from Stage 4
  2. ai_architect_load_context(stage_id=4, finding_id="{findingID}-interview") — load interview results (advisory warnings if PROVISIONAL)
  3. ai_architect_load_session_state(session_id="{sessionID}") — confirm currentStage = 5, check retryCount

Missing Stage 4 PRD = BLOCK. Missing Stage 4.5 interview result = BLOCK.

Input contract

Field Type Source Required
9 PRD files MD/JSON StageContext[stage-4] YES — BLOCK if missing
Interview result JSON StageContext[stage-4.5] YES — BLOCK if missing
Advisory warnings list Interview result NO — only if PROVISIONAL
retryCount int PipelineState YES

Operations

1. Run Standard Chain-of-Verification (Algorithm 1)

ai_architect_verify_claim(
  content="{prd_requirement_claim_text}",
  claim_type="atomic_fact",
  context="{prd_content}",
  priority=80
)
→ Chain of Verification: systematic verification of each requirement claim
→ Returns per-claim evaluation with score and verdict

2. Run Zero-LLM Graph Verification (Algorithm 3)

ai_architect_verify_graph(
  graph_data={
    "nodes": [
      {"node_id": "{uuid}", "claim_id": "{uuid}", "label": "FR-001", "node_type": "requirement"},
      {"node_id": "{uuid}", "claim_id": "{uuid}", "label": "AC-001", "node_type": "test"},
      {"node_id": "{uuid}", "claim_id": "{uuid}", "label": "STORY-001", "node_type": "specification"}
    ],
    "edges": [
      {"source_id": "{FR_uuid}", "target_id": "{AC_uuid}", "relationship": "tests", "weight": 1.0},
      {"source_id": "{STORY_uuid}", "target_id": "{FR_uuid}", "relationship": "requires", "weight": 1.0}
    ]
  }
)
→ Verify complete acyclic traceability graph
→ Detect orphan IDs, cycles, contradictions
→ Binary pass/fail per structural check

Read the full file on GitHub · 258 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. 11d ago First seen · 258 lines · 4 tokens per session scan A 7bf032732991

Subscribe to this mod's changes

stage-5-review is a skill published in the GitHub repository cdeust/ai-architect-mcp (1 stars, last pushed 4mo ago), licensed MIT. It adds 4 tokens to every session and 2,624 once invoked, about $0.0000 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.