llm-wiki
Installation
SKILL.md
LLM Wiki
A persistent, compounding personal knowledge base. The wiki grows richer with every source you ingest and every question you answer. Unlike RAG, knowledge is compiled once and kept current — not re-derived on every query.
Based on Karpathy's LLM Wiki pattern: https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f
Directory Structure
All wiki files live in wiki/ inside the workspace ($WIKI_DIR, defaults to ./wiki/ if not set):
wiki/
├── index.md ← catalog of all pages (update on every ingest)
├── log.md ← append-only chronological record of operations
├── raw/ ← source documents (immutable — read only, never modify)
└── pages/ ← LLM-maintained wiki pages (you own this layer entirely)
On first use, create this structure if it doesn't exist.