requirements-to-spec

requirements-to-spec is a skill for Claude Code, Codex from 05-deepak-patidar/claude-skills. It costs 87 tokens per session (1,090 once invoked), scanned A, original, MIT.

A process for turning a vague idea, feature request, or client ask into a buildable specification before coding. It first identifies who has the problem, what they do today, and what failure would cost.

In plain words
What is it for?
Use it when starting a feature or product, scoping an MVP, resolving ambiguity, writing user stories, and defining criteria that can verify whether the result works.
Why use it?
It reduces the risk of building the wrong solution correctly by making the real job, assumptions, scope, and acceptance criteria explicit.

Skill for Claude CodeCodex

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

Good fit Use it when starting a feature or product, scoping an MVP, resolving ambiguity, writing user stories, and defining criteria that can verify whether the result works.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/05-deepak-patidar/claude-skills/requirements-to-spec
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 05-deepak-patidar/claude-skills --skill requirements-to-spec
Clone the repo
git clone --depth 1 https://github.com/05-deepak-patidar/claude-skills

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-to-spec

README.md
[![agentmods](https://agentmods.dev/badge/skills/05-deepak-patidar/claude-skills/requirements-to-spec/github.svg)](https://agentmods.dev/skills/05-deepak-patidar/claude-skills/requirements-to-spec)
Your own site
<a href="https://agentmods.dev/skills/05-deepak-patidar/claude-skills/requirements-to-spec"><img src="https://agentmods.dev/badge/skills/05-deepak-patidar/claude-skills/requirements-to-spec/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 requirements-to-spec

Your own site · 80×15
<a href="https://agentmods.dev/skills/05-deepak-patidar/claude-skills/requirements-to-spec"><img src="https://agentmods.dev/badge/skills/05-deepak-patidar/claude-skills/requirements-to-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,090 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.
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.00087 $0.01090
Opus 5 $0.00044 $0.00545
Sonnet 5 $0.00017 $0.00218
Haiku 4.5 $0.00009 $0.00109

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

Security

Grade A, and why

requirements-to-spec 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 12d 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.

requirements-to-spec/SKILL.md · 50 lines

How it starts

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

Requirements to Spec

The most expensive bug is building the wrong thing correctly. Code is cheap now — AI generates it in minutes — which makes deciding what to build the bottleneck and the highest-leverage skill. A day of spec work routinely deletes a month of wrong code.

Gate 1: Find the job, not the feature

Every request arrives as a solution ("add an export button"). Dig to the job behind it before accepting it:

  • Who exactly hits this, when, doing what? ("The accountant, every month-end, retyping invoices into Tally.")
  • What happens today without the feature? The workaround is the spec's best teacher — and if there's no workaround, question whether the pain is real.
  • What does failure cost? Annoyance, money, legal trouble? This sets the quality bar (a report can be eventually-consistent; a stock count cannot).
  • Ask "what would make this a waste of time to build?" — the answer surfaces the hidden assumption that kills projects.

The requester's solution is a clue, not a contract. Sometimes the export button is right; often the job is "get data into Tally" and the right build is different.

Gate 2: Write the spec — one page, falsifiable

A spec is not a novel. One page, these sections, every line checkable:

  1. Job statement — one sentence: who + situation + outcome.
  2. Golden path — the numbered walk-through of the main flow, concrete ("Wholesaler opens Sales → taps New Invoice → …"). If you can't narrate it step by step, you don't understand it yet.
  3. Acceptance criteria — bullet list of testable statements ("a payment exceeding balance is rejected with a visible error"). Each becomes a test later (testing-strategy). "Should be fast/easy/intuitive" is not a criterion until it has a number or an observable behavior.
  4. Edge decisions made now — the 5–10 ugly questions answered in writing: empties, duplicates, permissions, concurrency, deletion, the boundary values. These are where "done" gets renegotiated later if you skip them.
  5. Non-goals — explicitly listed. The non-goals section prevents more scope creep than any process. "V1 does NOT include: multi-currency, offline mode, bulk import."
  6. Open questions — what you still don't know, with an owner. An honest unknown beats a silent guess.

Read the full file on GitHub · 50 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. 12d ago First seen · 50 lines · 87 tokens per session scan A ac8d4b561070

Subscribe to this mod's changes

requirements-to-spec is a skill published in the GitHub repository 05-deepak-patidar/claude-skills (4 stars, last pushed 2mo ago), licensed MIT. It adds 87 tokens to every session and 1,090 once invoked, about $0.0004 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.