بنقرة واحدة
open
Open a note in Obsidian from Claude Code
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Open a note in Obsidian from Claude Code
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Generate C4 architecture diagrams from system notes
Create and edit Obsidian Canvas files for architecture visualization
Visualize system dependencies and relationships
Analyse architecture diagrams and flowcharts
Generate architecture diagrams using Python diagrams library
Batch populate summary fields using content analysis
| name | open |
| context | fork |
| description | Open a note in Obsidian from Claude Code |
| model | haiku |
Opens a vault note in Obsidian directly from Claude Code.
/open <note name> # Open by name (fuzzy match)
/open daily # Open today's daily note
/open Concept - CAMO # Open a specific note
/open Meeting - 2026-02-11 # Open by partial name
Determine what the user wants to open:
Daily/YYYY/YYYY-MM-DD using today's date# Find by partial name
Use the Glob tool with pattern **/*<name>*.md to find the file. If multiple matches, pick the most likely one or ask the user.
Convert the file path to a URI-encoded relative path (from vault root):
.md extension%20%2FExamples:
Daily/2026/2026-02-11.md → Daily%2F2026%2F2026-02-11Concept - Context Engineering.md → Concept%20-%20Context%20EngineeringMeetings/2026/Meeting - 2026-02-11 Stand Up.md → Meetings%2F2026%2FMeeting%20-%202026-02-11%20Stand%20UpRun this command with dangerouslyDisableSandbox: true (required for inter-process communication):
open "obsidian://open?vault=BA-DavidOliver-ObsidianVault&file=<encoded_path>"
The sandbox must be disabled — the open command needs macOS Launch Services to activate Obsidian, which is blocked in sandbox mode.
Tell the user which note was opened. If Obsidian is not running, the error will mention procNotFound — tell the user to start Obsidian first.
| Input | Resolves To |
|---|---|
daily / today | Daily/YYYY/YYYY-MM-DD (today's date) |
yesterday | Daily/YYYY/YYYY-MM-DD (yesterday's date) |
| A person's name | People/<Name>.md |
A type prefix (e.g. ADR - ) | Search in the appropriate folder |
"procNotFound" error → Obsidian is not running. Ask the user to start it.
"operation not permitted" error
→ Sandbox was not disabled. Ensure dangerouslyDisableSandbox: true is set on the Bash call.
Wrong note opened → Multiple files matched. Use a more specific name or provide the full path.