By kaellim
Knowledge compilation skill for building personal wikis from raw sources — based on Karpathy's LLM Wiki pattern
npx claudepluginhub kaellim/llm-wiki --plugin llm-wikiA Claude Code plugin for building personal knowledge bases using LLMs.
Based on Andrej Karpathy's LLM Wiki pattern (April 2026) — the idea that the correct way to use LLMs with documents is not retrieval (RAG), but knowledge compilation into a persistent, interlinked wiki.
raw/ (you add) → LLM compiles → wiki/ (agent maintains) → Obsidian (you read)
# 1. Add the marketplace
/plugin marketplace add KaelLim/llm-wiki
# 2. Install the plugin
/plugin install llm-wiki@llm-wiki
Copy skills/llm-wiki/SKILL.md content into your agent's system instructions (CLAUDE.md / AGENTS.md).
# 1. Bootstrap a new wiki (creates directories + sets global config)
bash scripts/wiki-bootstrap.sh ~/my-wiki
# 2. Open the wiki directory and start Claude Code
cd ~/my-wiki
claude
# 3. Drop a source and ingest
# (save an article to raw/articles/my-article.md, then:)
> ingest raw/articles/my-article.md
# 4. Query your wiki
> What do I know about distributed systems?
# 5. Health check
> lint
The wiki is a single, central knowledge base — not one per project. The bootstrap script automatically saves the wiki path to ~/.config/llm-wiki/root, so the agent knows where to find it from any project.
To explicitly point a project to the wiki, add this to the project's CLAUDE.md:
wiki-root: /absolute/path/to/my-wiki
The agent will never create raw/ or wiki/ inside a code project directory.
The skill triggers automatically via natural language. Just tell the agent what you want:
> ingest raw/articles/my-article.md ← processes source into wiki pages
> lint ← checks wiki health
> What is event-driven architecture? ← queries wiki, cites pages
All six workflows (ingest, query, lint, enhance, compile, evolve-schema) are documented in skills/llm-wiki/SKILL.md.
Based on Karpathy's three-layer design:
| Layer | Owner | Purpose |
|---|---|---|
raw/ | Human | Immutable source material |
wiki/ | LLM | Compiled, interlinked knowledge pages |
CLAUDE.md | Both | Schema governing wiki conventions |
MIT
Claude + Obsidian knowledge companion. Sets up a persistent, compounding wiki vault. Covers memory management, session notetaking, knowledge organization, and agent context across projects. Based on Andrej Karpathy's LLM Wiki pattern. Optional DragonScale Memory extension adds hierarchical log folds, deterministic page addresses, embedding-based semantic tiling lint, and boundary-first autoresearch topic selection.
Build and maintain an LLM-curated personal knowledge base in your project — Andrej Karpathy's LLM Wiki pattern, designed to scale to thousands of pages without becoming a context bottleneck. Now with an optional compiled graph layer for typed, provenance-backed relationships.
Complete developer workflow toolkit. Includes 34 reference skills, 34 specialized agents, and 21 slash commands covering TDD, debugging, code review, architecture, documentation, refactoring, security, testing, git workflows, API design, performance, UI/UX design, plugin development, and incident response. Full SDLC coverage with MCP integrations.