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/genkovich/sdd/implementnpx skills add genkovich/sdd --skill implementgit clone --depth 1 https://github.com/genkovich/sddWhat 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 | $0.00177 | $0.02345 |
| Opus 5 | $0.00088 | $0.01172 |
| Sonnet 5 | $0.00035 | $0.00469 |
| Haiku 4.5 | $0.00018 | $0.00234 |
Grade A, and why
implement 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 2d 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 — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: implement
The implementation engine. It turns tasks.json into committed, tested code through a strict TDD cycle per task — SELECT → RED → GREEN → REFACTOR → GATE → COMMIT — and orchestrates that cycle in one of three modes (sequential / agent-team / dynamic-workflow) picked by an unambiguous decision tree. Everything is stack-agnostic: the test, lint, and vet commands are detected, never hard-coded.
This file is the spine. Each step delegates to a file in references/.
Owner
Tech Lead drives; the engine runs the cycle. The three subagents ship with the plugin: test-author (RED), implementer (GREEN/REFACTOR/GATE), reviewer (read-only review).
Inputs
<slug>— feature slug.- Gate (hard refuse):
docs/features/<slug>/tasks.json. Missing → «runtasks <slug>first». - Read for context (the agents read these directly, not via paraphrase):
spec.md(AC),data-model.md+ the staged migrations underdocs/features/<slug>/migrations/(alayer: migrationtask promotes these into the livemigrations/tree — see./references/inputs.md),contracts/openapi.yaml,test-plan.md,sad.md, Acceptedadr/. - Settings:
.claude/sdd.local.md(auto-created with documented defaults if absent — normally byspecifyat the backbone start;implementcreates it too if you jump straight here) →./references/settings.md.
Protocol
- Preconditions. Verify
tasks.jsonexists and parses; load the upstream artifacts list. Detail →./references/inputs.md. - Settings. Read
.claude/sdd.local.md; if absent, auto-create it with the documented defaults (frontmatter + the «What each key does» body, self-documenting) and patch.gitignore(.claude/*.local.md,.worktrees/) — the same templatespecifywrites. →./references/settings.md. - Detect commands. Run the stack-agnostic cascade (settings override → Makefile → package scripts → language manifests → Docker probe for the integration tier) to resolve unit / integration / lint / vet commands. Print what was detected. →
./references/command-detection.md. - Build the DAG. Parse
tasks.json, validatedepsis acyclic, topologically sort into phases (Kahn). Computetask_count,longest_chain,parallel_width. Mark serialization lanes (layer: migration; tasks with overlappingfiles_hint). - Pick the mode. Run the decision tree (below; full form →
./references/decision-tree.md). Apply the guards. - Generate the run-plan. Sequential → an ordered task list. Team → a shared TaskList with the full task text in each body. Workflow → a generated
Workflowscript (DAG → Kahn phases → fan-out pipeline). →./references/team-exec.md/./references/workflow-exec.md. - Banner. Print the active mode and the settings that drove it:
mode=<…> tdd=<…> isolation=<…> parallel=<n> integration=<…>. The user sees exactly how the engine will behave before it acts. - Execute in the chosen mode. Every task runs the TDD cycle →
./references/tdd-loop.md. Alayer: migrationtask first promotes its staged migration(s) (docs/features/<slug>/migrations/<NN>_*) into the livemigrations/tree — assigning the real sequence number / timestamp per the repo's convention, in ordinal order — then applies + reverts them; detail →./references/inputs.md. - Per-task gate + commit. After GREEN+REFACTOR: unit + (integration if available) + lint + vet must be clean, then commit task-scoped with trailers
SDD-Task: <id>andSDD-AC: <id>(one per satisfied AC). Tasks in one compile-coupled lane (shared contract file infiles_hint) pass one shared gate and one commit carrying every task's trailers — the sanctioned exception in./references/tdd-loop.md§COMMIT. Updatetracker.md→done. - Summary + hand off. Report covered AC, commits made (with
SDD-Tasktrailers), any task dropped/blocked, and the per-task gate results. Then emit the stage-handoff block per../_shared/handoff.md— What I did (covered AC, commits withSDD-Tasktrailers, gate results) + Review (the committed diff +tasks/tracker.md) + Run next (/clear, then/sdd:review <slug>— a clean-context pass over the whole diff), then/sdd:ship <slug>. In team mode thereviewermay also run per-task, but the authoritative independent review of the whole change lives in thereviewskill —implementdoes not self-certify.
What ships with it
8 files 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.
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.
- 2d ago First seen · 85 lines · 177 tokens per session scan A 29f77f6587a6
implement is a skill published in the GitHub repository genkovich/sdd (118 stars, last pushed 13d ago), licensed MIT. It adds 177 tokens to every session and 2,345 once invoked, about $0.0009 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-30.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
babysit-pr
Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…
imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…