sdd-init

sdd-init is a skill for Claude Code, Codex from felipefontoura/pi-sdd-kit. It costs 73 tokens per session (1,326 once invoked), scanned A, original, MIT.

A setup procedure for Spec-Driven Development (SDD), a way of organizing software work around written requirements and plans. It prepares shared .ai folders and starts SDD tracking.

In plain words
What is it for?
Use it when explicitly adopting or initializing SDD in a project. It checks existing project guidance and prepares the folders and starter tracking files.
Why use it?
It gives an AI-assisted project a consistent place for steering notes, specifications, and progress records. It avoids starting SDD work without the expected project structure.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when explicitly adopting or initializing SDD in a project. It checks existing project guidance and prepares the folders and starter tracking files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/felipefontoura/pi-sdd-kit/sdd-init
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 felipefontoura/pi-sdd-kit --skill sdd-init
Clone the repo
git clone --depth 1 https://github.com/felipefontoura/pi-sdd-kit

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/felipefontoura/pi-sdd-kit/sdd-init.svg)](https://agentmods.dev/skills/felipefontoura/pi-sdd-kit/sdd-init)
Your own site
<a href="https://agentmods.dev/skills/felipefontoura/pi-sdd-kit/sdd-init"><img src="https://agentmods.dev/badge/skills/felipefontoura/pi-sdd-kit/sdd-init.svg" alt="Measured on agentmods" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,326 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.00073 $0.01326
Opus 5 $0.00036 $0.00663
Sonnet 5 $0.00015 $0.00265
Haiku 4.5 $0.00007 $0.00133

Measured 8d ago against content hash 038b48d597e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

sdd-init 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 8d 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-init/SKILL.md · 152 lines

How it starts

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

AI / SDD Init

Initialize a project workspace for AI-assisted Spec-Driven Development.

Purpose

INIT prepares the project for consistent AI work. It creates the shared .ai/ structure, captures minimal reusable steering context, initializes SDD tracking, and recommends the next safe step. Because this changes project structure, use it only after an explicit user request to initialize, set up, adopt, or bootstrap SDD.

Workflow

  1. Load references.

    • Read ../_shared/references/sdd-practical.md.
    • Apply the Language Policy: respond and write artifacts in the user's initial chat language while keeping skill instructions and templates in EN-US.
    • Read ../_shared/references/templates.md when creating starter files.
    • Use package-level templates/ files as user-facing examples when available.
  2. Inspect the project.

    • Check whether .ai/, .ai/steering/, .ai/sdd/, and .ai/sdd/handoff/ already exist.
    • Read existing .ai/steering/*.md, .ai/sdd/INDEX.md, and .ai/sdd/PLAN.md if present.
    • If .ai/strategy/handoff/strategy-brief.md exists, note it as optional upstream context for future /skill:sdd-idea, /skill:sdd-plan, or /skill:sdd-prd work.
    • Briefly inspect README, package files, docs, source tree, and verification scripts when available.
    • Do not overwrite existing AI artifacts without explicit approval.
  3. Clarify initialization scope.

    • Ask whether the user wants:
      • minimal setup: directories + index + workflow guide only
      • steering setup: product, tech stack, conventions, optional principles
      • SDD setup: index + workflow guide + optional first IDEA or PLAN
      • domain setup: extra steering doc such as lp.md
    • Ask one question at a time.
    • Prefer inferred project facts from files, but confirm uncertain durable rules.
  4. Draft starter artifacts.

    • Use .ai/steering/ for reusable context:
      • product.md
      • tech-stack.md
      • conventions.md
      • optional principles.md
      • optional <domain>.md
    • Use .ai/sdd/ for SDD artifacts:
      • INDEX.md
      • optional WORKFLOW.md copied or adapted from templates/sdd-workflow.md
      • handoff/ directory for future .ai/sdd/handoff/sdd-brief.md
      • optional PLAN.md as draft only if the user wants planning now
    • Keep generated starter docs concise and mark uncertain items as Open Questions.

Read the full file on GitHub · 152 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. 8d ago First seen · 152 lines · 73 tokens per session scan A 038b48d597e7

Subscribe to this mod's changes

sdd-init is a skill published in the GitHub repository felipefontoura/pi-sdd-kit (22 stars, last pushed 2mo ago), licensed MIT. It adds 73 tokens to every session and 1,326 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

surf

Control Chrome browser via CLI for testing, automation, and debugging. Use when the user needs browser automation, screenshots, form filling, page inspection, network/CPU emulation, DevTools streaming, or AI queries via ChatGPT/Gemini/Perplexity/Grok/AI Studio.

w-winter/dot314 · 60 tokens

prose-review

Review prose written for others (e.g., user-facing documentation, prompts for other LLMs, reports, plans, inline comments, docstrings) for local jargon leakage, orphaned references, missing grounding, and audience or genre mismatch. Always run on prose you produce or materially edit, except for routine conversational…

w-winter/dot314 · 84 tokens

text-search

Search indexed text corpora with qmd. For indexed content, prefer qmd over grep.

w-winter/dot314 · 22 tokens

repoprompt-tool-guidance-refresh

Refresh RepoPrompt tool guidance when the CLI/MCP surface changes. Tracks RepoPrompt CE (rpce-cli, the maintained target) across versions, and can diff the frozen Classic CLI (rp-cli) against CE. Uses /.pi/agent/skills/repoprompt-tool-guidance-refresh/scripts/track-rp-version.sh to capture/diff --help and -l (tool…

w-winter/dot314 · 115 tokens

xcodebuildmcp

Build/test Xcode projects via the XcodeBuildMCP MCP server using a local CLI wrapper for pi (no MCP support). Use when the user mentions Xcode, xcodebuild, iOS builds/tests, or XcodeBuildMCP.

w-winter/dot314 · 56 tokens

open-pencil

Work with Figma .fig design files and the running OpenPencil editor — inspect structure, query nodes, analyze design tokens, export PNG/SVG/PDF/JSX, and modify designs programmatically. Use when asked to open, inspect, export, analyze, or edit .fig files, or to control the running OpenPencil app.

open-pencil/skills · 73 tokens