docs · llm wiki

LLM Wiki — a compounding knowledge base.

RAG re-derives knowledge on every question. The LLM Wiki is different: Claude incrementally builds and maintains a persistent wiki from the sources you curate — cross-references already wired, contradictions already flagged. You source and ask; Claude does the summarizing, filing, and bookkeeping.

Three layers

Raw sources (wiki/raw/) — immutable input you curate. Wiki pages (wiki/pages/) — LLM-owned markdown with YAML frontmatter; Claude writes every page. Schema (wiki/schema.md) — tells Claude the focus areas, page types, and tag vocabulary; auto-loaded at session start.

Setup

Opt in via /team-management:config — when wiki/ is absent it offers to scaffold wiki/index.md, wiki/log.md, wiki/schema.md, and wiki/raw/README.md. Toggle with wiki.enabled in config.json (default off). The wiki/ directory is unconditionally whitelisted in the DAIC hook, so wiki edits are never blocked regardless of mode.

Three commands

CommandWhat it does
/team-management:wiki-ingest <file>Read a raw file, discuss takeaways, write a summary page, update related pages, then the index and log.
/team-management:wiki-tune [section]Interactively evolve wiki/schema.md via Q&A.
/team-management:wiki-lintHealth-check: orphan pages, broken links, missing frontmatter, stale or contradictory content.

Security: what not to put in wiki/raw/

wiki/raw/ is tracked in git. Never put secrets there — API keys, tokens, PEM/SSH keys, .env contents. git rm does not remove a file from history; if a secret lands there, rotate the credential and run git filter-repo to purge it. There is no automated secret scanning — this warning is the only guard.