Build a second brain: Claude Code inside your Obsidian notes
Run Claude Code inside your Obsidian vault with house rules in CLAUDE.md and three commands, /daily, /weekly-review and /find-ideas, that plan your day, review your week and connect ideas without rewriting your notes.
- Level Intermediate
- Time 1-2 hours
- Works with
- Claude Code
- Claude Desktop
On this page13 sections
A “second brain” is a notes system you trust enough to stop holding everything in your head. Obsidian is a free notes app that saves every note as a plain Markdown text file in a normal folder on your computer. That folder is called a vault. Because the notes are just files, Claude Code can read them, and it can write new ones.
In this guide you’ll set up a vault that Claude helps you run, with rules it has to follow. You’ll end up with three commands:
/dailywrites today’s plan from your open tasks, inbox and projects./weekly-reviewwrites a review of your week./find-ideas <topic>finds related notes and suggests new connections.
What you’ll have at the end
- An Obsidian vault with
Inbox,Daily,Projects,Notes,ReviewsandTemplatesfolders. - A
CLAUDE.mdfile. This is a set of standing instructions that Claude Code reads at the start of every session. - Three skills (saved commands) inside the vault, in
.claude/skills/. - A backup, so you can undo anything.
What you need
| You need | Details |
|---|---|
| Obsidian | Free from obsidian.md. The pricing page says it’s “Free without limits”. Sync and Publish are optional paid add-ons. |
| Claude Code | Needs a Pro, Max, Team, Enterprise or Console account. The free plan doesn’t include it. Use it in a terminal or in the Code tab of Claude Desktop. |
| Git (optional) | For backups you can undo step by step. You can copy the folder instead. |
Every command reads several notes, and that uses part of your plan’s usage. /weekly-review in a big vault uses the most.
Step 1: Create the vault
- Install Obsidian and open it.
- To start fresh, click Create next to Create new vault. Type a name (for example
MyVault), click Browse to pick where to save it, then click Create. - If you already have notes, click Open next to Open folder as vault and pick that folder. Back it up first (see Step 6).
Obsidian’s help warns against creating a vault inside another vault, so keep this one on its own.
Step 2: Open Claude Code in the vault
Terminal. Install Claude Code if you haven’t. On macOS or Linux, run this (the Windows command is on the setup page):
curl -fsSL https://claude.ai/install.sh | bash
Then go into your vault and start it:
cd ~/Documents/MyVault
claude
Claude Desktop. Open the Code tab. Choose Local under Environment, and select your vault folder under Project folder.
Keep Obsidian open as well. Obsidian picks up changes that other apps make to your notes, so you’ll see Claude’s new notes appear.
Step 3: Write the house rules (CLAUDE.md)
Claude Code automatically reads a file called CLAUDE.md in the folder where it starts. Anthropic suggests keeping it under 200 lines. Paste this prompt into Claude Code, and the file content right after it:
Create CLAUDE.md in this folder with exactly the content below. Don't change anything else.
# How to work in this vault
This folder is my Obsidian vault. Every note is a plain Markdown file. You are my note assistant: you help me plan, review and connect ideas. You don't reorganize my notes.
## Folders
- Inbox/ – quick captures, not sorted yet
- Daily/ – one note per day, named YYYY-MM-DD.md
- Projects/ – one note per active project
- Notes/ – everything else worth keeping: ideas, reading notes, people, meetings
- Reviews/ – weekly reviews, named YYYY-Www.md (for example 2026-W43.md)
- Templates/ – note templates. Don't edit these unless I ask.
## Rules
- Never delete a note. Never move or rename a note unless I ask in this session.
- Don't rewrite my words. In an existing note you may only add [[links]], or add a section at the end headed "## From Claude".
- Link with Obsidian wiki links, like [[Workshop-November]]. Only link to notes that exist.
- When you use something from my notes, say which note it came from.
- Dates are YYYY-MM-DD. Weeks start on Monday.
- Ignore the .obsidian/ and .claude/ folders.
- If you're unsure, ask before you change anything.
The “don’t rewrite my words” rule matters most. It keeps your notes yours, and Claude only adds things on top.
Step 4: Set up folders and the daily template
This folder is my Obsidian vault. Please set it up as a second brain. Follow the rules in CLAUDE.md.
1. Create these folders if they don't exist: Inbox, Daily, Projects, Notes, Reviews, Templates.
2. Create Templates/Daily.md with exactly this content:
---
date: {{date:YYYY-MM-DD}}
---
# {{date:YYYY-MM-DD}}
## Notes
## Tasks
- [ ]
3. Don't move, rename or edit any note I already have.
4. Tell me what you created, then list my existing top-level folders with how many notes each holds, and suggest (don't do) where they could fit in the new structure.
Claude will ask permission to create folders. Approve each request.
Next, connect the template in Obsidian, so a daily note you make by hand looks the same:
- Go to Settings > Core plugins and make sure Daily notes and Templates are on.
- Under Core plugins > Templates, set Template folder location to
Templates. - In the sidebar, click Daily notes under Plugin options. Set New file location to
Dailyand Template file location toTemplates/Daily.
Step 5: Add the three commands
In Claude Code, a skill is a folder with a SKILL.md file inside. Put it at .claude/skills/<name>/SKILL.md in your vault and it becomes a /name command. The line disable-model-invocation: true means it only runs when you type it, and Claude won’t start it on its own.
Folders that start with a dot are hidden, so the easiest way to make these files is to ask Claude. For each file below, paste the prompt with the file content right after it:
Create .claude/skills/daily/SKILL.md with exactly the content below.
---
name: daily
description: Create or update today's daily note with a short plan from my open tasks, inbox and projects. Use when I type /daily or ask Claude to plan my day.
disable-model-invocation: true
---
# Plan my day
Extra context from me for today (may be empty): $ARGUMENTS
1. Work out today's date. Today's note is `Daily/YYYY-MM-DD.md`.
2. Read the last 3 notes in `Daily/`, every note in `Inbox/`, and every note in `Projects/`.
3. Collect open tasks (lines that start with `- [ ]`). Remember which note each one came from. Treat the same task in two notes as one task.
4. If today's note doesn't exist, create it from `Templates/Daily.md` and replace `{{date:YYYY-MM-DD}}` with today's date.
5. Add this section at the end of today's note. If a "## From Claude" section is already there, replace only that section.
## From Claude
**Top 3 today**
- [ ] task ([[source note]])
**Also open**
- task ([[source note]])
**Waiting in Inbox** (number of notes)
- [[note]]: one-line summary. Suggested home: Projects/ or Notes/
**Stuck**
- tasks that appear in daily notes from 3 or more days ago and are still open
6. Pick the top 3 by due dates mentioned in the notes first, then by what my extra context says.
7. Don't change any other note and don't move inbox notes. Only suggest.
8. Reply with the top 3 and the path of today's note.
$ARGUMENTS is replaced by anything you type after the command. So /daily I only have the afternoon free passes that sentence in.
Create .claude/skills/weekly-review/SKILL.md with exactly the content below.
---
name: weekly-review
description: Write a weekly review note from the last 7 days of daily notes and recently changed notes. Use when I type /weekly-review or ask for my weekly review.
disable-model-invocation: true
---
# Weekly review
1. Work out this week's ISO week number. The review goes in `Reviews/YYYY-Www.md`. If it already exists, show me what you'd change and ask first.
2. Read every note in `Daily/` from the last 7 days, and every note in `Projects/`, `Notes/` and `Inbox/` changed in the last 7 days.
3. Write the review with these sections:
- **Done**: finished tasks (`- [x]`), with [[links]] to where they came from
- **Still open**: open tasks, oldest first
- **Themes**: 2–4 topics I kept coming back to, each with the notes that mention it
- **Decisions and commitments**: anything I agreed to, with who and when
- **Inbox**: how many notes are waiting, and a suggested home for each
- **Next week's top 3**: your suggestion, with one line on why
- **Questions for me**: up to 3 things only I can answer
4. Use only what's in my notes. If a section has nothing, write "Nothing this week."
5. Don't change any other note. Reply with the path of the review and the top 3.
Create .claude/skills/find-ideas/SKILL.md with exactly the content below.
---
name: find-ideas
description: Search my vault for notes related to a topic and suggest connections and new ideas. Use when I type /find-ideas followed by a topic.
disable-model-invocation: true
argument-hint: "[topic]"
---
# Find ideas about: $ARGUMENTS
1. If no topic was given, ask me for one and stop.
2. Search every note in the vault (not `.obsidian/` or `.claude/`) for the topic, similar words and related ideas. Read the notes that match.
3. Write a new note at `Inbox/Ideas - <topic> - YYYY-MM-DD.md` with:
- **Related notes**: each as a [[link]] with one line on how it relates
- **Connections**: 3–5 links between notes that I may not have noticed, each naming both notes
- **New ideas**: 3 ideas that combine what's in the notes. Mark each one as your suggestion.
- **Gaps**: questions my notes don't answer yet
4. Quote my notes only word for word. If you paraphrase, don't use quotation marks.
5. Then list [[links]] you'd add to existing notes, and ask me before adding any.
Claude Code usually picks up new skills without a restart. Type / to see them in the menu. If a command is missing, quit Claude Code and start it again.
Step 6: Back up before Claude touches real notes
Pick one of these:
- Copy. Zip the vault folder now, and again every week.
- Git. Git keeps a history of every change, so you can undo just one of them. With Git installed, ask Claude:
Set up git in this vault so I can undo your changes. Add .obsidian/workspace.json and .obsidian/workspaces.json to .gitignore, then commit everything with the message "Before Claude".
Obsidian’s help suggests ignoring those two workspace files because they change every time you open a note. Obsidian’s built-in File recovery plugin also keeps snapshots of your notes. Obsidian says it “is not a complete backup solution”, so use it alongside a backup, not instead of one.
Step 7: Use it
/daily I only have the afternoon free
We tested this in Claude Code on a small made-up vault. The test vault had two daily notes, two project notes and two inbox notes. /daily created Daily/2026-10-19.md from the template. It picked a top 3 led by the task with a Wednesday deadline, linked every task to the note it came from, treated “Book dentist” as one task even though it appeared in two notes, and left every other note unchanged. Our test covered the setup prompt and /daily. Run /weekly-review and /find-ideas on a backed-up vault first, and read what they write.
Using Claude Desktop chat instead
If you’d rather chat than use the Code tab, the Filesystem MCP server can give Claude Desktop access to your vault folder. Skills in .claude/skills/ are a Claude Code feature, though. In chat, you’d paste the steps as a prompt. To upload one as a skill in Customize > Skills, first delete the disable-model-invocation and argument-hint lines, because claude.ai rejects them. The Code tab gives you everything in this guide with no extra setup.
What can go wrong
- Claude rewrites a note. The CLAUDE.md rules make this less likely, but they aren’t a lock. Use Manual permission mode in Desktop, or keep the default prompts in the terminal, so you see each change before it happens. Undo with git or your copy.
- Broken links. Claude might link to a note that doesn’t exist. The rules forbid it, but check: if you click a link to a note that doesn’t exist, Obsidian creates a new, empty note.
- Wrong date or week. Claude works out today’s date when it runs. If the file name looks wrong, say so and it will fix it.
- Big vaults use more. Each command reads notes, and a vault with thousands of notes uses more of your plan. Point commands at specific folders if this adds up.
- Privacy. The notes Claude reads are sent to Anthropic to be processed. Read Claude Code’s data usage page and check your model-training setting. Keep very private notes in a separate vault that you never open with Claude.
- Sync conflicts. If Obsidian Sync, iCloud or Dropbox is syncing while Claude writes, you may get conflict copies. Let syncing finish before you run a command.
Make it yours
- Meeting notes. Add a
/meetingskill that turns a pasted transcript into a note inNotes/, with decisions and a- [ ]task for each action. - Inbox zero. Add a
/sort-inboxskill that suggests a home for each inbox note and moves them only after you say yes. - Reading notes. Add a
/bookskill that sets out your highlights and links them to related notes. - Your own sections. Change the
/dailysection to suit you, for example “One thing I’m avoiding” or “Energy today”. - Every vault. Move the skills folder to
~/.claude/skills/, and the commands work in any folder you open with Claude Code.
Next steps
- Turn the prompt you keep retyping into a one-click skill to learn how to write and test skills like these.
- Let Claude read and update your Notion if some of your notes live there.
Sources
- help.obsidian.md/vault (opens in a new tab)
- help.obsidian.md/data-storage (opens in a new tab)
- help.obsidian.md/plugins/daily-notes (opens in a new tab)
- help.obsidian.md/plugins/templates (opens in a new tab)
- help.obsidian.md/plugins/file-recovery (opens in a new tab)
- obsidian.md/pricing (opens in a new tab)
- code.claude.com/docs/en/setup (opens in a new tab)
- code.claude.com/docs/en/memory (opens in a new tab)
- code.claude.com/docs/en/skills (opens in a new tab)
- code.claude.com/docs/en/desktop (opens in a new tab)
- code.claude.com/docs/en/data-usage (opens in a new tab)
Related guides
Best MCP servers for non-developers: what to connect first
The best MCP servers and connectors for people who don't code: email, calendar, files, notes, meetings, design and automation, with plans, setup and safety.
Beginner10 minutes to pick, about 5 minutes per connector to set up
Claude skills vs MCP vs plugins: which do you need?
Skills teach Claude how to do a task, MCP connectors let it reach your apps and data, plugins bundle both. Decision table, plan notes and a tested example.
Beginner10 minutes to decide, about 30 minutes for the hands-on example
Claude Design vs Figma MCP: which to use for UI work
Claude Design drafts screens for you; Figma MCP lets Claude read and edit your Figma files. Compare plans, limits and handoff, then use both in one workflow.
Beginner10 minutes to decide, about 30 minutes for the hands-on workflow