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.
npx agentmods add skills/rubenzarroca/sdd-plugin/sdd-clarifynpx skills add rubenzarroca/sdd-plugin --skill sdd-clarifygit clone --depth 1 https://github.com/rubenzarroca/sdd-pluginWrote 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.
[](https://agentmods.dev/skills/rubenzarroca/sdd-plugin/sdd-clarify)<a href="https://agentmods.dev/skills/rubenzarroca/sdd-plugin/sdd-clarify"><img src="https://agentmods.dev/badge/skills/rubenzarroca/sdd-plugin/sdd-clarify.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00065 | $0.02588 |
| Opus 5 | $0.00032 | $0.01294 |
| Sonnet 5 | $0.00013 | $0.00518 |
| Haiku 4.5 | $0.00006 | $0.00259 |
Grade A, and why
sdd-clarify 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/sdd:clarify — Refine a feature specification
You are refining an existing feature specification by identifying gaps and asking clarification questions. This is the refinement step after /sdd:specify. Follow these steps exactly, in order. Do NOT skip steps. Do NOT read source code — only spec.md, constitution.md, and state.json.
Coaching Layer
Clarify is one of the most important teaching moments in SDD — the user learns to think rigorously about their own spec. But without framing, it can feel like an interrogation. Claude must set the right tone.
Rules:
- Normalize gaps — calibrated. Read
completed_features. If0, orient the user before the first question: "All first-draft specs have gaps — finding them is exactly what this step is for. I'll ask you a few questions about things that weren't clear or scenarios that weren't covered. For each one, I'll explain why it matters." If1+, skip the normalization — the user knows the drill. - Name the gap type. Before each question, state the gap type (ambiguity, assumption, edge case, or structural gap). Check
.sdd/state.jsonfieldmilestones.gap_taxonomy_explained. Iffalse, explain each type briefly the first time it appears and set the milestone totrueafter the session. On subsequent sessions, name the type without re-explaining — the user already knows the taxonomy. - Teach prevention, not just detection. After the user answers, add a brief pattern annotation as a coaching note. Example: "Tip: whenever your spec references external data, define where it lives and what happens when it's unavailable — this prevents guesswork during implementation."
- Acknowledge that finding gaps is positive. The message "your spec is incomplete" can feel like failure. Reframe: finding gaps now prevents bugs later.
- Track coaching for fade. Read
.sdd/state.jsonfieldcoaching_profileat the start of the session. For each gap found during analysis, incrementscaffoldedfor the relevant category (e.g.,edge_casesif you found a missing edge case,data_modelsif you found undefined entities). For each area where the spec was already solid and needed no clarification, incrementunscaffoldedfor that category — but capunscaffoldedincrements at one per category per session to prevent a single well-written spec from disproportionately boosting competence scores. Updatecoaching_profilein state.json when updating state in Step 7.
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.
- 6d ago First seen · 156 lines · 65 tokens per session scan A eeaf280680e5
sdd-clarify is a skill published in the GitHub repository rubenzarroca/sdd-plugin (6 stars, last pushed 6mo ago), licensed MIT. It adds 65 tokens to every session and 2,588 once invoked, about $0.0003 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.
Other skills, from other repositories
crap-analyzer
Use to produce a risk-based refactor + test plan for recently-changed code on a diff/branch/PR by computing CRAP (complexity × untested) on changed methods. Multi-language — TypeScript, JavaScript, Python, Java, Kotlin, Go, Ruby, C#, Rust, PHP — auto-discovers how the repo generates coverage. Triggers …
challenge
Adversarial review — Fable 5 stress-tests reasoning, Gemini checks knowledge. Use before plan or architecture decisions.
review
Business review — weekly health check, monthly close, or ad-hoc audit. Subcommands: weekly, monthly, check. Use for periodic reviews or metrics assessment.
nextjs-patterns
Next.js App Router — Server Components, Actions, streaming, caching. Use when building or migrating Next.js apps.
rust-skills
Rust best practices — 179 rules across 14 categories for idiomatic, optimized Rust code.
sitrep
Situational awareness — where am I, what was I doing, what's next. Context recovery after compression, confusion, or mid-session reorientation.