How I built a second brain with Obsidian and Claude

Body
14 min · claude-code · tooling · notes

A student asked me how to build a second brain like mine. Mine is an Obsidian vault, which is just a folder of plain text notes, and Claude reads and writes most of it. It holds about 2,200 notes across roughly 65 projects.

This post covers the five ideas that make it work, the full setup guide with the prompt that builds it for you, and what to skip.

What a second brain does

It is one place for tasks, projects, decisions and ideas. Obsidian is the app that shows the notes. Claude is the assistant that files them, summarises the day and remembers where things were left.

The notes are ordinary files on your computer. If you stop using either app, you still have them.

The five ideas worth copying

  1. Two halves. One part is written by Claude (project plans, decisions, session logs). The other is written by hand (inbox, areas of life, reference). Claude stays out of the hand-written half unless asked.
  2. Rules live in the vault. A note tells Claude how to name files, where things go and what never to touch. Claude reads it before writing, so every day works the same way.
  3. Memory stays small. Each project has one memory note capped at 150 lines. It gets rewritten, not added to. Long detail moves into its own note with a link left behind.
  4. Read on demand. Claude starts a session with about 40 lines of context and a list of where to look for more. It does not load the whole vault.
  5. A daily log and a nightly backup. A script builds the day's log at 22:30 and another backs the vault up at 23:00.

The simple version

You do not need my scripts to start. This is what the guide below builds:

        Home.md              front door, links to everything
Inbox/               quick capture, emptied daily
Daily/               one note per day: Plan, Log, Notes, Summary
Projects/            things with an end, one folder each
Areas/               ongoing parts of life (Health, Finance, Study)
Resources/           reference material
Archive/             finished or dropped
Templates/           daily, project and note templates
Claude/RULES.md      how Claude must behave in your vault
Claude/MEMORY.md     what Claude remembers about you (kept short)
      

Setting it up

You do four short steps by hand, then Claude builds the rest by asking you four questions. It takes about 20 minutes.

Step 1. Install the two apps

  1. Install Obsidian from obsidian.md.
  2. In Obsidian choose Create new vault. Name it SecondBrain and put it somewhere easy to find, such as your Documents folder. Leave it open once so Obsidian creates its settings.
  3. Install the Claude Desktop app from claude.com/download and sign in.
  4. Write down the full path of the vault folder, which is its address on your computer. Example on Mac: /Users/yourname/Documents/SecondBrain. Example on Windows: C:\Users\yourname\Documents\SecondBrain.

Step 2. Give Claude access to the vault folder

Claude cannot see files on your computer until you allow it. Allow only the vault folder, nothing else.

Easy way (Extensions)

  1. In Claude Desktop open Settings, then Extensions (in newer versions: Settings, Desktop app, then Manage next to Extensions).
  2. Browse the directory, pick Filesystem, click Install.
  3. When it asks which folders are allowed, choose your SecondBrain folder only.
  4. Turn the extension on.

Menu names change between app versions. If yours looks different, look for Extensions or Connectors in Settings.

Manual way (only if you cannot find the extension)

  1. Install Node.js (LTS) from nodejs.org. It is a free helper program the connection needs.
  2. In Claude Desktop open Settings, Developer, Edit Config. That opens a settings file called claude_desktop_config.json.
  3. Paste this, with your own vault path, then save. It tells Claude to start a small file helper that can only see that one folder:
        json{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/yourname/Documents/SecondBrain"]
    }
  }
}
      

On Windows write the path with double backslashes: C:\\Users\\yourname\\Documents\\SecondBrain.

  1. Quit Claude completely and open it again.

When Claude first reads or writes a file it asks for permission. That is normal. Approve it for the vault.

Step 3. Create a Project in Claude

  1. In Claude Desktop create a new Project (a saved workspace with its own instructions) and name it Second Brain.
  2. Leave the instructions empty for now. Claude gives you the text to paste at the end of setup.

Always chat inside this Project when you work with your vault.

Step 4. Send the setup prompt

Open a new chat inside the Second Brain Project. Copy the whole block below, paste it, add your vault path on the last line, and send. The block is a set of plain-English instructions: check the folder is reachable, ask you four questions, create the folders and notes, then report what was done.

        You are setting up my Obsidian "second brain" vault. Do the steps in order. Work only with your file tools. Be brief in chat.

