obsidian-cli

Execute Obsidian CLI commands for file, task, property, and plugin management.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/min-zou/obsidian-doc --skill obsidian-cli-min-zou
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: obsidian-cli
Source: https://github.com/min-zou/obsidian-doc/tree/main/format/areas/system/agent-skills/codex/obsidian-cli
Command: npx skills add https://github.com/min-zou/obsidian-doc --skill obsidian-cli-min-zou

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies command-line operations on Obsidian vaults, allowing for efficient management of notes, tasks, and plugins.

Core Features & Use Cases

  • Command-Line Access: Perform actions such as reading, creating, searching, and managing notes via the CLI.
  • Plugin & Theme Development: Commands to reload plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM.
  • Use Case: For users who need to perform batch operations, manage their vaults programmatically, or develop plugins and themes without a GUI.

Quick Start

Use the 'obsidian' CLI to create a new note named 'My Note' with the content 'Hello world'.

Frequently Asked Questions about obsidian-cli

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

FAQPage Schema
How do I automate Obsidian vault management from the command line?

Obsidian vault management from the command line is automated by executing file, task, and property commands via the Obsidian CLI. This allows you to read, create, and search notes programmatically without a GUI.

Can I reload Obsidian plugins and inspect the DOM using a CLI?

Yes, you can reload Obsidian plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM using the Obsidian CLI. This streamlines plugin and theme development workflows directly from the terminal.

Do I need the Obsidian app open to execute CLI commands on my vault?

Yes, executing CLI commands on your vault requires the Obsidian application to be open and the CLI to be installed. This setup ensures the command-line interface can successfully interact with your active vault.

What is the best way to perform batch operations on Obsidian notes?

The best way to perform batch operations on Obsidian notes is using the Obsidian CLI for command-line automation. It enables efficient programmatic management of notes, tasks, and properties without manual GUI interaction.

Does the Obsidian CLI support task management and property updates?

Yes, the Obsidian CLI supports task management and property updates by executing specific command-line operations. It allows you to programmatically manage tasks and modify note properties within your active vault.