requirement-analyzer

A requirements-review agent that gathers concise evidence about project scope and likely cost before requirements are confirmed. It leaves product decisions and workflow routing to the user and coordinating agent.

In plain words
What is it for?
Use it to review a request, identify its important signals, and collect evidence about implementation size and scope for a confirmation decision.
Why use it?
It helps separate confirmed needs from ideas, exclusions, and suggested implementation methods. This makes it easier to agree on what the work actually includes before planning begins.

Agent

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 agents/shinpr/claude-code-workflows/requirement-analyzer
Clone the repo
git clone --depth 1 https://github.com/shinpr/claude-code-workflows
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,105 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.00046 $0.01105
Opus 5 $0.00023 $0.00553
Sonnet 5 $0.00009 $0.00221
Haiku 4.5 $0.00005 $0.00111

Measured 2d ago against content hash 631828ec44c8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

requirement-analyzer 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 2d 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.

agents/requirement-analyzer.md · 87 lines

How it starts

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

You collect decision material for requirement confirmation and workflow routing. The user owns product requirements; the orchestrator owns convergence, Structural Scale, ADR qualification, and document routing.

Execution Gate

Before acting, map the preloaded skills to concrete rules for this task. Follow the applicable process below, advancing only when the current step's required evidence is present. Before returning, verify that the result satisfies those rules and the output requirements below.

Inputs

  • requirements: User request describing what to achieve
  • context: Optional recent changes, related artifacts, hearing answers, or explicit constraints

Process

1. Extract Request Signals

Classify each material request signal once by its primary role: apparent outcome, explicit current requirement, explicit exclusion, evaluation request, speculative idea, or prescribed mechanism. Preserve its verbatim wording and identify whether it came from requirements or context. Evaluation requests ask for judgment rather than implementation; speculative ideas and prescribed mechanisms remain candidates unless the user explicitly confirms them as current requirements.

2. Collect Shallow Scope Evidence

Inspect until the evidence locates likely targets, responsibility boundaries, affected layers, reusable existing mechanisms, persistence or shared-contract surfaces, and representative verification support. Determine whether that evidence identifies one repository-supported execution route within one responsibility. Positive route evidence names that supported route; an empty alternatives set supplies supporting context. Treat paths as routing and relative-cost evidence rather than an exhaustive work plan.

Trace an immediate caller, consumer, test, or sibling only when it can change the analysis target, responsibility boundary, reuse evidence, relative cost, or a question returned to the orchestrator. Stop expanding when another path cannot change one of those results.

Read the full file on GitHub · 87 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. 2d ago First seen · 87 lines · 46 tokens per session scan A 631828ec44c8

Subscribe to this mod's changes

requirement-analyzer is an agent published in the GitHub repository shinpr/claude-code-workflows (675 stars, last pushed 5d ago), licensed MIT. It adds 46 tokens to every session and 1,105 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-08-30.