cd /news/ai-agents/a-second-brain-with-claude-code-and-… · home › topics › ai-agents › article
[ARTICLE · art-182023] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=· neutral

A second brain with Claude Code and Obsidian: an assistant that edits your notes folder

A technical brief by Søren Dalby describes using Anthropic's Claude Code to file and link notes inside an Obsidian vault, where notes are plain Markdown files that the coding assistant can read and edit. The approach relies on a CLAUDE.md file holding vault rules, which Anthropic's documentation says are read as context rather than enforced configuration, so safety depends on approving each edit or keeping backups. Dalby notes that Claude Code sends note text to Anthropic's servers and recommends initializing git in the vault to review and undo changes.

recommendation

Write two or three filing rules in a CLAUDE.md at the vault root, run git init so every edit is reviewable, and approve each change until Claude Code's proposals match what you would do.

more in playbook: Designing agent systems
by read3 min views9 publishedDec 4, 2026

Originally published as a Technical Brief on dalby.md.

A second brain is a personal collection of notes you can search and build on. Obsidian stores one as plain Markdown files, so Claude Code can file and link your notes the way it edits code. Follow one inbox note to see what that involves.

Obsidian is a note-taking app, free for personal and commercial use. Obsidian licence Its vault is an ordinary folder of Markdown files, and Obsidian refreshes when another program changes them. How Obsidian stores data Notes link to each other with wikilinks, a note's name in double brackets such as [[Project Atlas]], and can carry properties, such as a status, at the top of the file. Obsidian links · Obsidian properties

Claude Code is Anthropic's AI coding assistant. Started in a folder, it reads and edits the files there, and by default it asks before it changes a file or runs a command. Claude Code permissions

The running example: after a meeting you paste rough notes into Inbox/2026-12-04 standup.md and ask Claude Code to "file today's inbox". It should move the decisions into Projects/Atlas.md with a link back, and set the inbox note's status property to filed:

## Decisions
- 2026-12-04: Ship the login fix on Friday. Source: [[2026-12-04 standup]]

Andrej Karpathy called the idea an LLM wiki in April 2026: an AI model keeps your notes up to date as you add sources. Karpathy's LLM wiki idea Claude Code in an Obsidian vault is one way to try it: Claude Code edits the files, and Obsidian shows the result.

At the start of each session, Claude Code reads a file called CLAUDE.md in the folder where it starts. Claude Code memory In a vault, that is where your filing rules go:

- New material arrives in Inbox/. File it into one note under Projects/.
- Link with [[wikilinks]] to existing notes; never create a second note for the same project.
- Set `status: filed` on an inbox note once its content is filed. Never delete a note.

These rules are not enforced. Anthropic's documentation says Claude Code reads them as context, "not enforced configuration". Claude Code memory "Never delete a note" is a request; what protects your notes is your approval of each edit, or a backup.

Claude Code runs on your computer, but the AI model runs on Anthropic's servers: Claude Code sends your request and the note text it reads there, and gets the changes back. Claude Code data usage Treat every note it reads as sent. How long Anthropic keeps that text, and whether it trains on it, depends on your plan and settings, so check them before you start. Keep notes you would not send in folders where you don't start Claude Code.

Copy a few real notes into a new vault and run git init in it, so every change can be reviewed and undone. Write a CLAUDE.md with two or three rules, ask Claude Code to file one inbox note, and check the result in Obsidian: are the links where you expected, and did anything change that you did not ask for? Approve each edit until the proposals are the ones you would have made.

Sources checked on 4 December 2026.

Researched and drafted with AI assistance, then reviewed by Søren Dalby. Sources are linked; errors may remain, and corrections are welcome.

── more in #ai-agents 4 stories · sorted by recency
── more on @claude code 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/a-second-brain-with-…] indexed:0 read:3min 2026-12-04 · —