/llmdoc:llmdocfrom llmdoc
Operates llmdoc-enabled projects via CLI: searches architecture docs, traces contracts and blast radius, configures llmdoc.config.json, runs eval probes, and consolidates offline. Replaces broad file crawling with structured retrieval.
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.
Read when SKILL.md points to them.
Use npx -y @tokenroll/llmdoc <cmd> to retrieve durable architecture, constraints, and working agreements from V3 llmdoc/ projects.
Before broad discovery (and when entering a new subsystem), pick one CLI entry point matching your intent:
| Intent | Entry point |
|---|---|
| Concept, contract, or "where is X?" | search <query> |
| Owners and blast radius of source files | context --files <path...> |
| Cold start or unclear scope | tree |
| Known topic, source, or kind | index --topic <topic|@source> / --kind <kind> |
Bodies of identified docs (local or @source/) | show <path...> |
Once llmdoc narrows the working set, use native tools for live facts (source text, line numbers, tests, git state). Stop retrieving once context is sufficient.
Maintenance commands are not routine retrieval: use delta for /llmdoc:update, dream --report / dream --check for /llmdoc:dream (and external Harness cron), and eval for llmdoc.probes.json.
@tokenroll/llmdoc to the project's package.json/lockfile, and never call bare npx llmdoc. Pin with @<version> when reproducibility matters..llmdoc-tmp/ (telemetry is only persisted when .llmdoc-tmp/telemetry/access.jsonl is gitignored and untracked).llmdoc/ writes belong to recorder; llmdoc/meta.json changes go through CLI only (new, adopt, mv, fingerprint, commit).llmdoc/ is missing, suggest /llmdoc:init./llmdoc:update; run periodic offline consolidation with /llmdoc:dream (or via Harness cron gated by dream --check --quiet). Never suggest /llmdoc:upgrade unless explicitly requested.llmdoc.probes.json, read Knowledge Topology.llmdoc.config.json (reminders, startup.preload, preloadBudgetTokens, external @source/), read Startup Configuration. External @source/ docs are read-only; refresh with status --refresh.Capture a lesson when work exposes reusable insight that prevents future mistakes (durable user correction, verified false assumption, major rework, or missing signal). Skip transient errors, typos, speculation, and one-off preferences.
Pass compact evidence to reflector while fresh; it writes a privacy-safe candidate under .llmdoc-tmp/reflections/pending/ (never transcripts or tracked docs). At task end, name the lesson and offer /llmdoc:update --reflection <path> or let /llmdoc:dream consolidate it later.
Preserve concise LLMDOC_STATE across compaction (goal, read docs, invariants, decisions, next action, risks, pending candidates) and resume without replaying prior reads.
investigator: scoped current-state evidence under .llmdoc-tmp/reflector: privacy-safe candidates under .llmdoc-tmp/reflections/pending/recorder: sole writer of tracked llmdoc/ knowledgeWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub tokenrollai/llmdoc --plugin llmdoc6 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./initExplicit V3 bootstrap for repositories that do not already have valid llmdoc knowledge./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.Other plugins' skills for the same job