*Building a Second Brain with Claude Code: The Setup* *Published March 19, 2026* --- You built the [Second Brain](https://www.buildingasecondbrain.com/). You have the Obsidian vault, the [PARA](https://www.buildingasecondbrain.com/para) folders, the [Readwise ](https://readwise.io) [integration](https://github.com/ngpestelos/readwise-mcp). You captured hundreds of notes. Maybe thousands. Last week I needed a framework I'd captured three months ago. I knew I'd saved it. I spent twenty minutes searching folder by folder before giving up. It was in a Readwise import I'd never organized. CODE says: Capture, Organize, Distill, Express. But doing all four, manually, every time, across every piece of knowledge that enters your system? That's where most vaults die. Not from lack of capture. From lack of follow-through. I stopped doing it manually. Claude Code, Anthropic's CLI tool for working with Claude, is designed for software projects. I repurpose it as the runtime for my knowledge system. It reads my vault, writes to my vault, searches files, moves documents between PARA folders, and commits changes to git, all from the terminal with full access to every file. The difference from chat-based AI: Claude Code starts every session already knowing your project because it reads a file called `CLAUDE.md` at the root of your directory. --- ## CLAUDE.md: How You Configure It `CLAUDE.md` is a markdown file that Claude Code loads automatically at the start of every session. In software projects, developers use it to describe their codebase. I use it to describe my knowledge system. Mine teaches Claude: - **Structure**: Where things go. Journal entries route to `1 Areas/Self/`. Readwise imports land in `2 Resources/Readwise/Documents/`. Atomic notes live in `2 Resources/Topics/[Topic Name]/`. Synthesized sources get archived to `3 Archives/`. - **Standards**: Every factual claim about vault content must reference specific files with paths. Uncertainty gets labeled: Inference, Speculation, Unverified. I call this the Reality Filter. It keeps AI outputs grounded in what actually exists in the vault. - **Preferences**: Be direct. Skip pleasantries. Correct me when I'm wrong. No emojis unless I ask. - **Workflow rules**: Never overwrite original documents without permission. Read referenced commands before executing them. Check existing resources before creating new ones. I don't repeat myself across sessions. Claude already knows my PARA structure, my family context, my professional background, my verification standards. Instead of prompting an AI each time, you configure a persistent system once and refine it as you go. --- ## Skills and Commands: Patterns That Compound Two concepts make this system scale. **Commands** are slash-invoked workflows. Type `/journal spouse` and the entry routes to the Spouse area with a timestamp. Type `/synthesize` and Claude runs a multi-step pipeline: scan a source document, apply Progressive Summarization, extract atomic notes, route them to topic folders, archive the source. Type `/morning` and it orchestrates your entire morning routine: Readwise import, daily briefing, burnout check-in, orientation. Each one encodes a workflow I used to do manually. **Skills** are reusable knowledge that Claude activates automatically when relevant. When I'm writing a Progressive Summary, the `progressive-summarization-technique` skill loads the exact layer format. When I'm placing a new document, the `resource-placement-rule` skill enforces where unsynthesized content goes versus synthesized atomic notes. When I'm organizing files, the `archive-topic-organizer` skill handles the methodology. Each one captures a pattern I discovered, debugged, and refined through use. A skill I wrote in January for handling Unicode filenames in Readwise imports still saves me from bugs every week. Every change is version-controlled through git. I can see exactly what Claude modified, revert mistakes, and track the evolution of my vault over time. This morning's session produced 11 commits. --- ## Try It I published a starter repo with a minimal `CLAUDE.md`, three commands, and a PARA folder structure: [para-starter on GitHub](https://github.com/ngpestelos/para-starter). Clone it, open Claude Code, and type `/journal` to see how it works. --- ## The Cost The skills and commands represent months of daily use. The first week, the system is just a fancy terminal. By month three, it handles most routine knowledge work without custom instructions. I spent two weeks in January debugging a synthesis workflow that kept archiving source documents to the wrong folder. The bug was a path mismatch between how the scan script listed files and how the archive script moved them. Fixing it meant adding a verification step that checks the destination exists before moving. The two weeks felt like wasted effort while I was in them. That skill now runs correctly on every synthesis, hundreds of times since January.