/llmdoc:initfrom llmdoc
Bootstraps V3 llmdoc knowledge surface for repositories without existing valid llmdoc/ directory. Inventories codebase, builds topic-organized docs, and validates structure.
Ships in llmdoc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this command only when the repository does not already have valid V3 llmdoc/.
Load the llmdoc skill before broad exploration. CLI commands below run as npx -y @tokenroll/llmdoc <cmd>.
An explicit /llmdoc:init invocation authorizes this run to:
llmdoc/, .llmdoc-tmp/, and llmdoc/meta.jsonrecorder.llmdoc-tmp/investigations/Stop instead of improvising when:
llmdoc/ already exists: tell the user to run /llmdoc:updategit status -- llmdoc/ must be clean before the first formal write.llmdoc/ surface (it did not exist before this run); never leave a half-bootstrapped tree behind.validate fails after writes, revert the init write-set before reporting failure.Inventory the repository surface.
investigator subagents for complementary evidence scopes when the repository is large enough to benefit; keep their write ownership in .llmdoc-tmp/.recorder.Build the first V3 knowledge surface with recorder.
llmdoc/ and validity state in llmdoc/meta.json.index.mdx entry node.sources, or deliberate document preload, read Startup Configuration and create llmdoc.config.json; otherwise do not add optional config during bootstrap.Validate before reporting success.
init-state (writes meta.json with null revisions), then run validate and fix all schema, routing, and reference failures.validate as structural only. After it passes, run the reference's Context Floor acceptance: natural-query searches, per-boundary context --files probes, broad-glob precision probes, and tree --docs plus index/context relation review.init-state already seeded the ledger get their entries via adopt <path...>; never hand-edit meta.json or recreate existing files through new.commit --all -m "docs: bootstrap llmdoc" — it commits the surface, brands fingerprints, and lands the meta follow-up commit in one step.source: init; failed, incomplete, and dry-run paths never change it.success: V3 surface created, validated, and baseline initialized.no_change: the declared scope was fully checked and no write was needed.dry_run: investigation or planning completed without writing llmdoc/; do not advance state.incomplete: init was refused (valid V3 already exists, legacy migration is required) or evidence/user input was insufficient; roll back writes and do not advance state.failed: bootstrap failed and writes were rolled back.Always report:
validate and commit resultsincomplete, not successWhat SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/dreamExplicit V3 offline consolidation pass (Harness cron friendly) that audits frequently accessed stale docs without git diff, clusters cross-session reflections into single owners, repairs search blind spots, trims startup preload bloat, and runs routing eval./llmdocDefault V3 operating skill for llmdoc-enabled projects. Route discovery — exploring code, locating contracts, judging blast radius, configuring llmdoc.config.json (preload, budget, reminders, external @source/ mounts), running llmdoc eval probes, or offline /llmdoc:dream consolidation — through the llmdoc CLI instead of broad file crawling./pruneExplicit V3 convergence pass that removes duplicated, fragmented, or low-value reconstructable llmdoc content./updateExplicit V3 semantic verification and sync of existing llmdoc knowledge against the current repository./upgradeExplicit V2 to V3 migration surface. Never suggest this command implicitly.npx claudepluginhub tokenrollai/llmdoc --plugin llmdocOther plugins' skills for the same job