Personal Knowledge Engine

LLM Wiki

A compounding knowledge base built by LLMs. Claude Code writes your wiki. Obsidian is where you read it. Your knowledge grows with every source and every question.

Inspired by Karpathy's LLM Wiki pattern — 55K likes
Obsidian vault with wiki pages Architecture diagram in Obsidian
llm-wiki
You (terminal) You (Obsidian) | | |-- /ingest <source> |-- Browse wiki pages |-- /query "question" |-- Graph view |-- /lint |-- Backlinks |-- /promote |-- Search | | '-- Claude Code --writes--> vaults/<name>/wiki/*.md
The Problem
Most people's experience with LLMs and documents is stateless. RAG re-derives knowledge from scratch on every query. Nothing compounds. Ask a subtle question that requires synthesizing five documents, and the LLM has to piece together fragments every time. — Andrej Karpathy
The Solution

Knowledge that compounds

When you add a source, Claude reads it, extracts key information, and integrates it into a persistent wiki — updating entity pages, revising summaries, flagging contradictions, maintaining cross-references.

What You Can Do

Ingest

Feed in any source — articles, PDFs, YouTube, tweets, gists, Office docs, notes. 7 source types.

/ingest <source>

Query

Ask questions. Get synthesized answers with citations. Save answers back to compound.

/query "question" --save

Lint

Health-check your wiki. Find orphans, broken links, contradictions. Auto-fix.

/lint --fix

Promote

Graduate reusable knowledge between vaults. Carry forward what matters.

/promote project --to meta

Search

Hybrid BM25 + vector search via qmd when your wiki grows.

/search "terms"

Slides

Generate Marp presentations from wiki content.

/slides "topic"
All features →
Quick Start

Three commands to knowledge

$ git clone https://github.com/RonanCodes/llm-wiki.git
$ cd llm-wiki
$ ./install.sh
Architecture

One engine, many vaults

Claude Code is the engine (25 skills). Vaults are dumb folders of markdown. Obsidian is the viewer. No database, no embeddings, no server.

vault structure
vaults/my-research/ <- separate git repo ├── raw/ <- immutable source docs ├── wiki/ │ ├── index.md <- catalog of all pages │ ├── sources/ │ ├── entities/ │ ├── concepts/ │ └── comparisons/ ├── log.md └── CLAUDE.md
How it works →