/llmdoc:upgradefrom llmdoc
Migrates the llmdoc knowledge surface from V2 to V3 layout. Only use on explicit user request — never suggest proactively.
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, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this command only for an explicit legacy-to-V3 migration.
Do not suggest this command proactively. Do not mention its internals outside this file.
CLI commands below run as npx -y @tokenroll/llmdoc <cmd>.
An explicit /llmdoc:upgrade invocation authorizes this run to:
llmdoc/ surface into the V3 layoutllmdoc/meta.json.llmdoc-tmp/investigations/This command should run against a rollback-safe git state.
git status -- llmdoc/ must be clean before the first formal write.git checkout -- llmdoc/ plus deleting newly created files, restoring the pre-migration legacy surface; never hand-edit files back.Map the legacy knowledge surface.
investigator to identify the current legacy structure, surviving durable knowledge, and obsolete material.Run the deterministic CLI migration or diagnostic path.
upgrade.Finalize with recorder.
Validate before reporting success.
init-state when no llmdoc/meta.json survives the migration; validate cannot pass without a ledger.adopt <path...>; never hand-edit meta.json or rebuild existing bodies through new.validate and repair every failure it reports.commit --all -m "<message>".source: init; later convergence changes belong only to prune.success: CLI migration completed, recorder follow-up succeeded, and validation passed.no_change: the declared scope was fully verified and no migration write was needed.dry_run: migration diagnostics or a plan was produced without writing llmdoc/; do not advance state.incomplete: evidence was insufficient, user input is required, or normal update/prune is needed; roll back writes and do not advance state.failed: migration failed and writes were rolled back.Always report:
upgrade resultvalidate and commit resultsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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./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.Other plugins' skills for the same job