obsidian-cli
Installation
SKILL.md
Obsidian CLI
When to apply
- The user asks to work with an Obsidian vault from the terminal.
- The task mentions notes, markdown, daily notes, backlinks, tags, tasks, or vault search.
- The task is about using the Obsidian CLI rather than editing files directly.
- The task is part of ongoing coding work and the vault may hold useful project context, decisions, progress notes, or handover state.
Core workflow
- Confirm the target vault before running note commands. If it is unclear, run
obsidian vaults. - If
obsidian vaultsshows exactly one open vault, use that vault by default. - If the command or syntax is uncertain, check help first with
obsidian help,obsidian help <command>, orobsidian <command> --help. - Prefer read-only discovery first: search or read, then expand with
linksandbacklinksonce you find a relevant note. - Prefer updating an existing note with
appendorprependover rewriting a whole note or creating a new one. - Re-read afterwards when the write matters operationally.