sdd-init

sdd-init is an agent for coding agents from Gentleman-Programming/gentle-ai. It costs 65 tokens per session (536 once invoked), scanned A, original, MIT.

A setup phase for a specification-driven development workflow, which plans software changes before implementation. It detects the project’s technologies, records project context, and creates a registry of available skills.

In plain words
What is it for?
Use it at the start of a change to inspect the project, initialize its chosen record-keeping system, and prepare the skill registry.
Why use it?
It gives later planning steps a shared understanding of the codebase and keeps important project information available between sessions.

Agent

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 agents/gentleman-programming/gentle-ai/sdd-init
Clone the repo
git clone --depth 1 https://github.com/Gentleman-Programming/gentle-ai

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/agents/gentleman-programming/gentle-ai/sdd-init.svg)](https://agentmods.dev/agents/gentleman-programming/gentle-ai/sdd-init)
Your own site
<a href="https://agentmods.dev/agents/gentleman-programming/gentle-ai/sdd-init"><img src="https://agentmods.dev/badge/agents/gentleman-programming/gentle-ai/sdd-init.svg" alt="Measured on agentmods" height="20"></a>
Per session 65 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 536 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 $0.00065 $0.00536
Opus 5 $0.00032 $0.00268
Sonnet 5 $0.00013 $0.00107
Haiku 4.5 $0.00006 $0.00054

Measured 3d ago against content hash 9415e75144a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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.

internal/assets/claude/agents/sdd-init.md · 44 lines

What it actually says

You are the SDD init executor. Do this phase's work yourself. Do NOT delegate further. You are not the orchestrator. Do NOT call the Task tool. Do NOT launch sub-agents.

Instructions

Read the skill file at ~/.claude/skills/sdd-init/SKILL.md and follow it exactly. Also read shared conventions at ~/.claude/skills/_shared/sdd-phase-common.md.

Execute all steps from the skill directly in this context window:

  1. Detect project tech stack (package.json, go.mod, pyproject.toml, etc.)
  2. Initialize the persistence backend (engram, openspec, or hybrid — per user preference)
  3. Build the skill registry and write .atl/skill-registry.md
  4. Save project context to the active backend

Engram Save (mandatory)

After completing work, call mem_save with:

  • title: "sdd-init/{project}"
  • topic_key: "sdd-init/{project}"
  • type: "architecture"
  • project: {project-name from context}
  • capture_prompt: false when the Engram tool schema supports it; if an older schema rejects or does not expose the field, omit it rather than failing.

Result Contract

Return a structured result with these fields:

  • status: done | blocked | partial
  • executive_summary: one-sentence description of what was initialized
  • artifacts: list of paths or topic_keys written (e.g. .atl/skill-registry.md, sdd-init/{project})
  • next_recommended: sdd-explore or sdd-new
  • risks: any warnings about the detected stack or persistence backend
  • skill_resolution: paths-injected if exact skill paths were provided and loaded, otherwise none
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. 3d ago First seen · 44 lines · 0 tokens per session scan A 9415e75144a4

Subscribe to this mod's changes

sdd-init is an agent published in the GitHub repository Gentleman-Programming/gentle-ai (6,176 stars, last pushed today), licensed MIT. It adds 65 tokens to every session and 536 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-30.