Borrowing it
Nothing to install: this file belongs to drabaioli/cdd. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/drabaioli/cdd/main/.claude/commands/cdd-bootstrap.mdgit clone --depth 1 https://github.com/drabaioli/cddWrote 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/commands/drabaioli/cdd/cdd-bootstrap)<a href="https://agentmods.dev/commands/drabaioli/cdd/cdd-bootstrap"><img src="https://agentmods.dev/badge/commands/drabaioli/cdd/cdd-bootstrap/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.
<a href="https://agentmods.dev/commands/drabaioli/cdd/cdd-bootstrap"><img src="https://agentmods.dev/badge/commands/drabaioli/cdd/cdd-bootstrap.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00000 | $0.02884 |
| Opus 5.5 | $0.00000 | $0.01154 |
| Sonnet 5.5 | $0.00000 | $0.00577 |
| Haiku 4.5 | $0.00000 | $0.00288 |
Grade C, and why
cdd-bootstrap scanned grade C with 1 finding 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 27d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
Then remove the overlay: `rm -rf "$OVERLAY"`. How it starts
The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Scaffold a new greenfield project on the CDD workflow: /cdd-bootstrap (takes no argument).
Run this command from a CDD-repo session (it needs the CDD repo's template/ and bootstrap-cdd-project.sh). This command exists only in the CDD repo; it deliberately has no counterpart in template/.claude/commands/ (it operates on a new target project, so downstream projects have no use for it — see the process doc, Section 2.7). It is the greenfield sibling of /cdd-retrofit: /cdd-retrofit adapts an existing project, /cdd-bootstrap creates a new one.
This is a guided command, not a brief-to-files converter. The discovery conversation is part of the job: you walk the user through defining the project, then encode the result into the initial docs and roadmap, then scaffold the project in a single bootstrap invocation. The generated project starts with a real, filled-in overview, CLAUDE.md, and roadmap — not the template's pre-filled "survey the codebase" bootstrap phase, which is for files-only installs.
The command takes no argument: the project's name, directory, and location all emerge from the discovery conversation, so there is nothing meaningful to pass up front. The target path is proposed and confirmed in step 4, once the identifiers are settled.
Checkpoint discipline: confirm the project definition (step 1), then the draft roadmap (step 2), then the two identifiers and the target location (steps 3–4) — each before moving on. Nothing is rendered until all are approved. The scaffold commit is created only after the roadmap is approved. Outward-facing actions (creating a GitHub repo, editing ~/.bashrc) are confirmed separately and never done silently.
1. Guided discovery
Have a conversation to define the project. Do not dump a rigid questionnaire; ask in natural batches, probe vague or one-word answers, and reflect back what you heard. Cover, at minimum:
- What it is — one paragraph, plain terms.
- Goals — why it exists; the problem it solves or outcome it produces; what success looks like.
- What it does — the high-level capabilities, coarse-grained.
- What it explicitly does not do — the non-goals. Push for these; they are load-bearing and easy to skip.
- Constraints — language/platform, hard technical limits, regulatory/business constraints, compatibility, deadlines.
- Architecture intentions — intended high-level shape: major components, how they relate, external boundaries, structural principles the project commits to.
- Audience — who consumes it (end users, other services, a team, future-you).
- Engineering floor — what the project commits to for tested behaviour, continuous integration, lint & format, and dependency & toolchain hygiene (the negotiable rows of the template contract). Ask this as one batch: nothing exists yet to detect, so the answers are commitments, and most of them will honestly be expected.
- Where issues and code review live — the tracker (where issues live) and the code host (where pull requests are reviewed). Always ask; never assume. Offer GitHub (Issues + pull requests) as the default answer. The answer becomes the project's capability bindings in
.cdd/(process doc Section 2.16), written by the bootstrap script in step 6:- GitHub — bind both to the shipped GitHub adapters.
- Jira for issues — ask for the Jira site (e.g.
acme.atlassian.net) and the project key (e.g.ABC) only. Never ask for credentials: tell the user they setJIRA_EMAILandJIRA_API_TOKENin their own shell. The code host is asked separately. - GitLab — for either capability or both (gitlab.com or a self-managed instance). Ask for the GitLab URL (default
gitlab.com) and the project path (e.g.group/project) only. Never ask for credentials: tell the user they setGITLAB_TOKEN(a token with theapiscope) in their own shell. - Anything CDD ships no adapter for (Bitbucket, …) — say in one line that no binding is written for it and the issue and PR features skip until one is bound; a project adapter can be written later against
doc/architecture/capability-adapters.md.
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.
- 27d ago Changed · +1 lines 50dc62c52596
- 28d ago Changed 9cac14cfe95e
- 29d ago Changed · +8 lines aca4473026b9
- 2mo ago First seen · 125 lines · 0 tokens per session scan C 72bfa4f1d24b
cdd-bootstrap is a command published in the GitHub repository drabaioli/cdd (2 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,884 tokens. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
pdca-plan
Run only the PLAN phase of the PDCA framework (1a analysis, then 1b detailed plan).
pdca-act
Run only the ACT phase of the PDCA framework (retrospective and continuous improvement).
pdca-check
Run only the CHECK phase of the PDCA framework (completeness validation).
pdca-do
Run only the DO phase of the PDCA framework (TDD implementation with active oversight).
pdca
Run the full PDCA framework cycle (Plan, Do, Check, Act) — alias for the pdca-framework skill.
modernize-transform
Transform one legacy module to the target stack — idiomatic rewrite with behavior-equivalence tests.