Sasan Sotoodehfar6k downloadsChat with Claude inside your vault, generate gallery-grade interactive planning artifacts, and sync everything Claude produces back into your notes.
Bring your notes, sources and AI into the same workspace.

Companion helps you research, write and create inside Obsidian. Find relevant notes and PDF passages, develop a source-linked argument, turn it into a draft or interactive artifact, and review edits before they change your notes.
Install Companion for Claude · Quick start · Read the guides
Install the plugin from the store link above. To build or contribute, start with CONTRIBUTING.md and the plugin source. The public release repository is companion-for-claude.
In Obsidian, open Settings → Community plugins → Browse, search for Companion for Claude, then install and enable it.
Open Companion and choose a signed-in Claude Code, Codex, or OpenCode CLI on desktop, an Anthropic API key on any device, or a local model.
Open a project note, turn on the Note context chip and choose Act. Start with a question worth answering:
Find the notes and PDF passages that support or challenge this idea. Give me a source-linked outline before drafting.
Try a reviewed note edit → · Full setup guide →
Create a sample project note:
# Reading list
Goal: Build a personal reading list.
Constraint: Keep it single-user; do not add account registration.
Next step: Choose the smallest useful first screen.
After setup, open the note and enable the Note context chip. Select Act and keep Allow write tools enabled. Ask:
Propose a clearer next step for this project. Keep its constraints unchanged and show the note edit for review.
Review the proposed hunks. Accept a useful change and reject any change to your meaning, then inspect the note: did the next step improve while the constraint stayed intact? The model may propose one hunk or several; rejecting the entire proposal is a valid outcome.
Model access is separate. Attached context is sent through the backend you select. See edit review and guardrails.
Work develops across many notes and many sessions. Companion keeps your sources, drafts and decisions together in the vault where you already think.
Combine keyword and on-device semantic search to find relevant notes and PDF passages, even when you do not remember the exact words. Bring the active note, selections, links, folders and images into the conversation. Agent mode can search, read and follow links, with every tool step visible.
Explore context and agent mode →
Research Desk brings sources, passages, claims, outlines and drafts into one project. See what supports a claim, what challenges it and which section needs work. Review the evidence and preview a draft before accepting it. Research records remain ordinary Markdown notes in your vault.
Turn your research into a draft, an interactive HTML artifact, a native Canvas or an Obsidian Base. Notes, artifacts and project records stay alongside the material that informed them.

Explore interactive artifacts →
Review proposed note edits and accept or reject individual changes before applying them. Other write tools ask for confirmation unless you grant access for the session. Conversations persist across restarts; an interrupted turn returns as stopped work with a Retry action.
Learn about edits and guardrails →
Authentication and cost → · Local models and on-device search →
127.0.0.1, requires a bearer token, and keeps
writes disabled until you enable them.Privacy and data flow → · MCP bridge security and setup →
This repository contains two related products with separate jobs:
obsidian-plugin/ is Companion for Claude, the
Obsidian community plugin described on this page.claude-plugin/ is the pinned
obsidian-agent project: portable workflows for Claude, Codex, Gemini,
OpenCode, and AgentSkills hosts using the official Obsidian CLI. It does not
require Companion or MCP.Explore portable workflows and supported hosts →
git clone --recurse-submodules https://github.com/cavi-ai/claude-obsidian.git
Already cloned without submodules:
git submodule update --init --recursive
See obsidian-plugin/README.md
for development and test commands.
Contributing · Security · Code of conduct · Attribution · MIT license
The interface aesthetic is an original reformulation inspired by Thariq
Shihipar's “unreasonable effectiveness of HTML”
gallery. Steph Ango's Obsidian Skills
serve as format references for Obsidian-native output. Both upstream projects
are pinned, unmodified submodules with full attribution in NOTICE.
Companion has no telemetry or analytics. Network activity follows an action you take or a backend you choose.
claude command: a desktop Claude Code turn sends the
prompt and attached vault context to the CLI, which owns authentication and
service traffic.localhost or a loopback or private-range IP);
no other host name qualifies.web_fetch, and web_search
send only the URL or query you supplied.Semantic and keyword indexes stay on device. Credentials live in Obsidian's
encrypted secret storage, never the vault-synced data.json. Desktop shell
execution uses argument arrays rather than shell strings and covers only the
Claude/Obsidian CLIs, browsers you select for artifacts, and stdio MCP servers
you configure; it is disabled on mobile.
For the complete endpoint, WebAssembly, site-specific capture, and cloud-session details, see Authentication and cost, Local models, and the architecture guide.
Companion renders a fenced ```claude-html block in a sandboxed iframe
with scripts allowed but same-origin access denied. A restrictive content
security policy blocks network requests and form submissions, so the artifact
cannot reach the vault, cookies, or remote services. Saving an artifact writes
the same block to a normal Markdown note.
Artifact behavior and authoring examples →
All commands run from this directory:
pnpm install
pnpm run typecheck
pnpm run lint
pnpm test
pnpm run docs:verify
pnpm run build
To install a development build, copy main.js, manifest.json, and
styles.css to <vault>/.obsidian/plugins/claude-companion/, then enable
Companion for Claude in Community plugins. pnpm run dev watches and
rebuilds main.js for active development.
See CONTRIBUTING.md for the full gate and release
workflow.