requirements-end

requirements-end is a command for Claude Code from rizethereum/claude-code-requirements-builder. It costs 0 tokens per session (373 once invoked), scanned A, original, MIT.

A command that closes an active requirements-gathering session and handles its outcome. Requirements gathering is the process of collecting enough detail about a feature before building it.

In plain words
What is it for?
Use it to create a requirements specification, mark the work incomplete for later, or cancel and remove the current requirement.
Why use it?
It prevents an unfinished session from being left ambiguous by recording whether to generate a specification, pause it, or cancel it.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

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/rizethereum/claude-code-requirements-builder/requirements-end
Clone the repo
git clone --depth 1 https://github.com/rizethereum/claude-code-requirements-builder

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/rizethereum/claude-code-requirements-builder/requirements-end.svg)](https://agentmods.dev/commands/rizethereum/claude-code-requirements-builder/requirements-end)
Your own site
<a href="https://agentmods.dev/commands/rizethereum/claude-code-requirements-builder/requirements-end"><img src="https://agentmods.dev/badge/commands/rizethereum/claude-code-requirements-builder/requirements-end.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 373 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.1 $0.00000 $0.00373
Opus 5 $0.00000 $0.00187
Sonnet 5 $0.00000 $0.00075
Haiku 4.5 $0.00000 $0.00037

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

Security

Grade A, and why

requirements-end 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 6d 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-end.md · 74 lines

What it actually says

End Requirements Gathering

Finalize the current requirement gathering session.

Instructions:

  1. Read requirements/.current-requirement

  2. If no active requirement:

    • Show "No active requirement to end"
    • Exit
  3. Show current status and ask user intent:

    ⚠️ Ending requirement: [name]
    Current phase: [phase] ([X/Y] complete)
    
    What would you like to do?
    1. Generate spec with current information
    2. Mark as incomplete for later
    3. Cancel and delete
    
  4. Based on choice:

Option 1: Generate Spec

  • Create 06-requirements-spec.md
  • Include all answered questions
  • Add defaults for unanswered with "ASSUMED:" prefix
  • Generate implementation hints
  • Update metadata status to "complete"

Option 2: Mark Incomplete

  • Update metadata status to "incomplete"
  • Add "lastUpdated" timestamp
  • Create summary of progress
  • Note what's still needed

Option 3: Cancel

  • Confirm deletion
  • Remove requirement folder
  • Clear .current-requirement

Final Spec Format:

# Requirements Specification: [Name]

Generated: [timestamp]
Status: [Complete with X assumptions / Partial]

## Overview
[Problem statement and solution summary]

## Detailed Requirements

### Functional Requirements
[Based on answered questions]

### Technical Requirements
- Affected files: [list with paths]
- New components: [if any]
- Database changes: [if any]

### Assumptions
[List any defaults used for unanswered questions]

### Implementation Notes
[Specific guidance for implementation]

### Acceptance Criteria
[Testable criteria for completion]
  1. Clear .current-requirement
  2. Update requirements/index.md
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. 6d ago First seen · 74 lines · 0 tokens per session scan A 5cbee15e6ac5

Subscribe to this mod's changes

requirements-end is a command published in the GitHub repository rizethereum/claude-code-requirements-builder (1,760 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 373 tokens. 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.