bootstrap

bootstrap is a command for coding agents from Kaddo-kdd/kaddo. It costs 21 tokens per session (1,158 once invoked), scanned A, original, MIT.

A command that creates a starter set of project-knowledge files for new, existing, or legacy projects. It uses templates and placeholders; it does not write source code or make architecture decisions.

In plain words
What is it for?
Use it to create initial files about the business, product, capabilities, codebase, current state, technical decisions, and delivery plans.
Why use it?
It gives a project a consistent knowledge structure before you begin filling in details. This makes missing information and unanswered questions visible.

Command

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 commands/kaddo-kdd/kaddo/bootstrap
Clone the repo
git clone --depth 1 https://github.com/Kaddo-kdd/kaddo

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 bootstrap

README.md
[![agentmods](https://agentmods.dev/badge/commands/kaddo-kdd/kaddo/bootstrap.svg)](https://agentmods.dev/commands/kaddo-kdd/kaddo/bootstrap)
Your own site
<a href="https://agentmods.dev/commands/kaddo-kdd/kaddo/bootstrap"><img src="https://agentmods.dev/badge/commands/kaddo-kdd/kaddo/bootstrap.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,158 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.00021 $0.01158
Opus 5 $0.00010 $0.00579
Sonnet 5 $0.00004 $0.00232
Haiku 4.5 $0.00002 $0.00116

Measured 4d ago against content hash f27041c49352, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bootstrap 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 4d 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.

apps/docs/src/content/docs/commands/bootstrap.md · 105 lines

How it starts

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

kaddo bootstrap

kaddo bootstrap creates the structural knowledge baseline Kaddo expects. It is not "new-project bootstrap" — it is knowledge-baseline bootstrap and applies to every project type. What changes by project.state is the template content and orientation, not whether bootstrap applies:

State Orientation
new intent — product vision, planned capabilities, initial technical direction
pre-ai discovery — current state, observed capabilities, assumptions, open questions
legacy risk — constraints, criticality, dependencies, technical debt, modernization

bootstrap is deterministic: it never calls an LLM, never generates source code, never decides the architecture, never installs agents/skills, and never runs scan/context/git. It writes starter templates (with placeholders, assumptions and [open] questions) that you then refine with agents.

What it creates

The common baseline (files + directories), with state-aware content:

knowledge/business/business.md
knowledge/product/product.md
knowledge/product/capabilities.md
knowledge/tech/codebase.md
knowledge/tech/current-state.md
knowledge/tech/decisions/
knowledge/delivery/roadmap.md
knowledge/delivery/work-items/

Every generated file carries project_state: in its front matter. pre-ai and legacy templates add discovery/risk sections (e.g. Observed technical signals, Risks of interpretation, Critical dependencies, Modernization notes).

Existing capability discovery (pre-ai / legacy)

For existing projects, knowledge/product/capabilities.md is scaffolded as an evidence-backed capability inventory, not a wishlist. The capability-agent fills it in a state-aware way:

  • newPlanned Capability Definition ([planned] capabilities).
  • pre-aiExisting Capability Discovery — a ## Capability Domains map where capabilities are grouped by functional domain (### Domain: <name> with a Purpose + Evidence summary), each #### Capability: carrying a Status (implemented/partial/inferred/risky/deprecated/unknown) with evidence (paths, routes, tables, functions), plus ## Capability Gaps and ## Roadmap Candidate Signals (each naming its Domain + Related capability).
  • legacyLegacy Capability Discovery — the same domain map plus Criticality, Change risk, Operational dependency and Modernization notes per domain/capability.

Read the full file on GitHub · 105 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. 4d ago First seen · 105 lines · 21 tokens per session scan A f27041c49352

Subscribe to this mod's changes

bootstrap is a command published in the GitHub repository Kaddo-kdd/kaddo (47 stars, last pushed 1mo ago), licensed MIT. It adds 21 tokens to every session and 1,158 once invoked, about $0.0001 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.