obsidian-cli
SKILL.md
Obsidian CLI (Official, v1.12+)
The official Obsidian CLI connects to a running Obsidian instance via IPC. Requires Obsidian 1.12+ with CLI enabled in Settings > General.
Prerequisites
- Obsidian 1.12+ installed and running
- CLI enabled: Settings > General > Enable CLI
- The
obsidianbinary must be in your PATH
Important: Obsidian must be running for CLI commands to work. The CLI communicates with the running instance via IPC.
Platform Notes
- macOS/Windows: The Obsidian installer typically places the CLI binary in PATH automatically.
- Linux: You may need a wrapper script to avoid Electron flag injection that breaks CLI arg parsing. Ensure your wrapper is in PATH before the system
obsidianbinary. If running as a service, ensurePrivateTmp=falsefor IPC to work.