/llm-wiki:llm-wikifrom Karpathy LLM Wiki
Build and maintain a personal knowledge base (wiki) using LLMs. Instead of RAG-style retrieval, the LLM incrementally compiles, cross-references, and maintains a persistent structured wiki from raw sources. Use when user wants to create a knowledge base, build a personal wiki, organize research notes, ingest documents into a structured wiki, or maintain a living knowledge repository.
Ships in Karpathy LLM Wiki. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A pattern for building personal knowledge bases using LLMs.
Based on Andrej Karpathy's LLM Wiki.
Instead of RAG (retrieve-on-every-query), the LLM incrementally builds and maintains a persistent wiki — a structured, interlinked collection of markdown files. When you add a new source, the LLM reads it, extracts key information, and integrates it into the existing wiki — updating entity pages, revising topic summaries, noting contradictions, and strengthening the evolving synthesis.
The wiki is a persistent, compounding artifact. Cross-references are already there. Contradictions have been flagged. Synthesis reflects everything you've read. It gets richer with every source and every question.
You never write the wiki yourself — the LLM writes and maintains all of it. You're in charge of sourcing, exploration, and asking the right questions.
Your curated collection of source documents — articles, papers, images, data files. These are immutable. The LLM reads from them but never modifies them. This is your source of truth.
A directory of LLM-generated markdown files — summaries, entity pages, concept pages, comparisons, overview, synthesis. The LLM owns this layer entirely: creates pages, updates them when new sources arrive, maintains cross-references, keeps everything consistent. You read it; the LLM writes it.
A configuration document (this skill) that tells the LLM the wiki's structure, conventions, and workflows. You and the LLM co-evolve this over time.
User drops a new source. The LLM:
A single source may touch 10-15 wiki pages. Prefer ingesting one source at a time for quality.
Ask questions against the wiki. The LLM:
index.md to find relevant pagesPeriodically health-check the wiki. Look for:
The wiki lives at a user-level path so it's accessible from any workspace or conversation:
~/.workbuddy/wiki-knowledge/
This is the default. The LLM should:
~/.workbuddy/wiki-knowledge/ first when the user mentions their wiki, regardless of the current workspace.WIKI-SCHEMA.md, use it directly — no need to ask the user for a path.When a user wants to create a wiki, follow these steps:
Create at ~/.workbuddy/wiki-knowledge/ (or a user-specified path):
wiki-knowledge/
├── raw/ # Immutable source documents
│ └── assets/ # Downloaded images
├── wiki/ # LLM-maintained markdown files
│ ├── index.md # Content catalog
│ └── log.md # Chronological operation log
└── WIKI-SCHEMA.md # Schema & conventions (co-evolve with user)
A catalog of everything in the wiki — each page listed with a link, a one-line summary, and metadata (date, source count). Organized by category. The LLM updates it on every ingest.
Append-only chronological record. Each entry format:
## [YYYY-MM-DD] operation_type | Title
Brief description of what was done.
Use consistent prefixes so it's parseable with grep:
grep "^## \[" log.md | tail -5
A configuration file describing:
Customize this with the user for their specific domain.
---
title: Page Title
type: entity | concept | source-summary | comparison | synthesis
created: YYYY-MM-DD
updated: YYYY-MM-DD
sources: [list of source filenames]
tags: [relevant tags]
---
# Page Title
Content here. Use [[wiki-links]] for cross-references.
## See Also
- [[related-page-1]]
- [[related-page-2]]
| Domain | Raw Sources | Wiki Pages |
|---|---|---|
| Personal | Journal entries, articles, podcast notes | Goals, health tracking, self-improvement |
| Research | Papers, articles, reports | Entities, concepts, evolving thesis |
| Book reading | Chapter notes | Characters, themes, plot threads |
| Business | Slack threads, meeting transcripts, docs | Internal knowledge base |
| Competitive analysis | Company reports, news | Competitor profiles, comparisons |
| Course notes | Lecture notes, readings | Topic summaries, concept maps |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub tunoc2c/workbuddy-skill-official --plugin llm-wiki2 plugins ship this exact skill · first indexed Oct 11, 2026