An Obsidian plugin that embeds Claude Code/Codex as an AI collaborator in your vault
An Obsidian plugin that embeds Claude Code/Codex as an AI collaborator in your vault
An Obsidian plugin that embeds AI coding agents (Claude Code, Codex, Grok, Opencode, Pi, and more to come) in your vault. Your vault becomes the agent's working directory — file read/write, search, bash, and multi-step workflows all work out of the box. Visit claudian.md to learn more.
Open the chat sidebar from the ribbon icon or command palette. Select text and use the shortcut for inline editing. Everything works like your familiar coding agent, Claude Code, Codex, Grok, Opencode, and Pi — talk to the agent, and it reads, writes, edits, and searches files in your vault.
Inline Edit — Select text or start at the cursor position + hotkey to edit directly in notes with word-level diff preview.
Slash Commands & Skills — Type / or $ for reusable prompt templates or Skills from user- and vault-level scopes.
@mention — Type @ to reference vault files, folders, and Collab member changes. Type # to reference Collab tickets.
Instruction Mode (/instruction) — Refined custom instructions added from the chat input.
MCP Servers — Connect external tools through each coding agent's native CLI-managed MCP configuration.
Tabs & Session Management — Use multiple tabs in single-panel mode or a persistent session manager beside the chat in dual-pane mode.
Collab Mode (Experimental) — Collaborate on shared projects with other Claudian users. Learn more.
Or install directly from the community plugin page.
Clone this repository into your vault's plugins folder:
cd /path/to/vault/.obsidian/plugins
git clone https://github.com/YishenTu/claudian.git
cd claudianInstall dependencies and build:
npm install
npm run buildEnable the plugin in Obsidian:
# Watch mode
npm run dev
# Production build
npm run buildThe following sections use Claude Code as an example.
If Claudian cannot auto-detect a provider CLI, verify that the CLI is installed and available to GUI applications through PATH. Typical errors include spawn claude ENOENT and Claude CLI not found. This issue is common with Node version managers (nvm, fnm, volta).
Leave the CLI path setting empty first so Claudian can auto-detect the CLI. If auto-detection fails, find the executable path and set it in Settings → Advanced → Claude CLI path.
| Platform | Command | Example Path |
|---|---|---|
| macOS/Linux | which claude |
/Users/you/.volta/bin/claude |
| Windows (native) | where.exe claude |
C:\Users\you\AppData\Local\Claude\claude.exe |
| Windows (npm) | npm root -g |
{root}\@anthropic-ai\claude-code\cli-wrapper.cjs |
Note: On Windows, avoid
.cmdand.ps1wrappers. Useclaude.exefor native installs, orcli-wrapper.cjsfor package-manager installs.cli.jsis only a legacy fallback for older Claude Code npm packages.
Alternative: Add your Node.js bin directory to PATH in Settings → Environment → Custom variables.
When using an npm-installed provider CLI, make sure its executable and Node.js are available from the same environment. Check their paths:
dirname $(which claude)
dirname $(which node)If the paths differ, GUI apps like Obsidian may not find Node.js.
Either:
PATH=/path/to/node/bin.For provider-specific installation and configuration guidance, refer to the provider documentation linked in the Requirements section. If you have a feature request or run into a bug, please submit a GitHub issue.
…Issues and focused pull requests are welcome. Issues are the preferred starting point: describe the problem, reproduction steps, and environment clearly so it can be investigated.
Before opening a pull request, please read the contribution guide. Pull requests must explain the problem, the proposed solution, why the approach is appropriate, and how the change was validated. Pull requests that add a new provider are not accepted; the guide explains this maintenance and product-quality boundary in detail.
Thanks to Kimi (Moonshot AI), our Open Source Friend, for supporting Claudian! With 2.8T parameters, native vision, and a 1-million-token context window, Kimi K3 delivers frontier performance across long-horizon coding, knowledge work, and reasoning.
New users receive bonus API credits equal to 10% of their first successful top-up. Use the discount link for the CN or Global platform. This offer ends September 30, 2026. Claudian receives no affiliate commission from these links.
Claudian is proudly sponsored by Ke Holdings Inc. (BEIKE) and the MOMA team. Their support helps Claudian continue to improve through ongoing development and maintenance.
Want to support Claudian or appear here? Contact me: [email protected].
Licensed under the MIT License.
和claude code的登录不同步嘛?
Sending the 2nd message in a session kills the Obsidian renderer — no CLI process is ever spawned, no crash dump
Claude provider: the picker shows a model name the plugin never verifies against the model it actually sends
Claude Code process exited with code
[Bug]: OpenCode provider cannot discover models with OpenCode V2 beta CLI (opencode2)
Sending an image to a non-multimodal model permanently poisons the conversation
[Bug]: model config is not respected resulting in invalid model name
[Bug]: 2.3.5 "Message was not sent. Please try again." on every send, no CLI process spawned (2.3.3 works)
一直报这个错误,**Error:** Claude Code process exited with code 1
[Bug]: 2.3.5 Custom models cannot be displayed