Documentation
README
Obsidian CLI
Use the obsidian CLI to interact with a running Obsidian instance. Requires Obsidian to be open.
[!IMPORTANT] macOS โ open Obsidian once before using the CLI. On macOS the
obsidiancommand launches the Electron app if no Obsidian instance is running, producing a visible window flash on the first call. Once Obsidian is open, subsequent CLI calls forward args to the running instance silently โ no further flicker. For interactive workflows (slash commands), ensure Obsidian is open at the start of the session. For non-interactive contexts where you can't guarantee Obsidian is open (background hooks, automation, CI), prefer filesystem reads viaRead/Grep/Glob.
Command reference
This is the opening of the README. Read the full README on GitHub.