Build a Knowledge Base Claude Can Query
Stop re-explaining context every conversation. Ingest your notes, transcripts, and procedures into a structured wiki — then query it in seconds, using 80% fewer tokens.
The Problem
Every new conversation starts from zero. You re-explain your business, your processes, your decisions — over and over.
The Method
A structured wiki of summaries, entity pages, and concept pages that Claude navigates like an index — reading only what's relevant.
The Result
80–85% fewer tokens per query. Persistent knowledge that builds over time. Answers with citations instead of hallucinated guesses.
Covered in Episode 34 — Token Limits, Wikis, and How to Query Your Knowledge Base · Karpathy's original gist
Tell us about your setup
Answer three quick questions and we'll show you the right prompts for your situation.
How do you access Claude?
Where do you keep your notes and files?
What do you mainly want to capture?
What each skill does
wiki-bootstrap
A one-time operation that scans your existing content — procedures, notes, resources — and builds the initial wiki structure. Run it once to seed everything you already have.
wiki-ingest
Adds a new source to your wiki. Give it a URL, a file path, or raw content. It creates a summary page, updates entity pages, and links everything together.
wiki-query
Searches your wiki and synthesises an answer from multiple sources — with citations. Reads the index first, then drills into only what's relevant. Token-efficient by design.
wiki-lint
Runs a health check. Finds orphan pages, broken links, stubs with high demand, and missing frontmatter. Suggests the highest-value gaps to fill next.
What wiki-ingest produces
Raw input — a YouTube transcript excerpt
...what Karpathy basically said was you create stub pages for everything and then the AI navigates the index first before it ever hits the full file. It's basically a funnel. You query a little bit, get some direction, go deeper, get more information...
Structured output — saved to your wiki
## Karpathy Wiki Method
**Source:** YouTube · @karpathy
**Type:** source | **Status:** complete
Key Takeaways
- Index-first retrieval cuts token use 80–85%
- Stubs act as pointers, not full pages
- Graph view reveals hidden connections
Entities
[[andrej-karpathy]] · [[obsidian]] · [[claude]]
Want the full system?
The wiki skills are part of a broader setup for solo operators who want Claude running as a persistent, context-aware partner. Join Unleash AI to see how it all fits together.