sdd-setup

sdd-setup is a command for Claude Code from GregorBiswanger/featherspec. It costs 27 tokens per session (3,717 once invoked), scanned A, original, MIT.

A repository setup wizard for choosing documentation language, recording project memory and architecture, and agreeing on working practices such as test-driven development (writing tests before code).

In plain words
What is it for?
Use it when onboarding a repository, documenting its structure, setting quality rules, or updating an existing setup.
Why use it?
It gathers key project context at the start so future work follows shared decisions instead of relying on guesswork.

Command for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code; mentions AGENTS.md.

Good fit Use it when onboarding a repository, documenting its structure, setting quality rules, or updating an existing setup.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/gregorbiswanger/featherspec/sdd-setup
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.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/gregorbiswanger/featherspec/sdd-setup/github.svg)](https://agentmods.dev/commands/gregorbiswanger/featherspec/sdd-setup)
Your own site
<a href="https://agentmods.dev/commands/gregorbiswanger/featherspec/sdd-setup"><img src="https://agentmods.dev/badge/commands/gregorbiswanger/featherspec/sdd-setup/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 sdd-setup

Your own site · 80×15
<a href="https://agentmods.dev/commands/gregorbiswanger/featherspec/sdd-setup"><img src="https://agentmods.dev/badge/commands/gregorbiswanger/featherspec/sdd-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,717 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.00027 $0.03717
Opus 5.5 $0.00011 $0.01487
Sonnet 5.5 $0.00005 $0.00743
Haiku 4.5 $0.00003 $0.00372

Measured 21d ago against content hash e62fa4fe1bb3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sdd-setup 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 21d 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-setup.md · 249 lines

How it starts

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

/sdd-setup — SDD Setup Wizard

The user may name a documentation language, project name, or stack after the command. If any are missing, ask for them in the wizard below.

You are running an onboarding wizard for this repository.

Session opening — language first, then orientation

Open under a 🪶 **FeatherSpec** banner with at most two short English sentences — a warm one-line welcome to the template and that setup starts with one question — then immediately ask Step 0 (the language question). Everything before the language is chosen stays English and minimal: no SDD explanation, no command table yet. A mixed-language opening is exactly what this ordering prevents. A re-run is a repository a previous setup already touched — the Memory Bank carries real content instead of TBD placeholders, or the snapshot has been reconciled at least once — or a run where the language arrived as an argument. Only then open in that language, confirm it in one line instead of re-asking Step 0, and compress the orientation to one sentence: a re-run tunes, it does not re-onboard. The DocLanguage: value the template ships with is a default nobody chose, so it never makes a run a re-run: a first setup asks Step 0 even though AGENTS.md carries a value.

After DocLanguage is set, give the whole orientation in DocLanguage:

  • Explain Spec-Driven Development in 3–5 plain sentences, rendering this definition faithfully in DocLanguage (translate it — do not quote English into a non-English session): Spec-Driven Development (SDD) is an AI-assisted development approach where a clear, structured, versioned specification is the primary artifact. Implementation and tests are derived from the spec and continuously validated against it (generate → verify → refine). Because agents generate code anchored to an explicit spec — and their output can be checked, corrected and regenerated against it — SDD yields higher-quality, more maintainable code than unstructured "vibe" prompting. The spec survives the implementation and stays the reference point for change.
  • State this repo's operating protocol as AGENTS.md defines it at the top — the three-step form is load-bearing, so render the three steps in DocLanguage without adding or merging steps.
  • Show the /sdd-* commands from the Commands table in AGENTS.md — all of them, in DocLanguage. That table is the single machine-facing roster; keep no second copy here. Name the usual order in one line, rendered from the Flow line under Commands.

Read the full file on GitHub · 249 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. 21d ago Changed · +31 lines e62fa4fe1bb3
  2. 27d ago Changed · +18 lines · +3 tokens per session 6eb48354a5cc
  3. 1mo ago First seen · 200 lines · 24 tokens per session scan A 67643a6ece44

Subscribe to this mod's changes

sdd-setup is a command published in the GitHub repository GregorBiswanger/featherspec (68 stars, last pushed 20d ago), licensed MIT. It adds 27 tokens to every session and 3,717 once invoked, about $0.0001 per session on Opus 5.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.