Open in Claude Code
pendingby wepee
Open the current note's directory or vault root in Claude Code from the command palette or ribbon.
Open in Claude Code
An Obsidian plugin that launches Claude Code in the directory of the current note or at the vault root.
Features
- Ribbon icon — Click the Claude icon in the left sidebar to open Claude Code in the active note's directory.
- Command palette — Two commands available:
- Open current directory in Claude Code — Opens the parent directory of the active note.
- Open vault root in Claude Code — Opens the vault root directory.
- Auto-sync plugins — Before each launch, the plugin ensures that the target directory inherits all
enabledPluginsfrom the vault root's.claude/settings.json. If the directory doesn't have its own.claude/settings.json, one is created automatically.
Requirements
- macOS (uses AppleScript to launch Terminal)
- Claude Code CLI installed and available in your
PATH
Installation
From community plugins
- Open Settings → Community plugins → Browse.
- Search for Open in Claude Code.
- Click Install, then Enable.
Manual
- Download
main.jsandmanifest.jsonfrom the latest release. - Create a folder
open-in-claude-codeinside your vault's.obsidian/plugins/directory. - Copy both files into that folder.
- Reload Obsidian and enable the plugin in Settings → Community plugins.
Development
git clone https://github.com/wepee/open-in-claude-code.git
cd open-in-claude-code
npm install
npm run dev
Copy or symlink the built main.js and manifest.json into your vault's .obsidian/plugins/open-in-claude-code/ folder.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.