Open in Claude Code

pending

by wepee

Open the current note's directory or vault root in Claude Code from the command palette or ribbon.

Updated 26d agoMITDiscovered via Obsidian Unofficial Plugins
View on GitHub

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 enabledPlugins from 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

  1. Open Settings → Community plugins → Browse.
  2. Search for Open in Claude Code.
  3. Click Install, then Enable.

Manual

  1. Download main.js and manifest.json from the latest release.
  2. Create a folder open-in-claude-code inside your vault's .obsidian/plugins/ directory.
  3. Copy both files into that folder.
  4. 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.