I used Obsidian as a persistent brain for Claude Code and built a full open source tool over a weekend. happy to share the exact setup.
TL;DR Highlight
A development workflow sharing how someone used an Obsidian vault as Claude Code's persistent memory to ship an open-source tool in a weekend.
Who Should Read
Developers using Claude Code on long-term projects who need persistent context across sessions.
Core Mechanics
- By treating an Obsidian vault as a structured knowledge base, the developer gave Claude Code persistent memory of project decisions, architecture choices, and context that normally resets between sessions.
- The Obsidian vault structure (linked notes, tags, backlinks) maps well to how Claude Code consumes context — hierarchical and cross-referenced information is easier to navigate than flat documents.
- The workflow: maintain notes in Obsidian during development, export relevant notes as context at the start of each Claude Code session, update notes after each session with decisions made.
- The developer completed a weekend open-source project in roughly 12 hours of actual work, citing persistent context as the key factor in maintaining coherence across sessions.
- The approach works best for projects with many interdependent design decisions — for simple scripts or one-off tasks, the overhead isn't worth it.
Community Reactions
- The Reddit post included the actual Obsidian vault structure used, with example notes showing how architecture decisions were documented.
- Commenters noted this is essentially a more structured version of maintaining a CLAUDE.md file, with Obsidian's linking features adding value for complex projects.
- Several developers shared that they'd tried similar approaches with different note-taking tools (Notion, Roam) with similar results.
How to Apply
- Create an Obsidian vault for your project with notes for: architecture overview, key decisions (and why they were made), current state, and next steps.
- At the start of each Claude Code session, export the relevant notes to a context file and load it. The /memory command or CLAUDE.md can hold a pointer to the full vault.
- After each session, update your Obsidian notes with decisions made and new context. This investment pays off as the project grows.
- Use Obsidian's linking features to create a decision log — link related decisions together so you can feed Claude Code a coherent narrative of the project's evolution.
Try It
# CLAUDE.md Template Example
## Project Overview
- Stack: Next.js 14, TypeScript, Drizzle, Turso
- Deployment: Vercel
## Coding Rules
- Components are always functional
- API routes go under /app/api/
## Memory Files
- Detailed context: ./obsidian-vault/context.md
- Work logs: ./obsidian-vault/logs/Terminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques