sdd-clarify

sdd-clarify is a skill for Claude Code from rubenzarroca/sdd-plugin. It costs 65 tokens per session (2,588 once invoked), scanned A, original, MIT.

A specification-review step that finds missing details, unclear wording, assumptions, and unusual cases in an existing feature description.

In plain words
What is it for?
Use it after writing a first specification to ask focused clarification questions and tighten the requirements.
Why use it?
It helps expose questions before planning or coding, when changes are easier to make.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the sdd plugin — 12 skills shipped together

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 skills/rubenzarroca/sdd-plugin/sdd-clarify
Any agent
npx skills add rubenzarroca/sdd-plugin --skill sdd-clarify
Clone the repo
git clone --depth 1 https://github.com/rubenzarroca/sdd-plugin

Made for: Claude Code.

Or install sdd, the plugin that ships this one along with the rest of its 12 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/rubenzarroca/sdd-plugin/sdd-clarify.svg)](https://agentmods.dev/skills/rubenzarroca/sdd-plugin/sdd-clarify)
Your own site
<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>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,588 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.1 $0.00065 $0.02588
Opus 5 $0.00032 $0.01294
Sonnet 5 $0.00013 $0.00518
Haiku 4.5 $0.00006 $0.00259

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

Security

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.

skills/sdd-clarify/SKILL.md · 156 lines

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:

  1. Normalize gaps — calibrated. Read completed_features. If 0, 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." If 1+, skip the normalization — the user knows the drill.
  2. Name the gap type. Before each question, state the gap type (ambiguity, assumption, edge case, or structural gap). Check .sdd/state.json field milestones.gap_taxonomy_explained. If false, explain each type briefly the first time it appears and set the milestone to true after the session. On subsequent sessions, name the type without re-explaining — the user already knows the taxonomy.
  3. 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."
  4. Acknowledge that finding gaps is positive. The message "your spec is incomplete" can feel like failure. Reframe: finding gaps now prevents bugs later.
  5. Track coaching for fade. Read .sdd/state.json field coaching_profile at the start of the session. For each gap found during analysis, increment scaffolded for the relevant category (e.g., edge_cases if you found a missing edge case, data_models if you found undefined entities). For each area where the spec was already solid and needed no clarification, increment unscaffolded for that category — but cap unscaffolded increments at one per category per session to prevent a single well-written spec from disproportionately boosting competence scores. Update coaching_profile in state.json when updating state in Step 7.

Read the full file on GitHub · 156 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. 6d ago First seen · 156 lines · 65 tokens per session scan A eeaf280680e5

Subscribe to this mod's changes

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.