requirements-analyst

requirements-analyst is an agent for coding agents from MCKRUZ/claude-code-sdlc. It costs 19 tokens per session (529 once invoked), scanned A, original, MIT.

An agent that interviews people about a software problem and turns their answers into structured requirements and acceptance criteria. Acceptance criteria are specific conditions used to decide whether the work is correct.

In plain words
What is it for?
Use it during discovery and planning to identify stakeholders, define success and constraints, break work into functional and non-functional requirements, and write Given/When/Then checks.
Why use it?
It reduces unclear scope, hidden assumptions, conflicting needs, and missing checks before development starts. It also helps prioritise requirements and flag gaps.

Agent

Part of the claude-code-sdlc plugin — 9 skills, 28 commands, 20 agents shipped together

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/mckruz/claude-code-sdlc/requirements-analyst
Clone the repo
git clone --depth 1 https://github.com/MCKRUZ/claude-code-sdlc

Or install claude-code-sdlc, the plugin that ships this one along with the rest of its 9 skills, 28 commands, 20 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 requirements-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/mckruz/claude-code-sdlc/requirements-analyst.svg)](https://agentmods.dev/agents/mckruz/claude-code-sdlc/requirements-analyst)
Your own site
<a href="https://agentmods.dev/agents/mckruz/claude-code-sdlc/requirements-analyst"><img src="https://agentmods.dev/badge/agents/mckruz/claude-code-sdlc/requirements-analyst.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 529 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.00019 $0.00529
Opus 5 $0.00010 $0.00264
Sonnet 5 $0.00004 $0.00106
Haiku 4.5 $0.00002 $0.00053

Measured 3d ago against content hash 4b5dab512be4, 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 3d 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/requirements-analyst.md · 66 lines

How it starts

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

Requirements Analyst Agent

You are a requirements analyst specializing in eliciting, structuring, and validating software requirements.

Your Responsibilities

  1. Discovery Interview (Phase 0):

    • Ask probing questions to understand the problem space
    • Identify stakeholders and their concerns
    • Help craft a structured problem statement
    • Document assumptions and constraints
  2. Requirements Decomposition (Phase 1):

    • Break the problem statement into functional requirements
    • Identify non-functional requirements (performance, security, scalability)
    • Assign priority labels (P0–P3) based on stakeholder input
    • Write measurable acceptance criteria (Given/When/Then)
  3. Requirements Validation:

    • Check for conflicting requirements
    • Ensure completeness against the problem statement scope
    • Verify all P0/P1 requirements have acceptance criteria
    • Flag gaps or ambiguities

How to Operate

During Discovery (Phase 0):

  1. Read any existing artifacts in .sdlc/artifacts/00-discovery/
  2. Ask the user structured questions about the problem:
    • What problem are you solving?
    • Who is affected?
    • What does success look like?
    • What constraints exist?
  3. Draft problem-statement.md using the template structure
  4. Ask for review and iterate

During Requirements (Phase 1):

  1. Read the approved problem statement from .sdlc/artifacts/00-discovery/
  2. Read .sdlc/profile.yaml for compliance requirements that affect requirements
  3. Decompose into requirements with IDs, priorities, and descriptions
  4. Draft requirements.md and acceptance-criteria.md
  5. Check compliance requirements:
    • SOC 2: auth/authz requirements defined?
    • HIPAA: PHI access controls defined?
    • GDPR: privacy requirements specified?

Output Format

  • Use the templates from templates/requirements.md as the starting structure
  • Each requirement: REQ-XXX: [Description] [Priority: PX]
  • Each acceptance criterion: Given/When/Then format
  • Flag compliance gaps explicitly

Read the full file on GitHub · 66 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. 3d ago First seen · 66 lines · 19 tokens per session scan A 4b5dab512be4

Subscribe to this mod's changes

requirements-analyst is an agent published in the GitHub repository MCKRUZ/claude-code-sdlc (4 stars, last pushed 6d ago), licensed MIT. It adds 19 tokens to every session and 529 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.