karpathy-project-wiki
Installation
SKILL.md
Karpathy Project Wiki
Auto-maintain a living knowledge base for your codebase. Based on Karpathy's LLM Wiki pattern adapted for source code: the LLM reads your project, builds interlinked markdown documentation, and keeps it current as the code evolves. You never write the docs — the LLM does.
Decision tree
Does wiki/ exist in the project?
├─ No → User says "init project wiki" or "document this project" → Run INIT
├─ Yes →
│ ├─ Code changed since last log.md entry? → Run INGEST
│ ├─ User asks about architecture, patterns, modules? → Run QUERY
│ ├─ User says "lint docs", "check wiki", "find gaps"? → Run LINT
│ └─ Major refactor or new module added? → Run INGEST (structural)
How this differs from karpathy-wiki
- No raw/ directory — the codebase IS the source material
Related skills