TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/kepano/obsidian-skills/llms.txt
Use this file to discover all available pages before exploring further.
obsidian-cli skill teaches AI coding assistants to interact with a running Obsidian instance using the obsidian command-line tool. The CLI can read and write notes, search vault content, manage tasks, edit frontmatter properties, and support a full plugin and theme development cycle — including reloading plugins, capturing errors, taking screenshots, and inspecting the DOM. Load this skill when the user asks to interact with their Obsidian vault, manage notes from the terminal, or develop and debug Obsidian plugins and themes.
Obsidian must be open and running for all CLI commands to work. The CLI communicates with the active Obsidian instance; commands will fail if the application is not running.
Syntax
Parameters take a value with=. Quote values that contain spaces:
\n for newline and \t for tab within the content string.
File and Vault Targeting
Many commands acceptfile or path to target a specific note. Without either, the currently active file is used.
file=<name>— resolves like a wikilink (name only, no path or extension needed)path=<path>— exact path from vault root, e.g.folder/note.md
vault=<name> as the first parameter to target a specific vault:
Common Commands
The following patterns cover the most frequent vault operations:obsidian help to see all available commands — this is always up to date. Full documentation: https://help.obsidian.md/cli
Plugin Development
After making code changes to a plugin or theme, follow this develop/test cycle to pick up changes and verify them in the running Obsidian instance.Additional Developer Commands
Run JavaScript directly in the Obsidian app context:Run
obsidian help to see all available developer commands, including CDP (Chrome DevTools Protocol) controls and debugger commands.