{
  "id": 21137817,
  "title": "Karpathy's 'Second Brain' Pattern, Applied to Obsidian and Claude Code",
  "url": "https://urgent.news/2026/11/21/karpathys-second-brain-pattern-applied-to-obsidian-and-claude-code",
  "topic": "ai",
  "section": "AI",
  "published": "2026-11-21T23:40:09.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/dimsbuild/karpathys-second-brain-pattern-applied-to-obsidian-and-claude-code-138j"
  },
  "original_language": "en",
  "account": "On April 3, 2026, Andrej Karpathy shared an idea that went viral: instead of using an AI agent to answer one-off questions, point it at a folder of sources and let it build a personal wiki that grows with every addition. This concept has since caught on across the AI community.\n\nKarpathy, a founding member of OpenAI and former AI director at Tesla, posted the idea on X. The post garnered over 19 million views and quickly gained traction, with many people testing and documenting the approach. The core principle is simple: a note you write captures what you believed you understood at the time, while a note the agent writes captures the actual content of the source and updates itself when new or contradicting sources are added.\n\nThe recommended structure for this system includes a CLAUDE.md file, an _index.md file for navigation, a _log.md file that records the agent's actions, and two main folders: sources/ for raw, unedited content, and wiki/ for generated, agent-modified content. The sources/ folder remains immutable, allowing you to verify the original content at any time. The wiki/ folder is only updated by the agent, ensuring that manual editing of generated content is unnecessary.\n\nThe core operations of this system are straightforward:\n1. Ingest: Drop a source into the sources/ folder and ask the agent to integrate it. The agent will read the source, identify key entities, and update relevant wiki pages, typically adding 5 to 15 pages per source.\n2. Query: Ask the knowledge base a question. The agent first searches the wiki, then falls back to the raw sources if needed, and generates a useful answer, often adding a new entry to the wiki.\n3. Verify: Conduct a periodic review to catch contradictions, broken links, orphaned pages, and stale claims.\n\nSetting up this system can be done in just five minutes for a new, empty vault by creating the necessary folders, writing the CLAUDE.md file with filing and naming rules, and dropping in a first source. For an existing knowledge base, migration may take 60 to 90 minutes to scan existing content, propose a filing plan for the new structure, and migrate files one by one.\n\nThis approach builds upon existing knowledge bases with governance files and topic-based indexes, adding a clean separation between raw sources and generated notes, along with a regular verification process. These enhancements complement an existing structure without requiring a complete rebuild.",
  "summary": "TL;DR On April 3, 2026, Andrej Karpathy posts an idea that goes massively viral: stop using an AI agent for one-off questions, and point it at a folder of sources so it builds a personal wiki that grows with every addition. The principle holds up, and the real structure goes further than \"three folders and a prompt\": immutable sources, a generated wiki, an action log, and a periodic verification…",
  "key_points": [
    "Andrej Karpathy introduced \"Second Brain\" pattern on April 3, 2026",
    "System uses CLAUDE.md, index.md, log.md, sources/, and wiki/ folders",
    "Three-step process: Ingest, Query, Verify"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}