RULES FOR THE WHOLE SETUP
- Write only inside my vault folder. Never touch anything outside it.
- Never delete or move an existing file. If a file you want to write already exists, skip it and list it at the end, unless I say to overwrite it.
- Never put passwords, keys or bank details in any note.
- If a step fails, stop and tell me what failed. Do not work around it.

STEP 1. PREFLIGHT
Ask me for the full path of my vault folder if I have not given it. List that folder with your file tools. If you have no file tools, or the folder is not reachable, stop and tell me: "Give Claude access to the vault folder first (see step 2 of the guide), then send this prompt again."

STEP 2. INTERVIEW
If Claude/MEMORY.md already exists, this setup ran before: skip the interview, read that file instead, and at the end tell me which existing files differ from what this prompt would write. Otherwise ask these in one message, then wait for my answers:
1. What should I call you, and what do you do (study, work, both)?
2. Which 3 to 5 ongoing areas of your life do you want to track? (examples: Health, Finance, Study, Career, Family)
3. Which projects are you working on right now? (a project has an end; 0 to 5 names; "none" means zero projects)
4. What do you want out of your daily note: tasks, journal, or both?

STEP 3. CREATE FOLDERS AND FILES
Folders: Inbox, Daily, Projects, Areas, Resources, Archive, Templates, Claude.
In Inbox, Projects, Resources and Archive create a README.md with one line saying what goes in that folder (this also makes the folder exist if you cannot create empty folders).
Use project and area names exactly as I typed them for file and folder names.

Templates/daily.md
---
type: daily
date: {{date:YYYY-MM-DD}}
tags: [daily]
---
# {{date:YYYY-MM-DD, dddd}}

## Plan
- [ ] 

## Log

## Notes

## Summary

Templates/project.md
---
type: project
status: active
date: {{date:YYYY-MM-DD}}
tags: [project]
---
# {{title}}

## Goal

## Next actions
- [ ] 

## Notes and links

## Log

Templates/note.md
---
type: note
date: {{date:YYYY-MM-DD}}
tags: []
---
# {{title}}

Adjust the daily template to my answer 4: drop "## Plan" and its checkbox line if I only want a journal, drop "## Log" if I only want tasks.

For each area from answer 2: Areas/<Area>.md with frontmatter (type: area, date: today, tags: [area]), an H1, and the headings "## What good looks like", "## Current focus", "## Notes".

For each project from answer 3: Projects/<Name>/<Name>.md from the project template, with real values in place of the {{...}} placeholders.

Home.md: a short front door with frontmatter (type: home, date: today, tags: [home]). List the eight folders as plain text, not links, each with one line saying what goes there. Under Areas and Projects add a [[wikilink]] to every area note and project hub. End with links to [[RULES]] and [[MEMORY]].

Claude/RULES.md: the contract you follow in every later chat. Give it frontmatter (type: doc, date: today, tags: [claude]). In this file write "Claude" where this prompt says "you" and "the owner" where it says "I" or "me", so a later chat cannot mix them up. Use one "## " heading per bullet below, plus a "## Memory" heading. Contents:
- Vault map: Inbox = quick capture, emptied daily. Daily = one note per day, YYYY-MM-DD.md. Projects = things with an end, one folder each with a hub note of the same name. Areas = ongoing responsibilities. Resources = reference material. Archive = finished or dropped. Templates = note templates. Claude = these rules and the memory file.
- Conventions: link notes with [[wikilinks]]. Every note except a README.md has frontmatter with type, date, tags. Daily notes are named YYYY-MM-DD.md; any other dated note is YYYY-MM-DD_short-title.md. Tags are lowercase.
- Safety: stay inside the vault, never delete, ask before overwriting, no secrets, do not edit the "## Notes" section of a daily note (that part is mine).
- Start of every chat: read Claude/RULES.md and Claude/MEMORY.md before anything else. Read other notes only when the task needs them.
- Commands I will type and what you do:
  - "start my day": create today's daily note from Templates/daily.md if missing, carry over unchecked tasks from the most recent daily note, list open next actions from active project hubs.
  - "capture: <text>": save it as Inbox/YYYY-MM-DD_short-title.md with frontmatter. No questions.
  - "wrap up my day": write 3 to 5 lines under "## Summary" in today's note, propose where each Inbox note should move and move them after I agree, then update Claude/MEMORY.md.
  - "weekly review": read the last 7 daily notes and all project hubs, then give me wins, stuck items, and next week's top 3. Save it as Daily/YYYY-MM-DD_weekly-review.md.
  - "new project <name>": create Projects/<name>/<name>.md from the template and link it from Home.md.
  - "archive <name>": tell me what would move to Archive and move it after I agree.

