obsidian-cli
Installation
SKILL.md
Obsidian CLI — Operate on Obsidian Vaults
Requires the obsidian CLI on $PATH and the Obsidian desktop app running.
obsidian <command> [options]
General Notes
- To get the vault directory path, run
obsidian vault info=path. file=<name>resolves by name (like wikilinks);path=<path>is an exact path (e.g.folder/note.md).- Most commands default to the active file when
file/pathis omitted. - Quote values with spaces:
name="My Note". - Use
\nfor newline,\tfor tab in content values. - Target a specific vault:
vault=<name>. - Many commands accept
format=json|tsv|csvfor structured output.