Vault / raw/2026-05-28-karpathy-vault-pattern.md
Karpathy's LLM Wiki pattern
Source: https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f
Three-layer model
- Raw sources — immutable files (articles, PDFs, transcripts).
- The wiki — LLM-generated/curated markdown pages: summaries, synthesis, cross-references.
- The schema — a config doc capturing conventions and workflows so future-you (or an LLM) can keep contributing without breaking the pattern.
Spine files
index.md— catalog by category with one-line summaries.log.md— append-only chronological record. Format:## [YYYY-MM-DD] kind | Title.schema.md— conventions doc.
Operational tips
- Set Obsidian "Attachment folder path" to a fixed directory so images go to one place.
- Use
Ctrl+Shift+Dto download remote images locally (avoid link rot). - Use frontmatter so Dataview can build dynamic tables/lists.
- Graph view surfaces orphans worth linking.
- Web Clipper + Marp are useful auxiliaries.
Key insight
"The wiki is just a git repo of markdown files."
Version history, blame, branches, and team collab fall out for free.