Claude/MEMORY.md: your rolling memory of me. Sections: "## About me", "## Areas", "## Active projects", "## Preferences", "## Open threads". Give it frontmatter (type: doc, date: today, tags: [claude]). Fill the first three sections from my interview answers and put my answer 4 under "Preferences" and leave "Open threads" empty. Under "## Memory" in RULES.md write: MEMORY.md stays under 150 lines; rewrite and merge it, never just append; long detail goes into a normal note with a link left behind.

STEP 4. OBSIDIAN SETTINGS
Only if the folder .obsidian exists inside the vault:
- Write .obsidian/daily-notes.json as {"folder": "Daily", "format": "YYYY-MM-DD", "template": "Templates/daily"}
- Write .obsidian/templates.json as {"folder": "Templates", "dateFormat": "YYYY-MM-DD"}
Write each of these two only if it does not exist yet. If one exists with different content, show me the difference and ask before changing it.
- If .obsidian/core-plugins.json exists, make sure "daily-notes" and "templates" are switched on in it and keep every other entry exactly as it is (the file is either a list of plugin names or a map of name to true/false). If it does not exist, do not create it; tell me to check in Obsidian under Settings > Core plugins that Daily notes and Templates are on.
Do not create or edit any other file in .obsidian. If .obsidian does not exist, skip this step and tell me to open the folder as a vault in Obsidian, then set the Daily notes folder to "Daily" with template "Templates/daily" and the Templates folder to "Templates" in Settings.

STEP 5. CHECK AND REPORT
- Create today's daily note in Daily/ from Templates/daily.md, with real dates in place of the placeholders, if it does not exist yet.
- Read back Claude/RULES.md and Claude/MEMORY.md to confirm they saved.
- Show me: the folder tree, every file you skipped because it existed, anything that failed.
- Then print this block for me to paste into my Claude Project instructions, with my real vault path filled in:

"My Obsidian vault is at <VAULT PATH>. At the start of every chat, read Claude/RULES.md and Claude/MEMORY.md from the vault with your file tools and follow them. Only read or write inside that folder."

- End with the list of commands from RULES.md so I know what to type tomorrow.

My vault folder is: 
      

When Claude finishes:

  1. Copy the short instruction block it prints and paste it into the Project's instructions. This is what makes every future chat read your rules and memory first.
  2. Restart Obsidian. Your new folders appear in the sidebar. Open Home.

Using it day to day

Open a chat in the Second Brain Project and type one of these:

A simple rhythm: start my day in the morning, capture: whenever something comes up, wrap up my day before you stop. You can also write in Obsidian by hand at any time. The ## Notes part of each daily note is yours and Claude will not edit it.

Make it automatic

You can have Claude run the morning, evening and weekly routines on a timer, so they happen without you typing anything. Claude Desktop has a feature for this called Scheduled tasks: a saved set of instructions that runs at a set time. Do this after a few days of using the commands by hand, so you know what a good result looks like.

Create a task

  1. In Claude Desktop open the Code tab and click Scheduled in the sidebar (or under More).
  2. Click New task. If a menu appears, choose Set up manually.
  3. Give it a Name and paste the instructions from below.
  4. Open Advanced settings and turn on Only on this computer.
  5. For Local folder pick your SecondBrain folder.
  6. Set the Trigger (see the table).
  7. Set the permission mode to Accept edits, then click Create.
  8. Click Run now once and approve what it asks with "always allow", so later runs do not wait for you. Check the result in Obsidian.

Morning block

        You are running on a schedule inside my Obsidian vault (this folder). Nobody is here to answer, so do not ask questions.
Read Claude/RULES.md and Claude/MEMORY.md first and follow them.
Safety for this run: write only inside this folder. Never delete, move or rename a file. Never edit the "## Notes" section of a daily note. This scheduled run is allowed to edit today's daily note and Claude/MEMORY.md without asking; for any other existing file, leave it unchanged.

