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.mdis 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 ofMEMORY.md[memory docs][md].- Auto memory lives in
~/.claude/projects/<project>/memory/, shared by all worktrees of one repository;autoMemoryDirectoryinsettings.jsonmoves it [memory docs][md]. - The docs say to keep each
CLAUDE.mdunder 200 lines, and that both are context, not enforced configuration [memory docs][md].
Community kits that add a vault
| Kit | What it does | Add to Claude Code | License |
|---|---|---|---|
| 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.mdand 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 -pruns [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