extracting-requirements

extracting-requirements is a skill for Claude Code from prime-radiant-inc/iterative-development. It costs 40 tokens per session (2,381 once invoked), scanned A, original, Apache-2.0.

A requirements-extraction workflow that turns human-written specifications into organized requirement files and reusable behavior scenarios. A behavior scenario describes something the software should visibly do, using a stable ID for reference.

In plain words
What is it for?
Use it when starting iterative development, breaking a specification into epics and stories, or regenerating requirements from updated project documents.
Why use it?
It makes large or scattered specifications easier to implement and verify. It connects each acceptance criterion to evidence showing whether the requirement was met.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the iterative-development plugin — 6 skills shipped together

Good fit Use it when starting iterative development, breaking a specification into epics and stories, or regenerating requirements from updated project documents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/prime-radiant-inc/iterative-development/extracting-requirements
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.

Any agent
npx skills add prime-radiant-inc/iterative-development --skill extracting-requirements
Clone the repo
git clone --depth 1 https://github.com/prime-radiant-inc/iterative-development

Made for: Claude Code.

Or install iterative-development, the plugin that ships this one along with the rest of its 6 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/prime-radiant-inc/iterative-development/extracting-requirements/github.svg)](https://agentmods.dev/skills/prime-radiant-inc/iterative-development/extracting-requirements)
Your own site
<a href="https://agentmods.dev/skills/prime-radiant-inc/iterative-development/extracting-requirements"><img src="https://agentmods.dev/badge/skills/prime-radiant-inc/iterative-development/extracting-requirements/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 extracting-requirements

Your own site · 80×15
<a href="https://agentmods.dev/skills/prime-radiant-inc/iterative-development/extracting-requirements"><img src="https://agentmods.dev/badge/skills/prime-radiant-inc/iterative-development/extracting-requirements.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,381 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00040 $0.02381
Opus 5 $0.00020 $0.01190
Sonnet 5 $0.00008 $0.00476
Haiku 4.5 $0.00004 $0.00238

Measured 10d ago against content hash feec652cec03, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

extracting-requirements 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 10d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/aggregate_scenarios.py, scripts/aggregate_stories.py, scripts/backlink_scenarios.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/extracting-requirements/SKILL.md · 199 lines

How it starts

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

Extracting Requirements

Overview

Reads arbitrary human spec collateral and produces two artifact sets:

  1. Per-epic requirement files in docs/superpowers/iterations/requirements/ — story cards with proof obligations per AC
  2. Behavior scenarios in docs/superpowers/iterations/behavior-scenarios.md — reusable observable-behavior contracts with stable IDs

Uses a chunking + parallel-dispatch + aggregation pipeline so that no single agent holds the entire spec in context. Handles specs from a single page up to ~100K tokens across dozens of files.

When to Use

Invoked by iterative-development during bootstrap, or standalone when you need to regenerate requirements from human spec collateral.

Script Location

All scripts referenced below live in this skill's scripts/ directory, next to this SKILL.md file.

Key Concept: Spec Taxonomy

The spec directory structure drives proof seam classification. See skills/shared/behavior-evidence-formats.md for the full taxonomy. Summary:

Spec directory Default proof seam
test-vectors/ unit
contracts/ integration
domains/ integration or app-level
journeys/ e2e

Extraction subagents use the appropriate prompt variant based on source file location.

Pipeline

1. Inventory

Enumerate the spec files without reading full contents:

python3 "scripts/chunk_spec.py" <spec-path>

This produces a JSON array of chunks. Each chunk has source_file, heading, start_line, end_line, content, and estimated_tokens. Small files (< 4K tokens) are kept whole. Larger files are split by ## headings, or ### if sections are still too large.

Classify each chunk by spec taxonomy: note whether the source file is under journeys/, contracts/, domains/, or test-vectors/. This determines which extraction prompt variant to use.

2. Dispatch extraction subagents

For each chunk (or batch of small chunks), dispatch an extraction subagent using the appropriate template from extraction-subagent-prompt.md:

Read the full file on GitHub · 199 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 199 lines · 40 tokens per session scan A feec652cec03

Subscribe to this mod's changes

extracting-requirements is a skill published in the GitHub repository prime-radiant-inc/iterative-development (179 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 40 tokens to every session and 2,381 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.

Related

Other skills, from other repositories

design

Create a doc-as-code design package from a PRD or SPEC. Conditionally generates C4 diagrams (Context/Container/Component), sequence diagrams, ER diagram + Data Dictionary, OpenAPI 3.0, AsyncAPI 3.0, ADRs, domain glossary, state diagrams, and deployment view as Mermaid-rendered Markdown files. Use when PM mentions…

cryndoc/polisade-orchestrator · 162 tokens

tasks

A task-breakdown tool that turns a plan, specification, feature brief, bug report, technical-debt item, or chore into small TASK-NNN work items. Technical debt means postponed cleanup or design work in a codebase.

cryndoc/polisade-orchestrator · 127 tokens

review-pr

A pull-request review skill for evaluating proposed code changes and posting a quality verdict. A pull request is a request to merge changes into a shared codebase.

cryndoc/polisade-orchestrator · 113 tokens

continue

Autonomous work — find and execute ready tasks.

cryndoc/polisade-orchestrator · 11 tokens

prd

A Product Requirements Document (PRD) writer for large software initiatives. A PRD records the problem, goals, requirements, assumptions, and evidence before implementation begins.

cryndoc/polisade-orchestrator · 121 tokens

reconcile-docs

Best-effort reconciliation of the living architecture corpus against the code: the model reads docs/architecture/ plus the code and lists divergences with coordinates. Advisory only — an opinion of the model, never a verified verdict, no gates and no stamps. Nothing is applied automatically: corpus edits are a…

cryndoc/polisade-orchestrator · 73 tokens