obsidian-cli

Manage Obsidian vault notes and run developer commands via CLI.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It removes the friction of manually opening Obsidian to read, create, and search notes by letting you perform common vault operations from the command line.

Core Features & Use Cases

  • Vault and note operations: Read, create, append, and manage notes while targeting specific vaults and files.
  • Search and task support: Search vault content and work with daily notes, tasks, properties, tags, backlinks, and other related data.
  • Plugin and theme development tools: Reload plugins, run app-context JavaScript, inspect errors/console, capture screenshots, and inspect DOM/CSS for debugging.

Quick Start

Create a new note in your default vault by telling the AI: obsidian create name="My Note" 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 manage my Obsidian vault from the command line?

You can manage an Obsidian vault from the command line by using the obsidian CLI to read, create, append, and search notes while targeting specific vaults and files deterministically.

Can I search notes and query backlinks in Obsidian without opening the app?

Yes, you can search vault content and query backlinks, properties, tags, and tasks without opening the app by executing obsidian CLI commands in your terminal.

Does the Obsidian CLI support plugin development and debugging?

The Obsidian CLI supports plugin development by allowing you to reload plugins, run app-context JavaScript, inspect errors and the console, capture screenshots, and inspect DOM and CSS.

What is the best way to automate daily notes and task management in Obsidian?

The best way to automate daily notes and task management is using the obsidian CLI to run vault automation workflows that append content and manage tasks directly from the terminal.

Do I need a running Obsidian instance to use command line vault automation?

Yes, you need a running Obsidian instance because the obsidian CLI relies on the active application context to execute commands for file targeting, vault selection, and developer debugging.