Skip to content

Commands overview

These commands group into Kaddo’s four operating momentsBase → Definition → Projection → Execution — which explain when each one is used.

Command responsibility matrix

Each command answers one question and has a clear next step:

CommandQuestion answeredSuggested next
kaddo initHow do I start a Kaddo project?kaddo bootstrap
kaddo bootstrapWhat minimum knowledge should exist?kaddo add agents, then kaddo context
kaddo scanWhat technical signals exist in the repository?kaddo explain or kaddo context
kaddo contextWhat should I give to an LLM?Use the recommended agent (kaddo understand)
kaddo understandWhat should I do now?Execute the recommended action
kaddo explainWhat does Kaddo know?kaddo understand
kaddo create --from roadmapHow do roadmap candidates become Work Items?Refine with the work-item-agent
kaddo owners suggestWho owns this code?kaddo guard
kaddo guardIs knowledge drifting from code?Update the affected knowledge
kaddo add agentsWhich agents are available?kaddo understand
kaddo capsule exportHow do I share this project as external context?refine with the capsule-agent, then share
kaddo capsule add <path>How do I consume another system as external context?kaddo context (External Knowledge)
kaddo graph exportHow is my project knowledge connected?open .kaddo/graph.mmd or run kaddo explain

scan, context, explain and understand also print this — a Question answered / Suggested next footer — at the end of their output, so the next step is always one glance away.

New project

init → bootstrap → add agents → context → business-agent → product-agent →
codebase-agent → roadmap-agent → create --from roadmap → work-item-agent →
implementation-agent

Active development

implementation-agent → scan → owners suggest → guard → explain

Lost / unsure — run kaddo understand. It always answers “What should I do now?” from the real knowledge state.

Commands in workflow order:

CommandWhat it does
kaddo initInitialize Kaddo in the current project
kaddo bootstrapBuild the initial knowledge base for a new project (Business → Product → Tech → Delivery)
kaddo scanDetect project stack and suggest domains
kaddo contextGenerate an LLM context pack for agent handoff
kaddo add agentsInstall agent prompt packs for your LLM chat
kaddo understandGuide the CLI → LLM handoff with a state-aware agent plan
kaddo create <type> / --from roadmapCreate a Work Item (feature, bugfix, hotfix, spike, chore)
kaddo owners suggestAssistant to declare code: ownership on artifacts
kaddo guardCheck if modified code has related artifacts that were not updated
kaddo explainSummarize what Kaddo currently knows about the project

scan · context · explain · understand

These four are easy to confuse. Each has a distinct purpose, input, output and the question it answers:

CommandPurposeInputOutputAnswers
scanDetect technical signalsthe repository.kaddo/scan.json, knowledge/inventory.md”What is this codebase made of?”
contextPackage knowledge for an LLMknowledge + scan.kaddo/context-pack.md / .json”What does the agent need to know?”
explainSummarize what Kaddo knowsknowledge.kaddo/explain.md / .json”What does Kaddo know?”
understandBuild the CLI → agent handoffknowledge + scan.kaddo/understand.md + recommendation”What should I do now?”
  • scan detects; it never interprets architecture, builds a roadmap or calls an LLM. Run it after significant technical changes or after implementing a Work Item.
  • context consolidates Business → Product → Tech → Delivery + ownership + roadmap + Work Items into a pack. It does not recommend or analyze. Run it before using any agent.
  • explain reports maturity and coverage. It does not recommend agents or build LLM context.
  • understand decides the next step from the real knowledge state (roadmap, Work Items, ownership) — not just project.state — and recommends the agent to run next.

Recommended order: scan → context → understand (then run the recommended agent), and explain any time to inspect state.

Supporting commands:

CommandWhat it does
kaddo statusShow the current state of the Knowledge Repository
kaddo learnClose a Work Item and record what was learned
kaddo classifyDetect classification drift in the diff
kaddo historyList Work Items with filters
kaddo ownersList domain owners
kaddo moduleShow or init the multirepo module descriptor
kaddo capsule exportExport a Knowledge Capsule about this project
kaddo capsule add <path>Import an external Knowledge Capsule as context
kaddo graph exportExport the knowledge graph + hints
kaddo report impactKnowledge Impact Report: health, coverage, traceability, readiness
kaddo savingsEstimated Savings Report: evidence-based time/value estimates
kaddo guard --recordRecord a guard run to .kaddo/history/ for drift trends
kaddo driftDrift Trend Report: warnings detected/resolved over time
kaddo questionsOpen Questions Gate: blocking decisions before the roadmap
kaddo adapters install codexGenerate AGENTS.md so Codex understands the Kaddo flow
kaddo add <module>Install an optional module

Reusable skills standardize how agents do common things well — install them with kaddo add skills. Agents and IDEs can also read all of this knowledge (including skills) directly through the read-only MCP server (@kaddo/mcp) — no manual copy/paste.

Created by Julian Dario Luna Patiño · v3.60.0