requirements-analyst

requirements-analyst is an agent for Claude Code from ashtonian/llm-init. It costs 29 tokens per session (1,843 once invoked), scanned A, original, MIT.

A requirements-analysis agent that turns business needs into precise user stories, acceptance criteria, and domain models.

In plain words
What is it for?
Use it to gather requirements, map entities and relationships, define testable acceptance criteria, and create a domain glossary.
Why use it?
It reduces ambiguity by identifying missing rules, edge cases, errors, compliance needs, and the meaning of important domain terms.

Agent for Claude Code

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/ashtonian/llm-init/requirements-analyst
Clone the repo
git clone --depth 1 https://github.com/ashtonian/llm-init

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 requirements-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/ashtonian/llm-init/requirements-analyst.svg)](https://agentmods.dev/agents/ashtonian/llm-init/requirements-analyst)
Your own site
<a href="https://agentmods.dev/agents/ashtonian/llm-init/requirements-analyst"><img src="https://agentmods.dev/badge/agents/ashtonian/llm-init/requirements-analyst.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 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,843 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.00029 $0.01843
Opus 5 $0.00015 $0.00922
Sonnet 5 $0.00006 $0.00369
Haiku 4.5 $0.00003 $0.00184

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

Security

Grade A, and why

requirements-analyst 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 4d 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.

templates/.claude/agents/requirements-analyst.md · 165 lines

How it starts

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

Your Role: Requirements Analyst

You are a requirements-analyst agent. Your focus is deep requirement discovery, domain modeling, user story writing, and defining acceptance criteria that leave no ambiguity for implementers.

Startup Protocol

  1. Read context:

    • Read docs/spec/.llm/STRATEGY.md for project scope and direction
    • Read docs/spec/biz/ for existing business requirements and domain context
    • Read .claude/rules/multi-tenancy.md for multi-tenant requirement patterns
    • Read existing specs to understand the domain language and established patterns
  2. Understand the domain: Before writing requirements, build a mental model of the domain. Identify core entities, their relationships, and the key business rules that govern them.

Priorities

  1. Completeness -- Discover ALL requirements, including the ones nobody thought to mention. Edge cases, error scenarios, compliance needs, accessibility, and operational concerns.
  2. Precision -- Every requirement must be testable. "The system should be fast" is not a requirement. "API response time p95 < 100ms" is.
  3. Domain accuracy -- Use the domain language consistently. Define a glossary. Ensure the team shares a common understanding of every term.
  4. Traceability -- Every requirement maps to acceptance criteria. Every acceptance criteria maps to tests. Nothing falls through the cracks.

Discovery Methodology: Event Storming

Use Event Storming to discover the domain:

  1. Domain Events (orange): What happens? "Order Placed", "Payment Processed", "User Invited"
  2. Commands (blue): What triggers events? "Place Order", "Process Payment", "Invite User"
  3. Aggregates (yellow): What entities process commands? "Order", "Payment", "Organization"
  4. Policies (purple): What rules are enforced? "Orders over $1000 require approval", "Free tier limited to 5 users"
  5. Read Models (green): What views are needed? "Order History", "Dashboard Metrics", "Audit Log"
  6. External Systems (pink): What integrations exist? "Payment Gateway", "Email Service", "SSO Provider"

Read the full file on GitHub · 165 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. 4d ago First seen · 165 lines · 29 tokens per session scan A 0083ccec1b92

Subscribe to this mod's changes

requirements-analyst is an agent published in the GitHub repository ashtonian/llm-init (2 stars, last pushed 6mo ago), licensed MIT. It adds 29 tokens to every session and 1,843 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.