Clear thinking.
subscribe
◆ FORMULA · DAILY What we answered today

No plugin needed: point Claude Code at the vault

The problem with out-of-the-box AI tools with BYOK (bring your own key) is their security and maintenance costs, in time and in money. There is also the question of whether such a tool should be an Obsidian plugin at all, or something else. There is definitely no need for a plugin, because pointing a Claude Code session in the terminal at the folder where your vault lives is enough. My initial problem with this approach was whether it scales.

  • The case I had in mind was a vault with hundreds of thousands of notes, and what that volume does to the agent's context window.
  • It looks like the approach works anyway. The agent treats the folder as its codebase and pulls only a limited set of notes at a time, so processing time and context stay safe.
  • The whole thing depends on the notes being well maintained, with the same template and clear titles throughout.
  • If you do use Obsidian, the Smart Connections plugin surfaces related notes while you write, which helps with keeping the vault tidy.

It is also possible to run a 'double agent' setup. One agent lives inside the vault and maintains it, while the second agent, the one you talk to, runs in the terminal. You connect the two over MCP, but the whole setup is overkill unless you are dealing with a really enormous database.

Written against the deadline,
Zhenia

← Total capture builds a backlog you never open all daily notes →

// SUBSCRIBE

Get the Daily by email

Every daily note and weekly guide, in your inbox. No spam.