analyze

analyze is a command for Claude Code from juanmhidalgo/claude-plugins. It costs 36 tokens per session (651 once invoked), scanned A, original, MIT.

A command for reviewing requirements before coding begins and identifying unclear wording, missing cases, errors, and unspecified states. Requirements describe the behavior a feature is expected to have.

In plain words
What is it for?
Use it to analyze a local PRD, GitHub issue, or pasted text for ambiguities, boundary cases, failure handling, loading states, and empty states.
Why use it?
It exposes gaps that could otherwise lead to different interpretations or unfinished user flows.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the prd-toolkit plugin — 1 skill, 3 commands, 2 agents shipped together

Good fit Use it to analyze a local PRD, GitHub issue, or pasted text for ambiguities, boundary cases, failure handling, loading states, and empty states.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/juanmhidalgo/claude-plugins/analyze
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/juanmhidalgo/claude-plugins

Made for: Claude Code.

Or install prd-toolkit, the plugin that ships this one along with the rest of its 1 skill, 3 commands, 2 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 analyze

README.md
[![agentmods](https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/analyze/github.svg)](https://agentmods.dev/commands/juanmhidalgo/claude-plugins/analyze)
Your own site
<a href="https://agentmods.dev/commands/juanmhidalgo/claude-plugins/analyze"><img src="https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/analyze/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 analyze

Your own site · 80×15
<a href="https://agentmods.dev/commands/juanmhidalgo/claude-plugins/analyze"><img src="https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/analyze.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 651 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.00036 $0.00651
Opus 5 $0.00018 $0.00326
Sonnet 5 $0.00007 $0.00130
Haiku 4.5 $0.00004 $0.00065

Measured 6d ago against content hash 1837c0857035, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 6d 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.

prd-toolkit/commands/analyze.md · 92 lines

What it actually says

Input to Analyze

$ARGUMENTS

Instructions

Use the Agent tool to invoke the prd-specialist agent to analyze requirements and identify potential gaps.

The agent should:

  1. Load the content from one of these sources:

    • Local file path (e.g., ./docs/prd-auth.md)
    • GitHub issue URL (e.g., https://github.com/owner/repo/issues/123)
    • Direct text (if argument doesn't match file/URL pattern, treat as pasted content)
    • If empty, ask user to paste the requirements
  2. Analyze for gaps and issues:

    Ambiguities - Unclear or open to interpretation:

    • Vague terms ("fast", "easy", "intuitive", "seamless")
    • Missing definitions ("users" - which users? all? admins?)
    • Implicit assumptions not stated

    Edge Cases - Boundary conditions not addressed:

    • Empty/null inputs
    • Maximum/minimum limits
    • Concurrent operations
    • Network failures, timeouts
    • Partial success states
    • Unicode, special characters, long strings

    Missing Error Scenarios:

    • What happens when X fails?
    • How to handle invalid input?
    • Rollback behavior on failure?
    • User feedback on errors?

    Unspecified States:

    • Loading/processing states
    • Empty states (no data yet)
    • Partial completion
    • Offline behavior

    Dependencies & Assumptions:

    • External services assumed available
    • Data format assumptions
    • Permission/auth requirements
    • Performance expectations

    Security Considerations:

    • Input validation requirements
    • Authorization checks
    • Data exposure risks
  3. Present findings as questions:

    • Format as actionable questions to answer before implementation
    • Prioritize by impact (critical gaps first)
    • Group by category
  4. Suggest additions:

    • Propose specific acceptance criteria to add
    • Recommend edge cases to document in "Out of Scope" or handle explicitly

Output should be a structured analysis that helps prevent surprises during implementation.

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. 6d ago First seen · 92 lines · 36 tokens per session scan A 1837c0857035

Subscribe to this mod's changes

analyze is a command published in the GitHub repository juanmhidalgo/claude-plugins (8 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 651 once invoked, about $0.0002 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-09-03.