obsidian-cli

Manage Obsidian vaults from the command line with plugin reload and JavaScript execution.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Michael1Peng/watson --skill obsidian-cli-michael1peng
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: obsidian-cli
Source: https://github.com/Michael1Peng/watson/tree/main/.agents/skills/obsidian-cli
Command: npx skills add https://github.com/Michael1Peng/watson --skill obsidian-cli-michael1peng

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Read, create, search, and manage Obsidian vaults from the command line. Apply to vault-wide operations, plugin and theme development, debugging, and automation across single or multiple vaults. Requires Obsidian to be open and supports commands to reload plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM.

Core Features & Use Cases

  • CLI-driven vault management: read, create, search, and manage notes, tasks, and metadata directly from the terminal.
  • Plugin/theme development support: reload plugins, execute JavaScript, diagnose issues, and inspect runtime behavior during development.
  • Use Case: when automating Obsidian workflows or managing content across multiple vaults, use obsidian-cli to script common tasks and speed up projects.

Quick Start

Run obsidian help to view all available commands.

Frequently Asked Questions about obsidian-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Obsidian vaults from the command line?

Manage Obsidian vaults from the command line by reading, creating, searching, and managing notes, tasks, and metadata. This enables vault-wide operations, automation, and scripting across single or multiple vaults directly from your terminal.

Can I debug Obsidian plugins using a CLI?

Debug Obsidian plugins using a CLI to reload plugins, execute JavaScript, and diagnose issues. This supports plugin and theme development by allowing you to inspect runtime behavior and capture errors directly from the terminal.

Does the Obsidian CLI support DOM inspection and screenshots?

The Obsidian CLI supports DOM inspection and taking screenshots. It requires the Obsidian application to be open to capture runtime elements and inspect the interface during development or debugging sessions.

What are the prerequisites for running Obsidian CLI commands?

The prerequisite for running Obsidian CLI commands is having the Obsidian application open. This active connection is required to execute commands, run JavaScript, and capture errors within your vault environment.

How do I automate Obsidian workflows across multiple vaults?

Automate Obsidian workflows across multiple vaults by using a CLI tool to script common tasks. This approach speeds up projects by allowing you to manage content and apply vault-wide operations programmatically.