A personal knowledge base for building deep, compounding expertise in AI and technology. Built on the LLM Wiki pattern by Andrej Karpathy.
Raw sources go in. A structured, interlinked wiki comes out. Knowledge accumulates permanently instead of being rediscovered from scratch.
The core idea is simple: instead of asking an AI questions and forgetting the answers, the AI writes and maintains a wiki on your behalf.
You drop articles into raw/
β
Claude reads, extracts, and structures knowledge
β
Wiki pages are created in wiki/ with full wikilinks
β
You browse, query, and build on it in Obsidian
β
Everything is version-controlled on GitHub
No RAG. No vector databases. Just markdown files that compound over time.
vault/
βββ .claude/
β βββ commands/ # Slash commands for Claude Code
β βββ ingest.md # /ingest
β βββ lint.md # /lint
β βββ query.md # /query
β βββ report.md # /report
β βββ update.md # /update
βββ raw/ # Drop source articles here
β βββ archive/ # Processed sources moved here automatically
β βββ assets/ # Images and attachments
βββ wiki/
β βββ concepts/ # Algorithms, architectures, techniques
β βββ entities/ # People, labs, models, papers
β βββ synthesis/ # Cross-topic analyses and open questions
β βββ index.md # Master catalog of all pages
β βββ log.md # Chronological record of all operations
βββ output/ # Generated reports and briefings
βββ CLAUDE.md # Agent config and operating rules
βββ README.md # This file
Core:
- Machine learning fundamentals (transformers, diffusion, RL, optimisation)
- Large language models (architecture, training, alignment, inference)
- AI agents and tool use (scaffolding, memory, multi-agent systems)
- AI infrastructure (compute, distributed training, serving, quantisation)
- Frontier labs (Anthropic, OpenAI, DeepMind, Meta AI, Mistral)
- Emerging techniques (MoE, RLHF, DPO, RAG, speculative decoding)
Adjacent:
- Hardware as it relates to AI capability
- AI safety and alignment research
- Regulation and policy
- Obsidian β for browsing the wiki and graph view
- Claude Code β the AI agent that runs the wiki
- Node.js β required for Claude Code
- A GitHub account β for version control
1. Clone this repo
git clone https://github.com/yeewliang/AI-LLM-Wiki.git
cd AI-LLM-Wiki2. Install Claude Code
npm install -g @anthropic/claude-code3. Open the vault in Obsidian File οΏ½οΏ½ Open Vault β select this folder
4. Open Claude Code in the vault directory
claudeClaude reads CLAUDE.md automatically on every session.
Drop any article, PDF, or note into raw/. Name it with a date prefix:
raw/2026-05-02-attention-is-all-you-need.md
Use the Obsidian Web Clipper browser extension
to clip articles directly into raw/ with automatic date-prefixed filenames.
/ingest
Claude processes all new files in raw/, builds wiki pages, updates the index,
archives the sources, and commits to GitHub.
/query what are the trade-offs between RLHF and DPO
/query what do my sources say about speculative decoding
Answers come only from your own ingested knowledge, with citations.
/report transformer inference optimisation
/report state of AI agents 2026
Saved to output/ as a timestamped markdown file.
/lint
Run monthly. Fixes broken wikilinks, orphan pages, missing frontmatter, and stale entity pages.
| Command | What it does |
|---|---|
/ingest |
Process new files in raw/, build wiki pages, archive, commit |
/query [question] |
Answer from wiki only, cite pages, write synthesis if needed |
/report [topic] |
Generate structured briefing, save to output/ |
/update [page] |
Refresh a specific page with new information |
/lint |
Audit wiki for broken links, orphans, missing frontmatter |
Open Obsidian and use:
- Graph View β see all concepts and entities as a connected graph. Clusters reveal the shape of your knowledge. Gaps appear as thin or isolated nodes.
- Wikilinks β follow
[[concept]]links between pages like a personal web. - Search β full-text search across everything you've ever ingested.
wiki/index.mdβ the master catalog, organised by type.
- Andrej Karpathy's LLM Wiki gist
- second-brain by NicholasSpisak
- Vannevar Bush's Memex (1945) β the original vision for associative knowledge