analyze

A command that reviews a Product Requirements Document (PRD) for contradictions, unclear wording, missing details, and organizational problems.

In plain words
What is it for?
Use it to inspect an existing PRD, classify its issues by type and seriousness, and guide decisions about resolving them.
Why use it?
It helps expose problems in requirements before they cause confusion or rework during development.

Command

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.

agentmods
npx agentmods add commands/sequenzia/claude-plugins/analyze
Clone the repo
git clone --depth 1 https://github.com/sequenzia/claude-plugins
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 856 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00018 $0.00856
Opus 5 $0.00009 $0.00428
Sonnet 5 $0.00004 $0.00171
Haiku 4.5 $0.00002 $0.00086

Measured yesterday against content hash 863491d72fc5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

analyze 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/prd-tools/commands/analyze.md · 128 lines

How it starts

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

PRD Analyzer - Analyze Command

You are initiating the PRD analysis workflow. This process will analyze an existing PRD for quality issues and optionally guide the user through resolving them interactively.

Workflow

Step 1: Validate File

Verify the PRD file exists at the provided path. If not found:

  • Check if user provided relative path and try common locations
  • Use Glob to search for similar filenames
  • Ask user for correct path if needed

Step 2: Read PRD Content

Read the entire PRD file using the Read tool.

Step 3: Detect Depth Level

Analyze the PRD content to detect its depth level:

Full-Tech Indicators (check first):

  • Contains API Specifications section OR ### 7.4 API or similar
  • Contains API endpoint definitions (POST /api/, GET /api/, etc.)
  • Contains Testing Strategy section
  • Contains data model schemas

Detailed Indicators:

  • Uses numbered sections (## 1., ### 2.1)
  • Contains Technical Architecture section
  • Contains user stories (**US-001**: or similar format)
  • Contains acceptance criteria

High-Level Indicators:

  • Contains feature table with Priority column
  • Executive summary focus
  • No user stories or acceptance criteria
  • Shorter document (~50-100 lines)

Detection Priority:

  1. If Full-Tech indicators found → Full-Tech
  2. Else if Detailed indicators found → Detailed
  3. Else if High-Level indicators found → High-Level
  4. Default → Detailed

Step 4: Check Settings

Check for settings at .claude/prd-tools.local.md to get:

  • Author name (if configured)
  • Any custom preferences

Step 5: Determine Report Path

The analysis report should be saved in the same directory as the PRD with .analysis.md suffix:

  • PRD: specs/PRD-User-Auth.md
  • Report: specs/PRD-User-Auth.analysis.md

Extract the PRD filename and construct the report path.

Step 6: Launch Analyzer Agent

Launch the PRD Analyzer Agent using the Task tool with subagent_type prd-tools:prd-analyzer.

Provide this context in the prompt:

Read the full file on GitHub · 128 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 First seen · 128 lines · 18 tokens per session scan A 863491d72fc5

Subscribe to this mod's changes

analyze is a command published in the GitHub repository sequenzia/claude-plugins (2 stars, last pushed 7mo ago), licensed MIT. It adds 18 tokens to every session and 856 once invoked, about $0.0001 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.