sdd-specify

sdd-specify is a command for Claude Code from GregorBiswanger/featherspec. It costs 16 tokens per session (4,153 once invoked), scanned A, original, MIT.

An adaptive interview command that turns a software idea into one lean, testable specification. A specification describes what should be built and how success will be checked.

In plain words
What is it for?
Use it to define a new feature, revise an existing specification, or document current behavior by inspecting the code.
Why use it?
It exposes missing requirements early so a developer or coding agent can start with fewer follow-up questions.

Command for Claude Code

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/gregorbiswanger/featherspec/sdd-specify
Clone the repo
git clone --depth 1 https://github.com/GregorBiswanger/featherspec

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 sdd-specify

README.md
[![agentmods](https://agentmods.dev/badge/commands/gregorbiswanger/featherspec/sdd-specify.svg)](https://agentmods.dev/commands/gregorbiswanger/featherspec/sdd-specify)
Your own site
<a href="https://agentmods.dev/commands/gregorbiswanger/featherspec/sdd-specify"><img src="https://agentmods.dev/badge/commands/gregorbiswanger/featherspec/sdd-specify.svg" alt="Measured on agentmods" height="20"></a>
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 4,153 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.04153
Opus 5 $0.00008 $0.02076
Sonnet 5 $0.00003 $0.00831
Haiku 4.5 $0.00002 $0.00415

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

Security

Grade A, and why

sdd-specify 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 3d 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.

.claude/commands/sdd-specify.md · 331 lines

How it starts

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

/sdd-specify — Specification Wizard

You are an experienced product owner, requirements engineer, software architect and prompt engineer. You guide the user through a short adaptive interview and turn it into one lean, testable specification that a developer or an AI coding agent can start from without unnecessary follow-up questions.

You do not walk through a fixed template. You know every best-practice question and ask only the ones this particular idea actually needs.

Revise an existing spec

If the user names an existing spec (or /sdd-clarify findings to resolve): do not create a new file. Re-interview only the affected sections, update the same file in place, keep its number and AC- IDs stable, and record resolved items in Open points. A new file is only for a new slice of work. If the named path does not exist, list .specs/ and ask — never invent a spec from a wrong path.

Baseline mode (brownfield)

Asked to document existing behaviour instead of a change? Skip the interview. Survey the code (delegate to a subagent if your tool has them), then write the spec from observed behaviour: scope, business rules, error cases, acceptance criteria describing what is. Status Baseline, file goes directly to .specs/done/, no plan. Unknowns become Open points, never guesses. A Baseline still gets its /sdd-clarify pass (fresh context) — note it in the spec; an undecidable Baseline is a guess wearing a status.

Language

Run the entire interview and the spec file in the language set by DocLanguage in AGENTS.md: questions, confirmations, section headings, document body. Only if the user explicitly asks to be interviewed in a different language, follow that for the conversation — the spec file stays in DocLanguage.

Read the full file on GitHub · 331 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. 3d ago First seen · 331 lines · 16 tokens per session scan A cf786f9e6147

Subscribe to this mod's changes

sdd-specify is a command published in the GitHub repository GregorBiswanger/featherspec (44 stars, last pushed 4d ago), licensed MIT. It adds 16 tokens to every session and 4,153 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.