obsidian-cli

Automate Obsidian vault operations via the Obsidian CLI.

Updated May 5, 2026
One-click install
npx skills add https://github.com/sonhaicoder/haiclaudeskill --skill obsidian-cli-sonhaicoder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: obsidian-cli
Source: https://github.com/sonhaicoder/haiclaudeskill/tree/main/skills/obsidian-skills/skills/obsidian-cli
Command: npx skills add https://github.com/sonhaicoder/haiclaudeskill --skill obsidian-cli-sonhaicoder

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Interact with Obsidian vaults via the Obsidian CLI to read, create, search, and manage notes, tasks, and properties, enabling automated vault workflows and debugging without opening the app.

Core Features & Use Cases

  • Read, create, search, and manage notes, tasks, and properties from the terminal.
  • Reload plugins, execute JavaScript, capture errors, take screenshots, and inspect the DOM for plugin and theme development.
  • Use cases include rapid vault administration, CI-like automation, and debugging Obsidian plugins/themes from outside the app.

Quick Start

Run the obsidian help to see all available commands and try creating a note with a simple title.

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 vault notes from the command line?

You can manage Obsidian vaults from the command line by using the obsidian-cli to read, create, search, and update notes, tasks, and properties without opening the app. This enables automated vault workflows directly from the terminal.

What is the best way to debug Obsidian plugins outside the app?

Debugging Obsidian plugins outside the app is best done via command line operations that reload plugins, execute JavaScript, capture errors, take screenshots, and inspect the DOM. This supports rapid plugin and theme development without manual UI interaction.

Can I automate Obsidian vault workflows in a CI-like environment?

Yes, you can automate Obsidian vault workflows in CI-like environments by executing CLI commands to manage notes and properties. This enables rapid vault administration and automated testing without launching the Obsidian application.

Does the Obsidian CLI support searching and modifying note properties?

Yes, the Obsidian CLI supports searching and modifying note properties. It enables developers and power users to programmatically read, create, search, and manage properties within their vaults directly from the terminal.

How do I inspect the DOM of an Obsidian vault from the terminal?

You inspect the DOM of an Obsidian vault from the terminal using CLI commands designed for plugin development. These operations allow you to execute JavaScript, capture errors, take screenshots, and inspect the DOM without opening the app interface.

Why use a command line tool instead of the Obsidian app for vault management?

Using a command line tool for vault management eliminates manual UI interaction, enabling rapid administration and CI-like automation. It allows developers to script workflows, manage properties, and debug plugins efficiently from outside the application.