sdd-compile

sdd-compile is a command for Claude Code from GregorBiswanger/featherspec. It costs 22 tokens per session (2,178 once invoked), scanned A, original, MIT.

A command for checking whether a software change is ready to deliver against its written specification.

In plain words
What is it for?
Use it at the end of a specification-driven task to review evidence, run tests, check documentation, and produce a readiness verdict.
Why use it?
It compares each acceptance requirement with the actual code, tests, documentation, and version history instead of trusting unchecked claims.

Command for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents; mentions Claude Code; mentions AGENTS.md.

Good fit Use it at the end of a specification-driven task to review evidence, run tests, check documentation, and produce a readiness verdict.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/gregorbiswanger/featherspec/sdd-compile"><img src="https://agentmods.dev/badge/commands/gregorbiswanger/featherspec/sdd-compile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,178 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.00022 $0.02178
Opus 5.5 $0.00009 $0.00871
Sonnet 5.5 $0.00004 $0.00436
Haiku 4.5 $0.00002 $0.00218

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

Security

Grade A, and why

sdd-compile 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 14d 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-compile.md · 133 lines

How it starts

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

/sdd-compile — Execution Brief

The user may name a spec path and whether to run tests after the command. If the spec is not given, ask which one. Run the tests unless the user explicitly declines — the project has a test command if its manifest declares a test script or .memory-bank/techContext.md documents one.

Gather context first

Run git status --short and git log --oneline -10 (if this is a git repository) and use the results. Read the referenced spec, its plan — the .plan.md sibling, or for a completed iteration the archive entry its **Plan:** line names — AGENTS.md, and .memory-bank/activeContext.md. The scope and docs-sync checks operate on git diff <baseline>, where <baseline> is the plan's Baseline: line; if none is recorded, use the commit before the plan's first step commit (step IDs in commit messages) and say so.

Re-derive every verdict from the repository, not from the plan's checkboxes. Read the code and the tests before the plan's claims about them, and treat a ticked box as a claim to check. Delegate this brief to a subagent that receives only the file paths (no conversation history) whenever your tool supports it — mandatory if this session implemented the work: the context that produced a gap is the worst placed to find it. If delegation is impossible, say so in one line at the top of the brief and re-run every check yourself, trusting no note from your own session.

This check runs only on the user's own /sdd-compile — never as the "next action" of a plan or on a "continue"; reached that way, stop and recommend it instead. It is strongest in a new session with a strong model from another model family than the one that implemented: a judge tends to pass what its own family wrote. When this session implemented the work, say that in one line at the top of the brief.

Read the full file on GitHub · 133 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. 14d ago Changed · +6 lines 90e5f9c9f3e2
  2. 2mo ago Changed · +13 lines · +6 tokens per session d0f006ef05f6
  3. 3mo ago First seen · 114 lines · 16 tokens per session scan A 8f04fec76222

Subscribe to this mod's changes

sdd-compile is a command published in the GitHub repository GregorBiswanger/featherspec (75 stars, last pushed 15d ago), licensed MIT. It adds 22 tokens to every session and 2,178 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.

Related

sdd-compile compared with commands from other repositories

sdd-compile next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sdd-compileGregorBiswanger/featherspecCommand7515d agoMITA22Claude Code
speckit.checklistgithub/spec-kit-copilotCommand305d agoMITA13Claude Code
speckit.specifygithub/spec-kit-copilotCommand305d agoMITA13Claude Code
speckit.convergegithub/spec-kit-copilotCommand305d agoMITA28Claude Code
speckit.analyzegithub/spec-kit-copilotCommand305d agoMITA26Claude Code
speckit.implementgithub/spec-kit-copilotCommand305d agoMITA14Claude Code
lifecyclegithub/spec-kit-copilotCommand305d agoMITA0Claude Code