Fable 5 + Karpathy's LLM Wiki is Basically Cheating
TL;DR
Nate Herk walks through Andrej Karpathy's "LLM wiki" pattern: point
an LLM at a folder of sources and have it compile a personal
knowledge base as plain markdown in Obsidian. Sources land
verbatim in raw/; the agent reads them and compiles a
wiki/ of cross-linked pages (summaries, concepts, entities,
sources, topics), maintaining an index.md and an
append-only log.md, all governed by a
CLAUDE.md that owns structure, ingestion, and lint rules.
The load-bearing idea — lifted straight from Karpathy's gist — is that
instead of RAG re-retrieving and re-synthesizing from raw
documents on every query (so nothing accumulates), the LLM
compiles knowledge once into a persistent interlinked store and
keeps it current. The payoff isn't the ingest, it's the
cross-source connection: dropping in a "Fable 5 / Mythos 5
system card" PDF and an OpenAI "GPT-5.6 Sol" article together surfaced a
link between them "worth having as a wiki instead of two separate
summaries" — a nuance a per-source summary structurally can't produce.
Because it's "just markdown files with routing," the store is portable
to any agent; keep it flat when the agent should breadth-search
everything and let folder structure emerge only when a source naturally
splits; and split model tiers — the presenter notes a premium model (he
uses Fable 5) is "overkill for the ingest," which a cheaper tier
handles, reserving the smart model for the synthesis/framing step.
Concepts introduced
- Compiled Knowledge Base — new. Compile knowledge once into a persistent interlinked wiki and keep it current, vs re-retrieving and re-synthesizing per query; cross-source connection is the payoff. The distillate's one genuinely new node.
- AI Second Brain — the
raw/+wiki/+index+loglayout and "just markdown files with routing → portable to any agent"; a third independent source on the split, tracing it to Karpathy's gist. - Context Routing —
CLAUDE.mdas router ("Claude Code is basically a router"): crawl the store efficiently, don't waste time/tokens; here it also owns the wiki's structure/ingestion/lint rules. - Retrieval Maturity Levels — a hands-on Level-2 "topic wiki" walkthrough.
- Query-Shaped Storage — flat (meeting-transcript wiki) vs structured (YouTube-transcript wiki), chosen by how the agent will search.
- Knowledge Graph Retrieval — the wiki is demoed as a "knowledge graph / mind map," but its links are untyped backlinks (folder-level typing, not typed edges) — a live example of that distinction.
- Model-Tier Routing — ingest (cheap tier) vs synthesis (premium tier): "Fable is overkill for the ingest — switch that to Opus."
Held, not dropped (touched but not yet warranting their own page):
- Audience-framed / "emotional" prompting — "in a way a beginner could understand… wouldn't overwhelm them" produced an artifact he preferred to a full day's work with another model. One anecdote; hold as a prompting theme, spin out if a second source corroborates.
- Storytelling from personal data — the one-shot "visual journey of 2026" (business stats, funnel, auto-branding) as a capability demo of data + routing → rich generated output. Held.
- Generated HTML front-end over the same store — "The AI Stack, Connected" browsable map as an alternate presentation layer on the same database. Held (presentation/front-end theme).
- Obsidian Web Clipper as the
article→
.mdcapture tool. Held as a tool pointer. - "Lint the wiki" as a maintenance verb (hunt contradictions/orphans/gaps). Held; adjacent to Decision Log and self-improving loops, but thin here.
Key claims
- Compile knowledge once into a persistent interlinked wiki and keep it current, rather than re-retrieving/re-synthesizing from raw docs on every query. principle → Compiled Knowledge Base. Attributed: this is Karpathy's gist as read on screen ("nothing is built up… compiled once and kept current").
- The value is the cross-source connection, not the per-source summary — two ingested sources referencing each other produced a link "worth having as a wiki instead of two separate summaries." principle → Compiled Knowledge Base.
raw/holds sources verbatim (you own it);wiki/is AI-owned synthesis; anindex.mdand an append-onlylog.mdare the agent's maintenance surface. best practice → AI Second Brain — context: a human+agent store the agent incrementally maintains.- "It's just markdown files with routing," so the store is portable to any agent (Codex, other harnesses), not locked to the one that built it. principle → AI Second Brain.
CLAUDE.mdis a router; "Claude Code is basically a router" figuring out where to look so it doesn't waste time or tokens crawling everything. observation → Context Routing.- Keep a store flat when you want the agent to breadth-search it; let folder structure emerge only when a source naturally splits. best practice → Query-Shaped Storage — context: an agent-crawled compiled wiki; "sometimes flat is better."
- Keep contradictions side by side in a
Conflict:block, never silently overwrite; claims trace to a source page and the agent's own reasoning is marked(inference). best practice → Compiled Knowledge Base — context: a compiled synthesis that must stay auditable (from the generated schema). - A premium model is overkill for the mechanical ingest — use a cheaper tier for ingest and reserve the smart model for the synthesis/framing step. best practice → Model-Tier Routing.
- The source's model-comparison claim (groundable, attributed): the presenter states that Fable 5 understood an "emotional / beginner-friendly" framing better than Opus 4.8, which he'd spent "almost a full day" with and disliked the output of — same backing database, different framing ability. observation — the source's assertion; flagged for a later grounding pass, not adjudicated here.
- Named models/products (groundable, attributed to the source and the ingested articles): Fable 5, "Mythos 5" and "Mythos preview," Opus 4.8; OpenAI "GPT-5.6 Sol" (with "Terra"/"Luna" variants, dated June 26 2026, described in the article as "2x cheaper than GPT-5.5"). The two ingested sources were a "Claude Fable 5 and Mythos 5 system card" PDF and the OpenAI "Previewing GPT-5.6 Sol" article. observation — recorded as the source's claims for later verification, not confirmed here.
- Availability claim (attributed): Fable is "only available until July 7th on your limit, then usage credits," with a cited tweet (from "Thor") saying they plan to return it to the subscription. observation — the source's claim; check-worthy, not adjudicated.
- Run stats (attributed): two sources compiled into "20 wiki pages, fully cross-linked," in ~10–12 minutes; the OpenAI article reportedly benchmarked GPT-5.6 Sol against "Mythos preview" and compared to its April predecessor (not Mythos 5), with different harnesses so "the numbers don't line up directly." observation — the source relaying the article; flagged, not verified.
Why this corroborates the second-brain cluster
The dominant stance is corroborates:
this is a third independent source (after Austin Marchese and
Karpathy's own gist, both already in the graph) converging on the same
raw/-vs-wiki/ split, the
CLAUDE.md-as-router mechanism, and the "just markdown
files, portable" thesis of AI Second
Brain and Context Routing. It
does not duplicate those pages — it strengthens them and adds detail
(the index/log maintenance surface, the
"Claude Code is a router" framing).
Two secondary stances sit inside it. It is
novel in exactly one place: the Karpathy
gist's compile-once-vs-retrieve-per-query thesis had no page,
so Compiled Knowledge Base is
spun out to hold it and the cross-source-connection payoff. And it
builds_on Retrieval Maturity Levels by
giving a concrete Level-2 walkthrough and Query-Shaped Storage by sharpening
flat-vs-structured into an earned-by-the-data decision.
Worth flagging for the operator: the generated CLAUDE.md
schema (t≈09:49) is nearly a mirror of firehose's own spine — markdown
as the durable artifact, verbatim capture separated from synthesized
knowledge, contradictions held in a Conflict: block
rather than silently overwritten, and claims attributed to
sources with the agent's own reasoning marked as inference. An outside
practitioner independently reinventing this vault's faithfulness and
held-not-dropped rules is corroboration of the engine's design, not just
its content.
A note on the model/price/date claims: this capture is unusually dense with post-cutoff-sounding assertions (Fable 5, GPT-5.6 Sol, Mythos, specific prices and dates). Per the distiller's lane they are recorded as the source's claims and flagged for a later grounding pass — not confirmed, not waved off as fictional. A stale prior is not ground truth.
Illustrated walkthrough
- t=00:00 — The vault. Obsidian graph view of the
presenter's store; the sidebar shows the load-bearing layout up front:
raw/,wiki/, plus aCLAUDEfile and skill notes. He narrates that his YouTube videos have been "ingested into an LLM wiki" whose backlinks connect concepts into a "second brain," and that Claude Code did the connecting — "I didn't have to connect these concepts at all." - t≈02:01 — Fable-generated browsable map. A dark-mode HTML app, "The AI Stack, Connected — 77 nodes · 298 connections · built from 61 video transcripts," bucketed into IDEAS / TOOLS & HARNESSES / TECHNIQUES (nodes include "LLM Knowledge Base," "CLAUDE.md as System Prompt," "RAG"). His point: same underlying database, a friendlier front-end than the raw graph — produced by prompting "in an emotional way" (make it beginner-friendly, not overwhelming).
- t≈03:59 — One-shot "visual journey of 2026." A generated storytelling artifact ("Chapter One · The Bet") comparing n8n (65K avg views) vs Claude Code (144K) with churn/conversion/revenue stats, auto-branded to his channel — his evidence that "the more data you give your projects, the better… if you route them the right way."
- t≈05:09 — The origin. Karpathy's X post, "LLM
Knowledge Bases": use LLMs to build personal knowledge bases; index
sources into a
raw/directory, then have an LLM incrementally "compile" a wiki of.mdfiles with backlinks, categorized into concepts; Obsidian as the front-end. - t≈07:05 — The idea file. Karpathy's GitHub gist
llm-wiki.mdon screen: "an idea file… designed to be copy-pasted to your own LLM Agent." The core-idea paragraph states the whole thesis — most RAG setups "rediscover knowledge from scratch on every interaction; nothing is built up," whereas here the LLM "incrementally builds and maintains a persistent wiki… compiled once and then kept current, not re-[trieved] on every query." This is the Compiled Knowledge Base concept in the source's own words. - t≈08:07 — A mature wiki's graph. Obsidian graph
view exploding into hundreds of interlinked nodes (files include
youtube-setup-guide,skill-iteration) — the compiled store after many ingests. - t≈09:49 — The generated
CLAUDE.mdschema (VS Code). Fable's output enumerates the ingestion contract: five page types (sourcesdate-prefixed,entities,concepts,topicsdomain hubs,notesfiled answers), YAML frontmatter, citation discipline ("claims trace to a source page, my own reasoning is marked(inference)"), contradictions kept in a**Conflict:**block, never silently overwritten, and three verbs — Ingest / Query / Lint ("hunt for contradictions, orphans, and gaps"). Status bar:Fable 5 [xhigh], auto mode, ~66k/1000k tokens. (This schema is nearly a mirror of firehose's own faithfulness rules — see stance below.) - t≈10:35 — Source #2 by URL. The OpenAI "Previewing
GPT-5.6 Sol: a next-generation model" page (dated June 26 2026),
ingested alongside the system-card PDF dropped in
raw/. - t≈12:38 — The pattern, summarized. A hand-drawn
"LLM Wiki Pattern" diagram: Raw Sources ("You own
this": articles, PDFs, notes,
.mdclips) → LLM ingests → The Wiki ("LLM owns this": summaries, concepts, entities, backlinks,index.md,log.md), withCLAUDE.md("Secret Sauce": structure, ingestion, linting) instructing the LLM. The clean statement of the raw-vs-wiki ownership split and the router's role.