obsidian-cli
Installation
Summary
Read, create, search, and manage Obsidian vault notes via CLI with built-in plugin development and debugging tools.
- Core vault operations: read, create, append, search notes; manage tasks, properties, tags, and backlinks with flexible file targeting
- Daily note shortcuts for quick appends and reads; supports templates, silent mode, clipboard output, and multi-vault targeting
- Plugin development workflow: reload plugins, run JavaScript in app context, capture screenshots, inspect DOM and CSS, check console errors, and toggle mobile emulation
- File targeting via wikilink-style names or exact paths; all commands default to the active file or most recently focused vault
SKILL.md
Obsidian CLI
Use the obsidian CLI to interact with a running Obsidian instance. Requires Obsidian to be open.
Command reference
Run obsidian help to see all available commands. This is always up to date. Full docs: https://help.obsidian.md/cli
Syntax
Parameters take a value with =. Quote values with spaces:
obsidian create name="My Note" content="Hello world"
Flags are boolean switches with no value: