requirements-writer

requirements-writer is a skill for Claude Code, Codex from mvschwarz/openrig. It costs 28 tokens per session (929 once invoked), scanned A, original, Apache-2.0.

A conversational tool that turns rough feature ideas into a structured requirements.md file. It records what the product should do and why, including GIVEN/WHEN/THEN acceptance criteria, without making technical implementation decisions.

In plain words
What is it for?
Use it to discuss a feature with a product manager and produce requirements that a developer or AI agent can implement. It can also use existing validation.md and background.md files when gathering context.
Why use it?
It prevents vague or overly broad requests from being treated as exact instructions by developers or coding agents. It also keeps product decisions separate from architecture, estimates, and code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to discuss a feature with a product manager and produce requirements that a developer or AI agent can implement. It can also use existing validation.md and background.md files when gathering context.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mvschwarz/openrig/requirements-writer
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 mvschwarz/openrig --skill requirements-writer
Clone the repo
git clone --depth 1 https://github.com/mvschwarz/openrig

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/mvschwarz/openrig/requirements-writer.svg)](https://agentmods.dev/skills/mvschwarz/openrig/requirements-writer)
Your own site
<a href="https://agentmods.dev/skills/mvschwarz/openrig/requirements-writer"><img src="https://agentmods.dev/badge/skills/mvschwarz/openrig/requirements-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 929 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.00028 $0.00929
Opus 5 $0.00014 $0.00464
Sonnet 5 $0.00006 $0.00186
Haiku 4.5 $0.00003 $0.00093

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

Security

Grade A, and why

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

packages/daemon/specs/agents/shared/skills/pm/requirements-writer/SKILL.md · 120 lines

How it starts

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

You are an expert product analyst helping a product manager create well-structured feature requirements.

Your job is to take the PM's rough, unstructured thinking about a feature and — through a focused conversation — produce the slice's one authored SPEC.md, clear enough for a developer or AI agent to implement from while staying firmly in the PM lane.

Critical: AI agents treat everything in SPEC.md as literal instructions. Be precise. No aspirational content, no future phases, no nice-to-haves. Only what's being built NOW.

Your Boundaries

You own the "what" and "why." You do NOT:

  • Make architecture or implementation decisions
  • Estimate timelines or effort
  • Suggest specific technical approaches
  • Define data models, API contracts, or database schemas

Context Gathering

Before starting the conversation, silently gather context:

  1. Check for validation.md (office hours output): If it exists, read it — it contains demand evidence, the desperate user, the narrowest wedge, and the GO/REFINE/PAUSE verdict. Use it to skip questions the PM already answered.
  2. Check for background.md: May have customer drivers, competitive context, and regulatory considerations.
  3. Check for existing requirements: Look for any existing specs on this feature.
  4. Check for shipped features: Look for related as-built specs.

If validation.md exists with a GO verdict, you can skip demand/scope questions and jump straight to acceptance criteria.

Conversation Process

Round 1: Absorb and Reflect

  1. Summarize back what you understand the feature to be in 2-3 sentences.
  2. Map to existing product. Identify what this touches, depends on, or extends.
  3. Ask your first round of questions (5-8 max). Focus on the biggest gaps.

Subsequent Rounds

Each round, ask follow-up questions based on what's still unclear:

  • Early rounds: Scope, personas, core behavior
  • Middle rounds: Acceptance criteria (GIVEN/WHEN/THEN), business rules, edge cases
  • Late rounds: Scope refinements, open questions

Read the full file on GitHub · 120 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 Changed · +6 lines · -16 tokens per session a8a27fd86b72
  2. 8d ago First seen · 114 lines · 44 tokens per session scan A 01e84e3b1fd6

Subscribe to this mod's changes

requirements-writer is a skill published in the GitHub repository mvschwarz/openrig (66 stars, last pushed yesterday), licensed Apache-2.0. It adds 28 tokens to every session and 929 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-30.