Initialize
Open Claude Code in your project directory and run:The plugin scans your project for markdown-heavy directories, samples 10–15 representative files, and proposes a custom article structure that fits your domain. For example:
- A product team’s wiki might get: Summary — Timeline — Key Decisions — Experiments & Results — Gotchas — Open Questions — Sources
- A research wiki might get: Summary — Key Findings — Methodology — Evidence — Gaps & Contradictions — Open Questions — Sources
.wiki-compiler.json to your project root and creates the output directory structure.Compile
Run the compiler to build your first wiki:The compiler reads all your source files, classifies them into topics, and writes one article per topic into your output directory. It also generates a When it finishes, you’ll see a summary showing how many topics were created, how many source files were processed, and any concept articles discovered (cross-cutting patterns that span three or more topics).
schema.md that defines your wiki’s structure and naming conventions.The first compile takes 5–10 minutes depending on how many files you have. After that,
/wiki-compile is incremental — it only recompiles topics whose source files changed.Browse the wiki
Open the output directory in Obsidian (or any markdown viewer) and start with Spot-check a few articles to confirm they accurately reflect your knowledge before wiring the wiki into your agent instructions.
INDEX.md. It lists all compiled topic articles with a one-line summary of each.Each topic article includes coverage indicators so you know how thoroughly the wiki covers that section:Add to AGENTS.md
Once you’re satisfied with the output, add the following to your project’s After saving, Claude automatically reads the wiki at the start of every session — no extra commands needed. High-coverage sections save tokens by replacing raw file reads. Low-coverage sections point Claude to the exact raw files it needs.
AGENTS.md (or CLAUDE.md). Replace {your output path} with the path you configured during /wiki-init.What’s next
Commands
Full reference for all
/wiki-* commands, including /wiki-ingest, /wiki-search, and /wiki-lint.Adoption modes
Graduate from
staging to recommended to primary as your trust in the wiki grows.AGENTS.md integration
Detailed guide to wiring the wiki into your agent instructions.
Incremental updates
Keep the wiki current as your source files change.