Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Claude Code Bridge

othnielsuothnielsu229 downloads

Bridge selected text to Claude Code CLI for real-time context sharing.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

一个 Obsidian 插件,将当前打开的笔记和选中的文字实时传递给 Claude Code CLI。

在 Obsidian 中打开笔记或选中文字后,旁边终端里的 Claude Code 会自动将该文件作为上下文 — 体验与 VS Code 一致。

使用方法

  1. 在 Obsidian 中启用插件
  2. 打开一个终端,切换到你的 vault 目录
  3. 运行 claude
  4. 运行 /ide 连接到 Obsidian
  5. 在 Obsidian 中打开笔记或选中文字 — Claude Code 会自动将该文件和选中内容作为上下文

注意: Claude Code 必须从 vault 目录启动,否则无法匹配工作区。


An Obsidian plugin that bridges your active note and text selection to the Claude Code CLI in real-time.

When you open a note or select text in Obsidian, the adjacent terminal running Claude Code automatically shows the file as context — just like VS Code.

Usage

  1. Enable the plugin in Obsidian
  2. Open a terminal in your vault directory
  3. Run claude
  4. Run /ide to connect to Obsidian
  5. Open a note or select text in Obsidian — Claude Code automatically picks up the file and selection as context

Important: Claude Code must be started from the vault directory for workspace matching to work.


License

MIT

HealthExcellent
ReviewSatisfactory
About
Bridge selected text from Obsidian to Claude Code CLI in real time, mirroring selections as "Selected N lines from <file>" in the adjacent Claude terminal just like VS Code. Start a local WebSocket server and write a discovery lock file so Claude Code auto-discovers and receives JSON-RPC selection_changed notifications.
IntegrationsAI
Details
Current version
0.1.1
Last updated
2 months ago
Created
2 months ago
Updates
2 releases
Downloads
229
Compatible with
Obsidian 1.5.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
othnielsuothnielsuradical7vii
GitHubradical7vii
  1. Community
  2. Plugins
  3. Integrations
  4. Claude Code Bridge

Related plugins

Fast Note Sync

Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base.

Agent Client

Chat with Claude Code, Codex, Gemini CLI, and more via the Agent Client Protocol — right from your vault.

Smart Composer

AI chat with note context, smart writing assistance, and one-click edits for your vault.

Claude Sidebar

Run Claude Code in your sidebar.

Claude Code IDE

Connect your vault to Claude Code and share editor context with the CLI.

Snipd Official

Sync Snipd podcast highlights to your vault with transcript, notes, AI summaries and metadata.

Plaud Sync

Sync Plaud voice recordings into Markdown notes with transcripts, AI summaries, and highlights.

BMO Chatbot

Generate and brainstorm ideas while creating your notes using Large Language Models (LLMs) such as OpenAI's "gpt-3.5-turbo" and "gpt-4".

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.

BRAT

Easily install a beta version of a plugin for testing.