AI

Andrej Karpathy Method Claude Skills + Obsidian Explained

Image**Most people use AI like a slightly smarter Google.**
  • Ask a question, get an answer, close the tab, forget everything
  • Meanwhile, a small group of people is quietly building self-improving knowledge bases that compound every week
  • And those people will outcompete everyone else in research, products, and careers

This article shows you exactly how to build one - using Obsidian, Claude Code, Skills, and plain markdown. No PhD required. Just a system you can set up this weekend.

Image

What You're Actually Building

Forget "taking notes". You're building a living wiki that an LLM writes and maintains for you in the background.

The idea comes from Andrej Karpathy (ex-OpenAI, Tesla AI) who recently shared that a large fraction of his LLM usage has shifted - less into writing code, more into **manipulating knowledge stored as markdown files**.**Here's the full loop:**
  • You dump raw data (articles, papers, repos, transcripts, images) into a raw/ folder
  • An LLM compiles that into a structured wiki in wiki/ - markdown files with concepts, backlinks, summaries
  • You view and navigate it in Obsidian with graph view
  • You ask complex questions - the LLM reads your wiki and writes answers as new files
  • Periodically, an LLM "health check" cleans inconsistencies and proposes new articles
  • Every query files back into the wiki, making it smarter over time

The mental shift: LLM as compiler and librarian - not chatbot.

Step 1 - Make Capture Stupidly Easy

If saving info is annoying, the system dies on day one. So start here.Image**What to install:**
  • Obsidian - free, local-first, markdown-based knowledge editor
  • Obsidian Web Clipper - browser extension that saves any web page into your vault as clean .md with URL, title, date, and tags
  • Create three folders in your vault: raw/ - all source material drops here wiki/ - compiled knowledge lives here reports/ - your outputs (answers, essays, slide decks)

One extra trick: bind a hotkey in Obsidian to download all images for the current note locally - so your LLM can reference them without hitting external URLs.

Your only job right now: any time you see something interesting, **clip it to raw/.** Don't organize. Don't rename. Just capture.

Step 2 - Let the LLM Write Your Wiki For You

Here's where most "note-taking systems" fall apart: the human has to do all the organizing. In this system, the human doesn't.ImageThe LLM scans raw/ and produces or updates pages in wiki/. Each important concept gets its own .md file with:
  • A short definition and key insights
  • Links back to the original sources in raw/
  • Backlinks to related concepts
  • Index pages listing key subtopics (e.g. RAG.md, prediction-markets.md, LLM-architectures.md)
You barely touch wiki/ manually. **The LLM owns it.**

Step 3 - Obsidian Is Your Second Brain IDE

