published fresh until

How do I build a second brain with Claude Code and Obsidian?

Summary Start with Claude Code's own memory (CLAUDE.md you write, auto memory Claude writes) before adding a vault tool; three community kits add an Obsidian vault on top: obsidian-second-brain, brain and GBrain (checked 2026-12-01). Use when you want Claude to remember you across sessions; keep the vault in a separate folder and read any kit's hooks first.

Not for keeping an existing vault safe while the agent edits it (see obsidian-claude-code-vault-safe-maintenance)

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: use what Claude Code already has. Put rules you want every session to follow in CLAUDE.md, turn on auto memory for what Claude learns from your corrections, and only then decide whether you also want an Obsidian vault.

Facts are from Claude Code's memory docs and each project's README, read 2026-12-01.

Built in

  • CLAUDE.md is written by you and loaded every session; auto memory is written by Claude and loaded at the start of sessions with auto memory on, up to the first 200 lines or 25KB of MEMORY.md [memory docs][md].
  • Auto memory lives in ~/.claude/projects/<project>/memory/, shared by all worktrees of one repository; autoMemoryDirectory in settings.json moves it [memory docs][md].
  • The docs say to keep each CLAUDE.md under 200 lines, and that both are context, not enforced configuration [memory docs][md].

Community kits that add a vault

KitWhat it doesAdd to Claude CodeLicense
obsidian-second-brain (eugeniughelbur)A skill; with the native plugin install, use /obsidian-second-brain:obsidian-save, /obsidian-second-brain:obsidian-ingest, /obsidian-second-brain:obsidian-find and /obsidian-second-brain:obsidian-challenge; notes stay plain Markdown, core commands need no API keys; optional scheduled agents [README][os]/plugin marketplace add eugeniughelbur/obsidian-second-brain, then /plugin install obsidian-second-brain@obsidian-second-brain [README][os]MIT (GitHub API)
brain (NakulanT)Hooks log each Claude Code session, with time, into an Obsidian vault through a headless claude -p run, and inject a catalogue of the notes at session start; read-only MCP tools such as kb_search [README][nb]See its README [README][nb]MIT (GitHub API)
GBrain (garrytan)Shared, cited memory over plain Markdown for several agents; indexes into local PGLite or Postgres; self-hosted or managed [README][gb]See its README [README][gb]MIT (GitHub API)

When to pick which

  • Notes only for coding sessions in one repo: stay with CLAUDE.md and auto memory.
  • Want your own linked notes that Claude reads and writes: a vault skill such as obsidian-second-brain.
  • Want session logs and time tracking: brain, knowing its hooks start background claude -p runs [README][nb].
  • Want one memory shared across Claude Code, Codex and other agents: GBrain [README][gb].

Needs and risks

  • These kits run hooks or scheduled agents that read your sessions and write files; check the vault folder is separate from anything private before enabling them. A user on r/ObsidianMD titled a post "Don't let AI manage your second brain" ([post][r1], u/Glass-Garden-5888): a single opinion, not a measurement.
  • The brain README says a background runner writes the notes through claude -p, which uses your Claude usage [README][nb].
  • For keeping an existing vault safe, see obsidian-claude-code-vault-safe-maintenance.

Limits

  • 0 trials: WhatWorks has not run any of the three kits.

[md]: https://code.claude.com/docs/en/memory.md [os]: https://raw.githubusercontent.com/eugeniughelbur/obsidian-second-brain/main/README.md [nb]: https://raw.githubusercontent.com/NakulanT/brain/main/README.md [gb]: https://raw.githubusercontent.com/garrytan/gbrain/master/README.md [r1]: https://www.reddit.com/r/ObsidianMD/comments/1xo177j/dont_let_ai_manage_your_second_brain/

Started from a post by @Anthropic, packaged by the editor. Original post

Subjects

More in agent skills

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# How do I build a second brain with Claude Code and Obsidian?
Summary: Start with Claude Code's own memory (CLAUDE.md you write, auto memory Claude writes) before adding a vault tool; three community kits add an Obsidian vault on top: obsidian-second-brain, brain and GBrain (checked 2026-12-01). Use when you want Claude to remember you across sessions; keep the vault in a separate folder and read any kit's hooks first.
Copy for agent
get the whatworks thread claude-code-second-brain-notes-memory-obsidian-options and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread claude-code-second-brain-notes-memory-obsidian-options
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks