I connected Claude Code to Obsidian and it made me 10x more productive
Based on Noah Vincent's video on YouTube. If you like this content, support the original creators by watching, liking and subscribing to their content.
Generic AI output often stems from context resets, not from prompt quality alone.
Briefing
The core breakthrough here is treating Claude Code as an agent that lives *inside* a creator’s own Obsidian “second brain,” so every session starts with real, persistent context—project structure, writing rules, and prior decisions—rather than a blank slate. That shift matters because generic AI output often isn’t a prompt problem; it’s a context problem. When the system can read the vault from the first prompt onward, it can write in the user’s voice, follow established standards, and compound improvements over time.
A major pain point is that most AI workflows reset each chat: users reintroduce who they are, what they’re working on, and what background matters. Even with carefully crafted prompts, the model still lacks continuity and tends to produce generic results. The transcript argues that built-in “memory” features in tools like Claude and similar agents don’t solve this reliably because they store arbitrary snippets without hierarchy or editorial control—mixing irrelevant details into future work and sometimes inserting old journal fragments into new research or content.
The proposed fix is architectural: plug the AI directly into the knowledge system. Obsidian provides the second brain as local Markdown files in a folder on the computer, keeping data portable and human-readable. Claude Code then runs from the terminal and gains full access to the vault folder, with no chat-window limitations and no isolated conversation state. Instead of relying on opaque memory, the system uses two explicit Markdown files that Claude Code reads on startup.
At the center is `clo.md`, described as the “brain of the brain.” It stores identity, projects, system architecture, writing rules, and guidelines. Claude Code can update this file as preferences and standards evolve, and it can be meta-optimized—asking for changes to the structure so future outputs improve. The transcript also notes that `clo.md` can exist at multiple levels: a root version for the whole vault and additional versions inside frequently used folders (like SOP directories) so the agent loads the right context when it navigates.
Complementing that is `memory.md`, framed as a session log or continuity layer. After each work session, Claude Code records key decisions, patterns, and actions so it can resume where it left off next time. Over repeated sessions, the context becomes increasingly personalized, turning the setup into a compounding operating system rather than a one-off assistant.
Practical payoff is shown through content workflows: Claude Code can search a large Zettelkasten-style network of permanent notes, extract relevant concepts, and draft a newsletter using a consistent IDA structure and the user’s formatting rules. It can also create “skills” (repeatable SOP-based commands) so workflows become one-line actions like `/skillname`. The transcript demonstrates turning a newsletter workflow into a reusable skill that later runs with different inputs.
Finally, the system extends beyond the vault using MCP (Model Context Protocol) to connect Claude Code to external tools such as task management and Tana capture/voice-note systems. That enables pipelines like fetching the latest voice note, translating/formatting it, and saving a newsletter draft back into the vault.
The tradeoffs are clear: terminal comfort is required, initial setup takes time, and security risks rise with powerful file access and integrations. The transcript highlights prompt injection and supply-chain attacks as key threats, recommending restricted permissions, disabling auto-updates for MCP components, and limiting access to the vault folder. Cost is positioned as favorable: Obsidian is free, Claude Code runs on a Claude Pro subscription, and MCP servers can be self-hosted, avoiding per-token API pricing that can make other AI productivity tools expensive for heavy use.
Cornell Notes
The setup pairs Claude Code with an Obsidian “second brain” so the agent reads the user’s vault context on every session. Instead of relying on unreliable built-in memory that saves random snippets, it uses explicit Markdown context files: `clo.md` for identity, projects, rules, and architecture, and `memory.md` for session continuity (decisions, patterns, actions). Because Claude Code can access and modify files inside the vault, it can draft content from real notes, maintain consistent formatting, and improve over repeated sessions as the context files evolve. The workflow can be turned into reusable “skills” (SOP-like commands) and extended via MCP to pull from external tools like task management and Tana capture/voice notes. The result is persistent, controllable context that compounds productivity—at the cost of terminal setup and added security considerations.
Why does “generic AI output” happen even when prompts are good?
What’s wrong with built-in memory features, and how does this system avoid that?
What are `clo.md` and `memory.md`, and what does each one do?
How does the system turn one-off workflows into repeatable actions?
What does MCP add beyond vault-only automation?
What security risks come with this kind of agent access, and what mitigations are recommended?
Review Questions
- How do `clo.md` and `memory.md` differ in purpose, and why does that distinction matter for output quality?
- What mechanisms in this system replace the need for re-explaining context every chat session?
- Where do MCP integrations fit in the workflow, and what security controls are necessary when connecting external tools?
Key Points
- 1
Generic AI output often stems from context resets, not from prompt quality alone.
- 2
Opaque built-in memory can store irrelevant snippets; controllable, structured vault context is more reliable.
- 3
Obsidian provides a portable, human-readable local Markdown knowledge base that Claude Code can read and write directly.
- 4
`clo.md` centralizes identity, projects, rules, and architecture; `memory.md` preserves session continuity via key decisions and actions.
- 5
Claude Code can convert completed workflows into reusable “skills” (SOP-like commands) that run with slash syntax.
- 6
MCP extends automation by letting Claude Code access external tools like task managers and Tana capture/voice notes in real time.
- 7
Security requires restricting file access, guarding against prompt injection, and reducing supply-chain risk by controlling MCP updates and sources.