Skip to content
Kitbay
Submit

obsidian-cli

MITUpdated on Sep 15, 202651,606GitHub stars

An agent skill from the Obsidian team's obsidianmd/obsidian-skills repository that shows an agent how to control a running Obsidian desktop app through the obsidian command, the command-line interface that ships with the Obsidian installer and has to be switched on first.

What the skill teaches

An agent skill from the Obsidian team's obsidianmd/obsidian-skills repository that shows an agent how to control a running Obsidian desktop app through the obsidian command, the command-line interface that ships with the Obsidian installer and has to be switched on first. With it the agent can read, create, search and manage notes, tasks and properties, choose the target vault and file, and, when someone is building a plugin or theme, reload it, execute JavaScript in the app, collect error output, grab screenshots and look at the DOM. The skill points out that the CLI exits with success even when a command fails, so the agent must read its output.

Capabilities

  • Read, create and search notes in a running Obsidian app
  • Manage tasks and properties from the command line
  • Target a specific vault or file
  • Reload plugins and run JavaScript while developing plugins or themes
  • Capture errors, screenshots and DOM details from Obsidian