deep-spec

deep-spec is a skill for Claude Code from onur-aslan/sdd. It costs 62 tokens per session (768 once invoked), scanned A, original, MIT.

An interview-based feature-design workflow that explores a request from broad domain decisions down to implementation details and writes a structured spec.md file.

In plain words
What is it for?
Use it to design a new feature through guided questions and produce a specification under docs/sdd/features/ without modifying source code.
Why use it?
It helps clarify requirements and dependencies before implementation, reducing the risk of coding against an incomplete design.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the sdd plugin — 11 skills, 1 MCP server shipped together

Good fit Use it to design a new feature through guided questions and produce a specification under docs/sdd/features/ without modifying source code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/onur-aslan/sdd/deep-spec
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.

Any agent
npx skills add onur-aslan/sdd --skill deep-spec
Clone the repo
git clone --depth 1 https://github.com/onur-aslan/sdd

Made for: Claude Code.

Or install sdd, the plugin that ships this one along with the rest of its 11 skills, 1 MCP server.

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 deep-spec

README.md
[![agentmods](https://agentmods.dev/badge/skills/onur-aslan/sdd/deep-spec/github.svg)](https://agentmods.dev/skills/onur-aslan/sdd/deep-spec)
Your own site
<a href="https://agentmods.dev/skills/onur-aslan/sdd/deep-spec"><img src="https://agentmods.dev/badge/skills/onur-aslan/sdd/deep-spec/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 deep-spec

Your own site · 80×15
<a href="https://agentmods.dev/skills/onur-aslan/sdd/deep-spec"><img src="https://agentmods.dev/badge/skills/onur-aslan/sdd/deep-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 768 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.00062 $0.00768
Opus 5.5 $0.00025 $0.00307
Sonnet 5.5 $0.00012 $0.00154
Haiku 4.5 $0.00006 $0.00077

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

Security

Grade A, and why

deep-spec 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 23d 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.

sdd/skills/deep-spec/SKILL.md · 72 lines

How it starts

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

Interview me relentlessly about every aspect of this plan until we reach a shared understanding. Walk down each branch of the design tree, resolving dependencies between decisions one-by-one. Ask very detailed design questions. Expose hidden assumptions. Ask the questions one at a time. Do not use AskUserQuestion Tool. Do not implement, write code, or modify source files — this skill only creates the spec.

Converse and write the spec in the language the user writes in.

Zoom & Tour Integration

Zoom Levels: L5:Domain → L4:System → L3:Component → L2:Function → L1:Line

Tour Tracking:

  • Track currentZoom L{M}: {LevelName} (starts with optimal zoom level)
  • Track currentTour number as {N} (starts at 1)
  • Track tourQuestions count per tour
  • Announce: 🎯 Tour {N} (L{M}: {LevelName}) — Question {K}

After each design decision within a tour, continue questioning. Track current zoom level and announce it.

Steps

Step 1. Announce: 🎯 Starting Tour {N} at L{M}: {LevelName}... Explore the codebase at current zoom level — only once per tour.

Step 2. Deep Think about next design question at current zoom level. Announce: 🎯 Tour {N} (L{M}: {LevelName}) — Question {K}

Step 3. Ask one design question with options, ASCII mock, and recommendation.

Format:

[Question text]?

A) [Option A title]
   [ASCII mock for A]

B) [Option B title]
   [ASCII mock for B]

C) [Option C title]
   [ASCII mock for C]

✅ Recommended: [A/B/C] — [one-line reason]

Step 4. After user answers, keep the decision in context (do not write to file yet).

  • If there are more design questions at this zoom level → Go To Step 2
  • If no more meaningful questions at this level → Proceed to Step 5 (End of Tour)

Step 5. End of Tour. Announce current tour and zoom level. Ask:

🎯 Tour {N} complete at L{M}: {LevelName}.

A) Zoom deeper — start Tour {N+1} at L{M-1} (implementation details)
B) Done — finalize spec

✅ Recommended: [A/B] — [one-line reason based on plan complexity]

Read the full file on GitHub · 72 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 23d ago First seen · 72 lines · 62 tokens per session scan A a3bc9b34ca94

Subscribe to this mod's changes

deep-spec is a skill published in the GitHub repository onur-aslan/sdd (13 stars, last pushed today), licensed MIT. It adds 62 tokens to every session and 768 once invoked, about $0.0002 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-11-12.

Related

deep-spec compared with skills from other repositories

deep-spec next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
deep-speconur-aslan/sddSkill13todayMITA62Claude Code
subagent-driven-developmentrpamis/cometSkill3.3kyesterdayMITA17Claude Code, Codex
cometrpamis/cometSkill3.3kyesterdayMITA44Claude Code, Codex
comet-verifyrpamis/cometSkill3.3kyesterdayMITA32Claude Code, Codex
comet-hotfixrpamis/cometSkill3.3kyesterdayMITA40Claude Code, Codex
comet-tweakrpamis/cometSkill3.3kyesterdayMITA48Claude Code, Codex
comet-reviewrpamis/cometSkill3.3kyesterdayMITA30Claude Code, Codex