LLM Wiki — persistent markdown knowledge base that compounds across sessions (Karpathy model)
Persistent, self-maintained markdown knowledge base for project and session knowledge. Inspired by Karpathy's LLM Wiki concept.
Process knowledge into wiki pages. A single ingest can touch multiple pages.
wiki_ingest({ title: "Auth Architecture", content: "...", tags: ["auth", "architecture"], category: "architecture" })
Search across all wiki pages by keywords and tags. Returns matching pages with snippets — YOU (the LLM) synthesize answers with citations from the results.
wiki_query({ query: "authentication", tags: ["auth"], category: "architecture" })
Run health checks on the wiki. Detects orphan pages, stale content, broken cross-references, oversized pages, and structural contradictions.
wiki_lint()
Add a single page quickly (simpler than ingest).
wiki_add({ title: "Page Title", content: "...", tags: ["tag1"], category: "decision" })
wiki_list() # Show all pages (reads index.md)
wiki_read({ page: "auth-architecture" }) # Read specific page
wiki_delete({ page: "outdated-page" }) # Delete a page
View wiki operation history by reading .omc/wiki/log.md.
Pages are organized by category: architecture, decision, pattern, debugging, environment, session-log
.omc/wiki/*.md (markdown with YAML frontmatter).omc/wiki/index.md (auto-maintained catalog).omc/wiki/log.md (append-only operation chronicle)Use [[page-name]] wiki-link syntax to create cross-references between pages.
At session end, significant discoveries are automatically captured as session-log pages. Configure via wiki.autoCapture in .omc-config.json (default: enabled).
.omc/wiki/ is project-local)