The AI Maker

The AI Maker

🧪 Maker Labs

How I Took Karpathy's LLM Wiki and Built an AI-Powered Second Brain in Obsidian

Claude Code as the engine, Obsidian Skills as the glue, and a downloadable starter kit so you can set it up this afternoon.

Wyndo's avatar
Wyndo
Apr 16, 2026
āˆ™ Paid
AI-powered second brain built with Karpathy's LLM Wiki pattern in Obsidian and Claude Code

I’ve saved hundreds of articles, podcasts, and YouTube videos across Notion, Pocket, and browser bookmarks over the years. And every time I wanted to revisit something I’d read, I had to dig through all of it just to find it. Even when I did, that article sat in complete isolation from everything else I’d saved on the same topic.

When I moved everything into Obsidian (I wrote about this in my project management post), it solved the tool fragmentation. One vault, all markdown, all accessible to Claude Code. But my notes still didn’t talk to each other. An article about automation had no connection to a podcast about AI coding workflows, which had no connection to an essay about why writing forces you to think clearly.

I was the one responsible for drawing those lines. Because it took so much effort, I didn’t actually do it as often as I expected. That’s the honest truth about note‑taking systems like Zettelkasten and ā€œbuilding a second brain.ā€ The theory is beautiful; in practice, the maintenance kills it.

Then I saw what Andrej Karpathy shared. You know how much he inspires me—this is the second workflow I’ve copied from him.

For anyone who doesn’t know him, Karpathy is one of the most respected AI researchers in the world.

X avatar for @karpathy
Andrej Karpathy@karpathy
LLM Knowledge Bases Something I'm finding very useful recently: using LLMs to build personal knowledge bases for various topics of research interest. In this way, a large fraction of my recent token throughput is going less into manipulating code, and more into manipulating
8:42 PM Ā· Apr 2, 2026 Ā· 19.6M Views

2.71K Replies Ā· 6.58K Reposts Ā· 55.4K Likes

He described a pattern he called an ā€œLLM Wiki.ā€ The idea is simple but the shift is significant: instead of you maintaining a knowledge base and occasionally asking AI questions about it, the LLM builds and maintains the entire knowledge base for you.

You collect raw sources. Articles, papers, book notes, podcast takeaways, anything. You drop them into a folder. Then you tell the LLM to ā€œcompileā€ them into a wiki. It reads every source, writes summary pages, creates pages for key people and concepts, and cross-references everything. A single article might touch 10-15 pages across your wiki. The LLM handles all the bookkeeping you’d never do yourself.

Karpathy put it this way:

ā€œObsidian is the IDE, the LLM is the programmer, the wiki is the codebase.ā€

You rarely ever write or edit the wiki manually. That’s the domain of the LLM.

LLM Wiki three-layer architecture showing sources, Obsidian wiki pages, and Claude Code schema

And the part that hit me hardest: this compounds. Every new source the LLM ingests makes the whole wiki smarter. It becomes a network that grows denser over time. An article about Tim Dettmers’ automation framework gets connected to Addy Osmani’s AI coding workflow, which gets connected to Dan Koe’s essay on why writing is thinking. Three completely different topics, three different authors, one thread running through all of them that I never would have drawn on my own.

Here’s the build: Obsidian as the interface, Claude Code as the agent, and a set of Obsidian Skills that Steph Ango (the CEO of Obsidian) released to teach Claude how to write in Obsidian’s native language. Wikilinks. Callouts. Canvas. A CLI (Command Line Interface) for running the whole thing from the terminal. If you’re an Obsidian nerd, that last piece is what makes this actually work.

I’ve been running this system for my own interests. AI, human psychology, personal productivity, health and fitness, building a business. All of it flowing into one knowledge base where everything connects to everything else.

🚨 Heads up: AI Maker Lab pricing goes up tonight, from $10/month to $15. If you enjoyed this post and want the full library of 25+ paid blueprints, plus everything coming next (video walkthroughs, expert conversations, monthly Q&A), today is the last day to lock in the current rate.

What’s Inside This Post

This post is the complete blueprint for building the system I just described. Not the theory. The exact folder structure, the commands, the schema, and a starter kit you can download and set up this afternoon.

What's inside: LLM Wiki architecture, Claude Code commands, Obsidian Skills, examples, and starter kit

