Free guide

Build an AI Second Brain

Turn your messy notes into a wiki that an AI files, links and keeps tidy. Then ask it anything about your own life and work.

Time
30 minutes to set up
Cost
Obsidian is free. Claude Code needs a paid Claude plan.
Tools
Obsidian, Claude Code
Updated

Most of us have notes everywhere. Phone, laptop, voice notes, screenshots, a WhatsApp chat with ourselves. And there they sit.

The problem is never writing things down. It’s finding them again, and seeing how they connect.

So let an AI do the filing. You drop things in one folder. It reads them, writes clean pages, links them together and tells you when something is out of date. When you want to know something, you ask it.

This guide shows you how to build the simple version on your laptop in about 30 minutes.

How it works

Your second brain is one folder with three parts:

  • Inbox. Anything you throw at it. Notes, PDFs, meeting notes, articles, voice-note transcripts. You never organise this.
  • Wiki. Clean pages the AI writes from your inbox. One page per person, project, idea or decision, all linked.
  • Rules. One file that tells the AI how to file, how to answer and what never to do.

And you only ever do three things:

  1. File it. Tell the AI to read the inbox and update the wiki.
  2. Ask it. Ask questions. It answers from your pages and tells you which ones.
  3. Tidy it. Once a week, it checks for duplicates, gaps and things that are out of date.

That’s the whole system. The AI does the boring part. You do the thinking.

What you need

  • Obsidian. A free notes app that reads plain files on your computer, so you can see the wiki as it grows.
  • Claude Code. The AI that reads and writes the files. It needs a paid Claude plan, or an Anthropic API account.
  • A Mac, Windows or Linux computer, and about 30 minutes.

Everything stays in plain text files on your own computer. No new app to lock you in.

Step 1: Make the folder

Open Terminal (on a Mac, press Command and Space, then type “Terminal”) and run:

mkdir -p ~/second-brain/inbox ~/second-brain/wiki

Now open Obsidian, choose Open folder as vault, and pick the second-brain folder in your home folder.

That’s your second brain. Empty for now.

The rest is free

Unlock the full guide

Tell me your first name and email and the rest of this guide opens right here. You’ll also get every new free guide as it comes out.

Step 2: Install Claude Code

On a Mac, install it with one line in Terminal (or follow the official setup page for Windows and Linux):

curl -fsSL https://claude.ai/install.sh | bash

It needs a paid Claude plan (Pro or higher) or an Anthropic Console account. The free plan doesn’t include Claude Code. When it’s done, check it works:

cd ~/second-brain
claude

The first time, it asks you to log in to your Claude account. Then type /exit to close it for now.

Step 3: Write the rules file

Claude Code reads a file called CLAUDE.md every time it starts in a folder. This is where you teach it how your second brain works.

Create CLAUDE.md inside second-brain and paste this in. Change the bits in square brackets.

# My second brain

This folder is my second brain. I am [your first name]. I [one line about your work and life].

## Folders
- inbox/ : raw material I drop in. Never edit or delete these files.
- wiki/ : pages you write and keep up to date. Plain markdown.

## How to file (when I say "file it")
1. Read every file in inbox/ that is not yet listed in wiki/_log.md.
2. For each person, project, idea, decision or recurring topic, create or update ONE page in wiki/.
   File names: lowercase-with-dashes.md
3. Start every page with a 3-line summary, then the details, then "Sources:" listing the inbox files used.
4. Link related pages with [[double brackets]].
5. If two sources disagree, keep both and add a line starting "CONFLICT:".
6. Add each processed inbox file to wiki/_log.md with today's date.

## How to answer (when I ask a question)
- Answer only from wiki/ and inbox/. Name the pages you used.
- If the answer is not there, say so. Never guess.
- If an answer is worth keeping, ask me before saving it as a new page.

## How to tidy (when I say "tidy it")
- Find duplicate pages and merge them.
- List pages with no links, pages older than 90 days, and every CONFLICT line.
- Suggest, don't delete. Wait for my yes.

## Never
- Never delete anything in inbox/.
- Never put passwords, card numbers or ID numbers in a page.
- Never send anything outside this folder.

Step 4: Fill the inbox

Now give it something to work with. Start small: 20 to 50 files is plenty for day one.

Good things to drop in:

  • Notes exported from your phone’s notes app
  • Meeting notes and project docs
  • PDFs you keep going back to
  • Transcripts of your voice notes
  • Web pages, saved with the free Obsidian Web Clipper browser extension

Don’t overthink it. Messy is fine. That’s the point.

Step 5: File it

Back in Terminal:

cd ~/second-brain
claude

Then type:

File it. Read the inbox and build the wiki, following CLAUDE.md. Show me the list of pages before you write them.

It will show you a plan. Say yes. Then watch the wiki folder fill up in Obsidian. Open the graph view in Obsidian to see how everything links.

Step 6: Ask it

This is where it gets good. Ask it the questions you’d normally scroll for:

What did I decide about [project], and why?
Everything I know about [person]. What did I promise them?
Which ideas have I written about three or more times but never acted on?

Every answer names the pages it came from, so you can check.

Step 7: Tidy it, once a week

Every Sunday, or whatever day suits you:

Tidy it. Then give me the five things in here I've been avoiding.

Then ask one of these. Rotate them:

  • “What did I say I’d do this week that I didn’t do?”
  • “What keeps coming up that I haven’t made a decision on?”
  • “Based on everything here, what would the person I’m becoming do differently this week?”
  • “What am I spending time on that doesn’t show up in any of my goals?”
  • “What should I stop?”

Pick the one that stings a little. That’s usually the one you need.

Make it safe

  • Back it up. Run git init in the folder once, and ask Claude Code to commit after each filing run. Then any mistake can be undone.
  • Keep secrets out. No passwords, bank details or ID numbers in the inbox. The rules file says so too.
  • Other people’s information. If you drop in client or work files, make sure you’re allowed to. Your company’s rules still apply.
  • Synced folders. Keeping the folder in iCloud or Dropbox is fine for backup, but if files go missing mid-run, turn off “optimise storage” for that folder.

Take it on your phone

Want to ask your second brain from your phone? Run an always-on agent like Hermes on the same computer (or a small server) and talk to it on Telegram. My Hermes guide shows how to set it up safely: Set Up Hermes Agent, Safely.

Point it at your second-brain folder and ask it the same questions from anywhere.

Want more like this?

Every new guide goes to my list first. When my courses and paid skills open, the list hears about them first too. If you unlocked this guide, you’re already on it.