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/scaffoldnpx skills add genkovich/sdd --skill scaffoldgit clone --depth 1 https://github.com/genkovich/sddWrote 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.
[](https://agentmods.dev/skills/genkovich/sdd/scaffold)<a href="https://agentmods.dev/skills/genkovich/sdd/scaffold"><img src="https://agentmods.dev/badge/skills/genkovich/sdd/scaffold.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00184 | $0.01693 |
| Opus 5 | $0.00092 | $0.00847 |
| Sonnet 5 | $0.00037 | $0.00339 |
| Haiku 4.5 | $0.00018 | $0.00169 |
Grade A, and why
scaffold 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 5d 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 — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: scaffold
The materialization step between survey's greenfield foundation and the first feature. survey
fixes the foundation (stack / structure / conventions in docs/architecture-map.md, marked
mode: greenfield-bootstrap) and emits the scaffold plan (docs/features/_scaffold/tasks.json,
tasks S1–S5 per ../survey/references/foundation.md);
scaffold turns that plan into a repo that builds, boots, tests and migrates — then the normal
per-feature flow (specify → … → implement) builds into it. This skill exists so the greenfield
handoff is a real gate, not a wave of the hand: _scaffold is not a feature (no .size, no
.route, no ACs), so it never enters implement's engine or its team/workflow decision tree.
The skeleton smoke test is the TDD anchor (canonical here). Scaffold tasks have no feature ACs, so red→green anchors on the structural smoke test: RED = the project does not build / boot / the tooling doesn't run; GREEN = build + boot + the empty test suite + the migration tool all succeed. That keeps the discipline meaningful for structural work — no per-folder TDD theatre.
Owner
Architect / Tech Lead — the same person who fixed the foundation in survey.
Inputs
docs/architecture-map.mdwithmode: greenfield-bootstrap— the decided stack, module structure, conventions, and the machine keys (build_cmd,test_cmd,lint_cmd,migration_tool,frontend).docs/features/_scaffold/tasks.json— the S1–S5 scaffold plan (layer: scaffold,slug: "_scaffold").
Protocol
- Hard gate. Both inputs must exist:
docs/architecture-map.mdwhose frontmatter saysmode: greenfield-bootstrap, ANDdocs/features/_scaffold/tasks.jsonparsing as the scaffold contract (slug: "_scaffold",layer: scaffoldtasks withid/title/deps/dod/files_hint). Either missing → refuse: «runsurveyfirst — its greenfield session fixes the foundation and emits the scaffold plan». A map without the greenfield marker means the repo is already real — refuse too and point at/sdd:specify <slug>. If the skeleton already exists (every S-task's output present and the smoke test green), say so and STOP — nothing to materialize. - Read the foundation. From the map: stack, folder/module structure, conventions catalog, the
machine keys. From
tasks.json: the S-tasks in dependency order. The map is the only source of decisions — scaffold never re-litigates stack/style choices (that wassurvey's session). - Materialize sequentially inline. Execute the S-tasks one by one in dependency order, in this
session — deliberately no agent team, no Workflow, no
implementdecision tree:_scaffoldhas no.size/.route, and five structural tasks need no orchestration. Per task: create the files itsfiles_hintnames, to the map's conventions; verify itsdod; record it done. A task that genuinely doesn't apply (e.g. no datastore → the migration task) is explicitly dropped with a stated reason — never silently skipped. - Drive the smoke test green. Write the smoke test as part of the harness task, then run the full anchor with the map's machine-key commands: build + boot + the empty test suite + the migration tool (apply + revert). Iterate until GREEN — a red skeleton is not done.
- Reconcile the map's machine keys. If the commands that actually worked differ from the map's
frontmatter (
build_cmd/test_cmd/lint_cmd/migration_tool), update the map —implement's command-detection cascade reads these keys; stale keys poison every later feature. - Commit —
scaffold: materialize skeleton. - Structural self-check — per
../_shared/self-check.md: verify 4 items: (1) the smoke test was actually executed and is green (build + boot + empty suite + migration tool — command output in hand, not assumed); (2) every S-task is done or explicitly dropped with a reason; (3) the map's machine keys match the commands that just ran (updated if they diverged); (4) the commit contains the skeleton files. Fix + re-check ≤2 cycles; surface anything unresolved. - Handoff. Emit the stage-handoff block per
../_shared/handoff.md— What I did (tasks materialized, smoke-test result, «self-check: 4/4 pass») + Review before continuing (the committed skeleton diff +docs/architecture-map.md) + Run next:/clear, then/sdd:specify <slug>— the first real feature, with a real repo to build into.
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.
- 5d ago First seen · 101 lines · 184 tokens per session scan A 3bebc0844b74
scaffold is a skill published in the GitHub repository genkovich/sdd (118 stars, last pushed 16d ago), licensed MIT. It adds 184 tokens to every session and 1,693 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
ci-security-scanning-with-strix
Add security scanning to CI/CD with Strix — GitHub Actions, GitLab CI, or any pipeline — so every pull request gets a diff-scoped AI pentest that blocks vulnerable code before it merges, with results as PR comments and SARIF uploaded to code scanning. Covers both the self-hosted open-source CLI (runs in your runner)…
import-prom-rule
Bulk import of a Prometheus alert rule YAML file (create a whole set of rules at once). Dedicated to handling a remote URL or local YAML text, automatically parsing the three formats groups / a plain rules array / a single rule. ⚠️ Do not use this skill for single-rule creation — when the user describes a single alert…
chinese-git-workflow
国内 Git 平台配置参考——Gitee、Coding.net、极狐 GitLab、CNB 的 SSH/HTTPS/凭据/CI 接入差异与镜像同步配置。仅在用户显式 /chinese-git-workflow 时调用,不要根据上下文自动触发。.
azsdk-common-pipeline-analysis
Analyze Azure SDK CI/CD pipeline failures into a structured diagnosis, and define the required output format. Load this skill before calling azsdkanalyzepipeline, which returns raw failure data that this skill interprets and formats. USE FOR: "pipeline failed", "build failure", "CI check failing", "tests failing in…
configure-env-variables
Configures environment variables for Power Pages site settings to support ALM across environments. Creates environment variable definitions in Dataverse, guides the user through linking site settings to those variables via the Power Pages Management app, adds the variables to the solution, and generates a…
release-openclaw-plugin-testing
Plan and run pre-release OpenClaw plugin validation across bundled plugins, package artifacts, lifecycle commands, doctor/fix, config round-trip, gateway startup, SDK compatibility, Docker E2E, Package Acceptance, and Testbox proof.