Here’s what you’ll walk away with:

  1. The Three-Layer Architecture: How the knowledge base is organized: raw sources (your immutable reading material), the wiki (LLM-generated summary pages, cross-references, and concept maps), and the schema (the CLAUDE.md file that turns Claude from a generic chatbot into a disciplined wiki maintainer). I’ll show you how data flows between layers and why this structure makes the whole system work.

  2. The Three Operations That Run the System: The exact slash commands I use daily: /ingest-url (feed it a URL, Claude extracts the article and compiles it into the wiki, touching 5-15 pages in a single pass), /process-inbox (fleeting thoughts and quick notes get classified and integrated automatically), and /lint-wiki (a health check that finds broken links, orphan pages, contradictions, and content gaps the wiki suggests you research next).

  3. Obsidian Skills (The Missing Piece): A set of agent skills that teach Claude how to work fluently with Obsidian’s native features. Wikilinks, callouts, frontmatter, the Obsidian CLI, database views with Bases, and visual canvases. These are what turn Obsidian from ā€œa folder of markdown filesā€ into a proper knowledge management platform that an LLM can operate natively.

  4. Real Examples of the System in Action: I made a video to walk you through this whole process so you can apply it on your own.

  5. The Complete Starter Kit + Setup Guide: A downloadable starter kit with the entire system pre-built: folder structure, three slash commands, all five Obsidian Skills, the schema, templates for books and podcasts, and a step-by-step guide to customize it for your own interests. One afternoon to set up. After that, the system runs on three commands.

By the end of this post, you’ll have a personal knowledge base where every article, book, podcast, and fleeting thought feeds into a living wiki that gets smarter the more you use it. Ask it a question six months from now and it gives you an answer synthesized from everything you’ve ever fed it.

To give you a clue, this is what it looks like when Claude ingests the "Paul Graham’s ā€œHow to Think for Yourselfā€ and turns it into a wiki page:

The wiki page looks visually appealing, with proper wikilinks, frontmatter, tagging, and callouts, because it leverages Obsidian skills, so Claude knows which features to use in Obsidian. The most interesting part is the Notes section, where Claude creates a connection to Dan Koe’s writing essay. The bigger you build your wiki pages, the more connections you’ll find that you didn’t even notice, that’s how powerful this knowledge base is.

Before we go further: This system runs on Claude Code. If you’re not familiar with it, I’d recommend reading my beginner’s guide first for the basics, or my ultimate guide for the full picture, or my project setup tutorial to get started. You don’t need to be a developer, but you do need to be comfortable with a terminal. Alternatively, you can use the Claude Code extension inside VS Code or Cursor.

Let’s build it.

The Three-Layer Architecture of AI-powered Second Brain

The system has three layers. That’s it. Once you understand how they relate to each other, everything else in this post will make sense.

sources/   ┐
           ā”œā†’ Layer 1: Input (everything that feeds the system)
inbox/     ā”˜
wiki/      → Layer 2: LLM-generated knowledge pages (summaries, cross-references, concepts)
CLAUDE.md  → Layer 3: The schema that governs how the wiki operates

Layer 1: Input (The Raw Material)

The sources/ folder is where your reading goes. Articles, book notes, podcast takeaways, PDFs, anything you want to remember. Organized by whatever categories make sense for your interests.

Mine looks like this:

sources/
  ai/
  health-and-fitness/
  human-psychology/
  personal-productivity/
  books/
  podcasts/

One rule: files in sources/ are immutable. Once you save something here, you don’t edit it. This is your source of truth. The raw material that everything else gets built from.

There are two ways to get content in:

1. Obsidian Web Clipper (browser extension)

Obsidian Web Clipper browser extension saving articles into an AI knowledge base vault

See an article you want to save? One click and it becomes a markdown file in your vault. You choose where it goes. This is the manual path, good when you’re browsing and want control over what gets captured.

And it doesn’t stop at articles. You can also send an entire YouTube podcast, along with its transcript, into Obsidian. Simply open the extension on the YouTube link you want to save to your Obsidian vault or click ā€œReaderā€ view to see the full transcript details.

2. /ingest-url command (Claude Code)

This post is for paid subscribers

Already a paid subscriber? Sign in
Ā© 2026 Wyndo Ā· Privacy āˆ™ Terms āˆ™ Collection notice
Start your SubstackGet the app
Substack is the home for great culture