Don't think of Obsidian as "a markdown editor". In this workflow, it's your **knowledge IDE**.Why Obsidian works:
  • Backlinks - see everywhere a concept is referenced across the entire vault
  • Graph view - spot clusters of knowledge and isolated nodes (= gaps you haven't filled yet)
  • Dataview plugin - query your notes like a database
  • Marp plugin - render a markdown file directly as a presentation deck

Karpathy's key observation: the human mostly reads, the LLM mostly writes. You browse, make small edits, and ask new questions. You don't hand-craft wiki pages like it's 2008.

Step 4 - Q&A on Top of Your Own Knowledge Graph

Once your wiki reaches ~50-100 articles, the real value kicks in.**Instead of asking "Explain prediction market arbitrage" in a stateless chat, you ask:**

"Using only my wiki, explain the key edge strategies for prediction market traders based on everything I've researched so far."

**Behind the scenes your agent:**
  1. Locates the relevant markdown files in wiki/
  2. Has the LLM read them end-to-end (modern 1M-token context windows make this viable at personal scale)
  3. Writes a new markdown report into reports/, with links back to the source concepts it used
Every serious question becomes a **new permanent asset in your vault** instead of disappearing into chat history.Image

Step 5 - Never Answer in Chat, Always Answer in Files

One habit that 10x-es the ROI of this system: **force the LLM to answer as files**, not as text in a UI.**Great output formats:**
  • Markdown reports in reports/ - your best thinking, saved and searchable
  • Marp slide decks - .md files that render into full presentation slides (great for pitches and syncs)
  • Plots and diagrams as .png in images/, embedded inline into wiki pages
**Then you:**
  • Link the report from the relevant concept pages
  • Reuse it as source material for future queries
  • Push everything to Git for version control and history
**Your queries literally compound into better future answers.**Image

Step 6 - LLM Health Checks (This Part Everyone Skips)

Most people never think to use an LLM to clean and refactor knowledge - only to add it. Big mistake.

**Karpathy runs periodic "knowledge linting" passes where an LLM scans for:**
  • Conflicting statements about the same concept across different notes
  • Entities mentioned frequently but lacking a dedicated page
  • Near-duplicate pages that should be merged
  • Claims that look unsourced or numerically inconsistent
  • New article candidates suggested by emerging connection patterns
You can wrap this into a single weekly command. Over time, your wiki drifts toward **higher integrity and less chaos** with zero manual bookkeeping.

Where Claude Code + Skills Make This 10x Better

So how does Claude Code actually plug into all of this?

**Claude Code is built for exactly this kind of system:**
  • It runs inside a real filesystem environment - can read and write markdown, run bash and scripts
  • It supports Skills - reusable workflows packaged as directories with a SKILL.md plus optional scripts and resources
**Here's a starter set of Skills to build for your second brain:**ImageSkills can bundle extra markdown instructions, scripts, and reference files - you encode your personal style and domain preferences once, and reuse them across Claude apps, Claude Code, and the API.**You write the playbook once. Claude executes it on demand.**

Why This Destroys Stateless "New Chat" Usage

Standard AI usage is stateless. You ask, get an answer, close the tab. Next session, the model remembers nothing. You start from zero. Forever.

ImageAn LLM knowledge base turns that into **stateful, compounding memory**:
  • Today's answer becomes tomorrow's context
  • Your terminology and frameworks become canonical wiki pages
  • Six months of work = a private corpus a model can ingest in a single context window
**Real-world benefits:**
  • Faster - most questions reduce to "generate a report reusing my wiki"
  • More consistent - no random different definitions or notation each session
  • More valuable at work - your second brain is documentation, onboarding material, research archive, and slide factory rolled into one
And all of this lives in **plain markdown and images** - not locked inside a closed SaaS. Fully portable. Fully yours.

Prefer Privacy? Run It Fully Local

Don't want your research going to the cloud? You don't have to.The whole architecture runs locally with **Obsidian + Ollama** (local LLM runner):
  • Web pages captured via Clipper into a local vault
  • Local LLM reads and updates your wiki - nothing leaves your machine
  • Claude Code can layer on top for specific tasks where cloud processing is acceptable
You decide which projects stay fully private and which ones benefit from more powerful cloud models.Image

Advanced Mode: From Wiki to Finetuned Model

Once your wiki is large enough, another door opens.

Karpathy points out the natural end state: instead of always relying on massive context windows, you can treat your wiki as a finetuning corpus - baking your knowledge directly into a model's weights.

  • For individuals - your notes, research, code compressed into a "you-flavored" model
  • For teams - internal docs, APIs, incident history, design decisions → a finetuned org assistant
Even without finetuning, the compiled wiki pattern already gives massive leverage. Finetuning just compresses and accelerates it.

Bonus: Connect Claude Directly to Your Obsidian Vault via MCP

Claude Skills + Obsidian is already powerful. But there's one layer most people skip entirely.

MCP for Obsidian - an MCP server that lets Claude read and write directly into your vault in real time. Not copy-paste. Not export. Claude literally opens your notes, edits them, creates new files, and inserts content under specific headings - all from the chat window.

3.3k stars on [GitHub](https://github.com/MarkusPfundstein/mcp-obsidian). 384 forks. Runs stable.Image**What Claude can do with your vault:**
  • list_files_in_vault - browse the full structure of your vault
  • list_files_in_dir - explore a specific folder
  • get_file_contents - read any file by name
  • search - find all notes where a topic is mentioned
  • patch_content - insert content under a specific heading or block reference
  • append_content - add content to the end of an existing note
  • delete_file - remove a file or folder
**Real prompts you can use immediately:**
  • "Find all notes mentioning Polymarket and give me a short summary of each"
  • "Take my last meeting note and create a new file summary.md with an intro I can send by email"
  • "Add this idea to my existing research note under the #Ideas heading"
Your Obsidian vault stops being a storage system. It becomes a live workspace Claude actively maintains.

Setup in 3 steps:

**Step 1. Install the plugin in Obsidian**Settings → Community Plugins → Browse → search [Local REST API](https://coddingtonbear.github.io/obsidian-local-rest-api/) → install and enable. Copy the API key from plugin settings.Image**Step 2. Open Claude Desktop config**
  • Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json
**Step 3. Add this block:**
{
  "mcp-obsidian": {
    "command": "uvx",
    "args": [
      "mcp-obsidian"
    ],
    "env": {
      "OBSIDIAN_API_KEY": "<your_api_key_here>",
      "OBSIDIAN_HOST": "127.0.0.1",
        "OBSIDIAN_PORT": "27124"
    }
  }
}

Restart Claude. Done.

**Things to know before you start:**
  • If Claude can't find uvx - run which uvx in terminal and paste the full path into the "command" field instead of just "uvx"
  • Default port is 27124, default host is 127.0.0.1 - no need to change unless you configured otherwise
  • Obsidian must be open while using Claude - the Local REST API plugin only runs while the vault is active
  • Start your first prompt with "Use Obsidian to..." - this helps Claude immediately understand it should access the vault
  • To debug, watch the logs: tail -n 20 -f ~/Library/Logs/Claude/mcp-server-mcp-obsidian.log

Your One-Weekend MVP Plan

Here's a realistic way to test this in **2 days**:**Day 1 - Setup and Capture**
  • Install Obsidian, create vault with raw/, wiki/, reports/
  • Install Obsidian Web Clipper, set default save location to raw/
  • Pick ONE topic you care about (crypto, prediction markets, LLM agents, whatever)
  • Clip 20-30 articles into raw/ - don't organize anything, just capture
**Day 2 - Build the Loop**
  • In Claude Code, create a basic /kb-compile Skill that reads files in raw/ and asks Claude to create or update concept pages in wiki/
  • Run it. Open Obsidian and explore graph view and backlinks
  • Create a /kb-report Skill. Ask it one real question about your topic
  • Read the output in reports/. Link it from the relevant wiki page
If you do this seriously for just one ongoing research theme, you will feel the difference within a week.**You're not "just chatting" anymore. You're growing a second brain that writes with you.**Image

👇 One Last Thing

  • Bookmark this - seriously, right now, not "later". Most people read → close → never implement. Be the one who does.
  • Follow me @polydao if you want more breakdowns on LLM workflows, Claude Code Skills, prediction markets, and how to turn AI tools into a real edge - in your career, trading, or product.
  • Drop any reaction (like, repost, comment) - it helps the algorithm and tells me this kind of content is worth going deeper on.