# llm-wiki A local knowledge project that continuously compiles raw sources into a structured wiki and produces question-answering and analysis outputs around that wiki. ## Inspiration The overall idea of this project comes from Karpathy's `llm-wiki.md`: https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f Based on that idea, this repository adapts it into a practical three-layer workflow for local maintenance: - `raw/` — source material layer - `wiki/` — structured knowledge layer - `outputs/` — Q&A and analysis layer built on the wiki ## Directory layout - `raw/` — source material, kept unchanged - `wiki/` — structured knowledge pages - `outputs/` — questions, summaries, and analysis - `index.md` — page catalog - `log.md` — activity log - `schema.md` — maintenance rules and page templates ## Workflow 1. Put source material into `raw/`. 2. Read raw sources and extract themes, concepts, conclusions, and conflicts. 3. Write the refined knowledge into `wiki/`. 4. Update `index.md` and `log.md`. 5. Write question-driven outputs into `outputs/`. ## Principles - Keep raw material intact. - Make wiki pages structured, cross-referenced, and maintainable. - Revise the wiki when conflicts or outdated claims appear. - Mark uncertain content with `[待验证]`. ## Use cases - LLM / Agent research notes - Complex knowledge compilation - A persistent personal knowledge base - Reusable Q&A and analysis outputs ## License note The concept is inspired by Karpathy's public gist, while this repository is a local implementation and organization of that idea.