Skip to content
ExplainedCode

Obsidian AI Connectors Let Claude Code and Codex Share One Vault

Obsidian AI connectors teach Claude Code and Codex to use the same notes. Here’s how to test the handoff and what happens when an agent runs in the cloud.

By DC Team · · 5 min read

One Vault, Many Agents beside Obsidian’s purple logo and converging violet light trails

Obsidian AI connectors let Claude Code and Codex work from the same vault. On Nov. 25, Obsidian announced official integrations that teach agents how to read and maintain its notes, tables and diagrams. The useful change for developers is that a decision written with one agent can be picked up by another from the same Markdown file. Both agents need access to that file. The skill tells each what to do once it gets there. Obsidian’s skills documentation.

End an incident investigation by writing one short note with the cause, the approved fix and a link to the rollback procedure. Open a fresh session in a different agent the next morning and ask for those three things. If it can find them in the note, the team has a handoff that survives closing the original chat.

What the Obsidian AI connectors actually install

Obsidian ships seven skills in its official package. Each is a set of instructions in the open Agent Skills format. The Markdown skill covers wikilinks, properties, callouts and embeds. The Bases skill covers views such as tables and kanban boards, and the Canvas skill covers nodes and edges in the JSON Canvas format. The other four document how to work with the desktop CLI, Headless, the Defuddle web extractor and the Knap template renderer. The plugin lists those optional tools as separate dependencies. Obsidian’s plugin README and the Agent Skills specification.

The skills predate the announcement. The Nov. 11 release bundled them for Claude Code, Codex and Cursor under Obsidian’s publisher account. On Nov. 25, version 1.2.2 marked the official Claude listing and 1.2.3 added an Antigravity manifest. Obsidian also documents installation through ChatGPT, Dots, Cursor, Grok Bot, Hermes and Kiro, with installation from GitHub for other skills-compatible agents. Release 1.1.0, release 1.2.2 and release 1.2.3.

Obsidian’s plugin is a skills package. The company lists MCP under active work on its roadmap, as a future way to reach vaults from agents that lack the CLI or Headless. If you came here after reading about Claude Code’s skills over MCP, that feature gets instructions from a server. These Obsidian instructions install with the plugin or from GitHub. Obsidian’s roadmap.

Obsidian also pitches the skills as a way to use fewer tokens. If that savings matters to your team, measure the same retrieval task with and without the skill. An agent looking up a known file path and one searching an entire vault are doing different amounts of work.

Where the agent gets your files

An Obsidian vault is a folder. Its notes are Markdown files that any editor with permission can open. That makes direct file access the simplest route for a local coding agent. The desktop CLI is useful when you want Obsidian itself to resolve a link or update backlinks during a rename. Obsidian’s skill documents the commands, while your agent’s runtime supplies the ability to call them. How Obsidian stores data and the CLI skill.

How the agent reaches the vaultWhat you need
Direct file access from a local agentA vault folder the agent can read. Use the Markdown skill when formatting and links matter.
Obsidian CLI on the desktopThe desktop app running with the command-line interface enabled and a session that can run local commands.
Obsidian Headless on another machineA runtime that can run the Headless client and an active Obsidian Sync subscription. Sync copies the vault to that runtime.

The last row changes where your data lives. Obsidian’s README uses Meta’s cloud-hosted Muse as an example. If you choose Headless there, the vault syncs into Meta’s cloud environment. A desktop agent can also send excerpts it reads to a hosted model for inference. Obsidian’s core app stays AI-free by default. It’s free for local use, including work, and the company says the app requires no account and collects no telemetry. Check the model provider’s terms and your workspace settings for what happens to content the agent reads. Plugin requirements and data scope, Headless Sync requirements, Obsidian’s licensing announcement and Obsidian’s security notes.

A handoff you can reproduce

We ran the GitHub installation route in a disposable folder standing in for a project vault. The installer put copies of the Markdown and desktop CLI skills in the project skill directories for Claude Code and Codex. We checked that the installed files matched the upstream files byte for byte. You can reproduce the install from the root of a test vault with this command. The skills installer.

npx skills add https://github.com/obsidianmd/obsidian-skills \
  --agent claude-code --agent codex \
  --skill obsidian-markdown --skill obsidian-cli --copy --yes

For the handoff, we used a synthetic note at Decisions/Cache TTL.md. It sets a 300-second TTL, names Platform as the owner and links to [[Rollback runbook]]. On Obsidian Desktop 1.15.1 for macOS, we used the CLI to read both files. Then we appended a one-line verification entry through the CLI and saw that exact line in the on-disk Markdown diff. The test checked installation and file access. Run the prompt below to check how your agents use those files.

Put this prompt in a fresh session after you give it read access to your test folder.

Read Decisions/Cache TTL.md and follow its rollback link. Report the TTL, the owner and the rollback trigger. Give the file path for each answer. Leave the files untouched.

Give the second agent a deliberately changed trigger in the saved decision and ask the same question in a new session. Its answer should change with the file. Check the cited path and wording yourself. This exercise tells you whether the session can find the source you intended it to use. You can run the same exercise with the desktop CLI enabled and use obsidian read path="Decisions/Cache TTL.md" from inside the vault to check what the app sees. Obsidian CLI command reference.

What to do before connecting your main vault

Start with a small vault containing only material you’re willing to give to that model provider. A team runbook with an invented incident works well. Open it with read access first and run the handoff in two fresh sessions. Use the agent or filesystem permissions to enforce that boundary.

When you want agents to write, give each one its own drafts folder and review the diff before promoting anything into your team’s decisions or runbooks. Save one approved version of the note in a predictable path. Two agents writing to the same decision in parallel can overwrite each other’s changes, even when both know the right Markdown syntax.

If the project requires all note text to stay on your hardware, choose a local runtime and a local model, then check which tools make network calls. Once the pilot works, add the runbooks people already consult and keep their approvals in the same place the agents will find them.