LLM Wiki
An open-source template repository for building an LLM-maintained knowledge base: raw sources go in one folder, and an LLM ingests them into cross-linked wiki pages, answers questions by citing those pages, and audits the wiki for problems on request.
LLM Wiki follows Andrej Karpathy's LLM Wiki pattern in three layers: a raw folder holding immutable source material such as articles, transcripts or notes; a wiki folder of pages the LLM writes and maintains, including summaries, concepts, entities and syntheses; and a CLAUDE.md file that defines the schema telling the LLM how to structure everything for a given domain.
Three operations drive the workflow. Ingesting a source has the LLM create a summary page, create or update concept and entity pages, add cross-links, and update the index; asking a question has it search the wiki and answer with citations, optionally creating a synthesis page for a novel insight; and running a lint has it audit every page for orphans, contradictions, missing links and low-confidence claims, fixing what it can and reporting the rest. An optional Dataview dashboard surfaces low-confidence pages, recent updates and concepts by tag.