init
Explicit V3 bootstrap for repositories that do not already have valid llmdoc knowledge.
Default V3 operating skill for llmdoc-enabled projects. Route discovery — exploring the codebase, locating a concept or contract, judging the blast radius of a change — through the llmdoc CLI instead of broad file crawling.
$ npx -y skills add TokenRollAI/llmdoc --skill llmdoc --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/llmdocContext preview
The summary Claude sees to decide when to auto-load this skill.
Default V3 operating skill for llmdoc-enabled projects. Route discovery — exploring the codebase, locating a concept or contract, judging the blast radius of a change — through the llmdoc CLI instead of broad file crawling.
name: llmdoc description: "Default V3 operating skill for llmdoc-enabled projects. Route discovery — exploring the codebase, locating a concept or contract, judging the blast radius of a change — through the llmdoc CLI instead of broad file crawling." allowed-tools: Read, Glob, Grep, Bash, Write, Edit, WebSearch, WebFetch
Use the CLI to retrieve durable architecture, constraints, and working agreements from V3 `llmdoc/` projects. Run commands as `npx -y @tokenroll/llmdoc <cmd>`.
Apply this gate before the first discovery action of a task, and again whenever investigation crosses into a new subsystem. Choose the one entry point that matches the intent:
| Intent | Entry point | |---|---| | Concept, contract, term, "where is X?" | `search <query>` | | Background or blast radius of concrete source files | `context --files <path...>` | | Cold start, unclear scope | `tree` | | Known topic or document kind | `index --topic <topic>` / `--kind <kind>` | | Bodies of documents already identified | `show <path...>` |
The gate guards broad native discovery: recursive or cross-directory exploration with Read, Grep, Glob, or shell outside a working set llmdoc has already narrowed.
Once llmdoc has narrowed that working set, native tools own the exact facts — source text, line numbers, test behavior, counts, git state. The knowledge surface deliberately does not duplicate those.
These entry points are alternatives, not a sequence. Stop as soon as the task has enough context; that permission applies after choosing an entry point, never instead of choosing one.
`status` and `delta` are not retrieval. Use them to assess staleness or to prepare `/llmdoc:update`, where `delta` decides light vs deep.
`@tokenroll/llmdoc` is external tooling, not a project dependency. `-y` lets a missing package resolve into the npm cache without a prompt.
Strong reflection signals expose a reusable project or workflow lesson:
Skip transient tool failures, trivial typos, speculation, and one-task preferences unless marked durable.
On a strong signal, continue the task and give `reflector` compact evidence while context is fresh. It writes a privacy-safe candidate under `.llmdoc-tmp/reflections/pending/`, never the transcript or tracked knowledge. A pending candidate triggers update review even with no source delta. At task end, name the lesson and ask once to run `/llmdoc:update --reflection <path>`; wait for authorization.
On compact or resume, keep `LLMDOC_STATE` small and practical:
If that state is still sufficient, continue without re-running `tree`, `index`, or prior `show` reads.
Persistent engineering context that helps coding agents understand a repository without rediscovering its architecture every session. Preserve decisions, constraints, and cross-module contracts that source code does not explain cheaply.
Repo: TokenRollAI/llmdoc
Explicit V3 bootstrap for repositories that do not already have valid llmdoc knowledge.
Explicit V3 convergence pass that removes duplicated, fragmented, or low-value…
Explicit V3 semantic verification and sync of existing llmdoc knowledge against the current…
Explicit V2 to V3 migration surface. Never suggest this command implicitly.