Obsidian CLI is an agent skill for the obsidian command that ships with the Obsidian installer. It reads, creates, appends, renames, moves and searches notes, sets properties, lists tasks and tags, and works with daily notes.
It also covers plugin and theme development: reload a plugin, read errors, run JavaScript in the app, inspect the DOM and CSS, and take screenshots.
What You Get
- Common command patterns for notes, properties, tasks and tags
- Rules for quoting, flags and output options
- A develop and test cycle for plugins and themes
Common Use Cases
- Searching and editing notes from an agent
- Managing daily notes and tasks
- Developing and debugging Obsidian plugins
What Makes It Unique
It steers the assistant to rename and move commands so links update, and warns that the CLI exits with status 0 on failure, so output must be read. It tells the assistant to skip the unrelated npm package of the same name.
Under The Hood
The skill is one SKILL.md with no scripts. The assistant runs the obsidian command in a shell, which talks to the open Obsidian app over a local socket. Commands can write and delete notes in your vault, and the eval command runs JavaScript inside the app.