/llmdoc:prune [--scope <topic|path...>] [summary]from llmdoc
Removes duplicated, fragmented, or low-value reconstructable content from llmdoc/ knowledge files. Use when knowledge needs convergence after growth or duplication.
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 existing llmdoc/ knowledge needs convergence after growth, duplication, fragmentation, or accumulation of reconstructable implementation inventory.
Load the llmdoc skill before broad exploration. CLI commands below run as npx -y @tokenroll/llmdoc <cmd>.
An explicit /llmdoc:prune invocation authorizes this run to:
llmdoc/llmdoc/meta.jsonllmdoc.config.json when adjusting startup.preload entries for merged, deleted, or over-budget documents.llmdoc-tmp/investigations/ when neededThis command does not authorize source-code edits.
git status -- llmdoc/ must be clean before the first formal write; when adjusting startup.preload, git status -- llmdoc.config.json must also be clean.git checkout -- llmdoc/ (plus deleting any newly created files under llmdoc/, and restoring any llmdoc.config.json changes made during this run); never hand-edit files back.validate or eval fails after pruning writes and cannot be repaired in-run, roll back the entire prune write-set (llmdoc/ and any run-owned llmdoc.config.json edits) before reporting failure.Run prune --report.
Decide the convergence plan with recorder.
mv handles direct renames automatically.Re-validate the result.
startup.preloadBudgetTokens soft-budget warning (return lower-frequency docs to progressive description/tree disclosure when over budget, or intentionally justify/raise the soft budget).validate, and run eval when llmdoc.probes.json exists.prune --report and compare document/token scale with the first report.code.paths. Do not attach unrelated paths merely to preserve a coverage metric; call out any intentional coverage reduction.commit -m "<message>" --refresh-convergence, which removes Git-deleted ledger entries, fingerprints the surviving docs, refreshes the convergence baseline, and lands the meta.json follow-up commit automatically. Because llmdoc commit commits only llmdoc/ and llmdoc/meta.json, commit any llmdoc.config.json preload updates separately with Git.success only when durable knowledge density or routing materially improves. Refresh convergence only when scale declines without losing justified mappings; otherwise repair, roll back, or report no_change as appropriate.prune updates convergence state only on successful validated convergence.prune must not advance the full baseline unless it explicitly performs a full successful sync as part of the same run.success: knowledge density or routing materially improved, the result validated, and convergence state was updated when applicable.no_change: the declared scope was fully verified and no justified convergence action remained.dry_run: the user asked for a dry run, or only prune --report/planning output was produced without writing llmdoc/; do not advance state.incomplete: evidence was insufficient, user input is required, or the request belongs to a different explicit workflow; roll back writes and do not advance state.failed: prune failed and writes were rolled back.Always report:
prune --report signal that justified the runvalidate and commit resultsWhat 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./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