Task: start my day.
1. If Daily/<today's date>.md does not exist, create it from Templates/daily.md with real dates in place of the placeholders.
2. Find the most recent earlier daily note (a file named exactly YYYY-MM-DD.md; ignore weekly reviews and other files). Copy its unchecked tasks ("- [ ]" lines with text) into "## Plan" of today's note. Skip any task that is already there. An empty "- [ ]" line may be replaced by the first copied task. If today's note has no "## Plan" section, skip this step.
3. Under the copied tasks add up to 5 open next actions from active project hubs, each written as "- [ ] <task> ([[Project name]])". Skip any that are already there.
Apart from that empty line, do not remove or rewrite anything already in today's note. Finish with one line saying what you added.
      

Evening block

        You are running on a schedule inside my Obsidian vault (this folder). Nobody is here to answer, so do not ask questions.
Read Claude/RULES.md and Claude/MEMORY.md first and follow them.
Safety for this run: write only inside this folder. Never delete, move or rename a file. Never edit the "## Notes" section of a daily note. This scheduled run is allowed to edit today's daily note and Claude/MEMORY.md without asking; for any other existing file, leave it unchanged.

Task: wrap up my day, without me.
1. If Daily/<today's date>.md does not exist, create it from Templates/daily.md with real dates.
2. If "## Summary" in today's note is empty, write 3 to 5 lines there from today's note and any notes whose frontmatter date is today. If it already has text, leave it.
3. If today's note already contains the line "Inbox to file:", skip this step. Otherwise, under the summary add the line "Inbox to file:" followed by one bullet per note in Inbox (ignore README.md): "- [[note name]] -> the most specific folder or note it belongs to". Do not move anything; I will file them myself with "wrap up my day" in a chat. If Inbox is empty, skip this step.
4. Update Claude/MEMORY.md following the memory rules in RULES.md: merge today's changes into the existing sections, keep it under 150 lines, do not just append.
Finish with one line saying what you changed.
      

Weekly block

        You are running on a schedule inside my Obsidian vault (this folder). Nobody is here to answer, so do not ask questions.
Read Claude/RULES.md and Claude/MEMORY.md first and follow them.
Safety for this run: write only inside this folder. Never delete, move or rename a file. Never edit an existing daily note.

Task: weekly review.
If Daily/<today's date>_weekly-review.md already exists, stop.
Otherwise read the daily notes from the last 7 days and every project hub, then create Daily/<today's date>_weekly-review.md with frontmatter (type: review, date: today, tags: [review]) and three sections: "## Wins", "## Stuck", "## Top 3 for next week". Link the notes you mention with [[wikilinks]].
Finish with one line saying what you created.
      

Good to know

  • Tasks run only while Claude Desktop is open and the computer is awake. If a run is missed, Claude does one catch-up run the next time the app is open.
  • Scheduled runs never move or delete notes. The evening run only lists where each Inbox note should go. To actually file them, type wrap up my day in a chat and agree.
  • capture: stays manual. That one is you.
  • If you do not see Scheduled, update Claude Desktop. It may also depend on your plan.

Back up your vault

Your vault is a normal folder, so back it up like one: Obsidian Sync (paid, easiest), or keep the folder inside iCloud Drive, OneDrive or Google Drive. Do this in week one, before the vault holds anything you would miss.

If something goes wrong

  • Claude says it has no file tools or cannot reach the folder. Redo Step 2, restart Claude, and check the extension is switched on for the chat (the tools menu next to the message box).
  • Daily notes land in the wrong folder. In Obsidian open Settings, Daily notes: folder Daily, template Templates/daily. Settings, Templates: folder Templates.
  • Claude forgets the rules in a new chat. You are outside the Project, or the instruction block was not pasted in Step 4.
  • You sent the setup prompt twice. Safe. Claude skips every file that already exists and tells you which ones.

What I added later

  • Hooks: small scripts that run automatically, for example to hand Claude the right project's memory when a session starts.
  • A project list: one file that says which folder on my computer belongs to which project.
  • Search across every project, so a problem solved once can be found again.
  • The scheduled daily log and backup.

None of this is needed in the first month.

Mistakes to skip

  • Giving Claude your whole computer. Allow the vault folder and nothing else.
  • Letting memory grow. A memory note that only gets longer stops being read properly. Cap it.
  • Automating before the habit exists. My daily log is built every night, but only 4 of its 63 days have a written summary. The part that needs me is the part that slips.
  • No backup. Set it up in week one.

Verdict

Start with the folders, two notes for Claude and three phrases. Add machinery only when you notice yourself repeating something.


Next improvement I'm working on: SQL indexing for the vault.