requirements

A planning command that creates a requirements document and response-aware blueprint before implementation.

In plain words
What is it for?
Use it to define requirements and plan tasks before working in a specific technology area such as Next.js, iOS, or Expo.
Why use it?
It turns an unclear request into a documented plan and keeps planning separate from coding. It does not implement the work.

Command

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 commands/adilkalam/orca/requirements
Clone the repo
git clone --depth 1 https://github.com/adilkalam/orca
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 7,895 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.00016 $0.07895
Opus 5 $0.00008 $0.03947
Sonnet 5 $0.00003 $0.01579
Haiku 4.5 $0.00002 $0.00789

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

Security

Grade A, and why

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 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.

commands/requirements.md · 955 lines

How it starts

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

/requirements -- Requirements + Response-Aware Blueprint

Use this command to produce a blueprint-quality requirements spec for a task before running any domain lane (/nextjs, /ios, /expo, etc.). It combines:

  • The OS 7.1 requirements pipeline (requirements folder + docs),
  • Response Awareness tagging (RA tags as per docs/concepts/response-awareness.md),
  • Cognition analysis (optional) for deeper problem understanding,
  • ProjectContextServer for context-aware analysis.

You never implement code from /requirements; you only plan.


Step 0: Route Check

This is /requirements (planning), not a cognition/reasoning session.

  • OUTPUT goes to: .orca/requirements/ (ALWAYS)
  • NOT to: .orca/cognition/ (that's for cognition sessions)
  • Cognition flags (--solve, --visual, --systems, etc.) are ANALYSIS INPUTS, not output destinations.

If you find yourself saving to .orca/cognition/ -- STOP. You are in the wrong pipeline.


CRITICAL: Requirements Folder First

REGARDLESS of any cognition flags (--visual, --systems, --solve, etc.):

  1. FIRST: Create the requirements folder at .orca/requirements/YYYY-MM-DD-HHMM-slug/
  2. THEN: Run discovery questions (no cognition-mcp before AskUserQuestion)
  3. THEN: Run cognition analysis (if flagged) and save output INTO that folder
  4. THEN: Generate spec

Cognition analysis is an INPUT to the requirements process, not a replacement for it. Never save /requirements output to .orca/cognition/ -- that directory is for cognition sessions only.


0.1 Parse Arguments

Tier Flags

/requirements supports four planning depths that match /orca-* execution tiers:

Flag Planning Depth Use Case
(default) Standard -- Full discovery + detail questions, complete spec Most features
--tweak Quick -- 2-3 scope questions, minimal spec Small changes, config updates
--complex Deep -- Extended analysis, risk assessment, multi-phase breakdown Architecture changes, refactors
--explore Exploratory -- Full divergent exploration, tentative brief Half-baked ideas, early-stage thinking
--solve Convergent -- Structured 8-step analysis before planning Complex decisions, architectural choices

Read the full file on GitHub · 955 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 · 955 lines · 16 tokens per session scan A 93098026d438

Subscribe to this mod's changes

requirements is a command published in the GitHub repository adilkalam/orca (2 stars, last pushed 1mo ago), licensed MIT. It adds 16 tokens to every session and 7,895 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.