Based on Karpathy's llm-wiki pattern — using LLMs to incrementally build and maintain a persistent, interlinked wiki from raw sources rather than re-deriving knowledge on every query.
Copy the prompt below into Claude Code, Codex, or any LLM agent with file access. It will scaffold the wiki, configure the tooling, and update your CLAUDE.md with the schema. Then you just start ingesting sources.
I want to set up the llm-wiki pattern in my Obsidian vault. Follow this guide exactly: