obsidian-cli

Control Obsidian vaults from the command line to read, create, search, and manage notes.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/CHENyiru3/AI-Skills-Collections --skill obsidian-cli-chenyiru3
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: obsidian-cli
Source: https://github.com/CHENyiru3/AI-Skills-Collections/tree/main/skills-market/writing/obsidian/obsidian-cli
Command: npx skills add https://github.com/CHENyiru3/AI-Skills-Collections --skill obsidian-cli-chenyiru3

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Obsidian vaults are powerful for knowledge work, but day-to-day tasks like reading, creating, searching, and managing notes require opening the GUI. This skill provides a CLI interface to perform these actions from the terminal, enabling automation and scripting.

Core Features & Use Cases

  • Read, create, search, and manage notes, tasks, and properties in Obsidian vaults from the command line.
  • Develop and debug Obsidian plugins and themes with commands to reload plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM.
  • Use cases include headless automation, batch note edits, and rapid prototyping of vault workflows.

Quick Start

Run the obsidian-cli to read a note named 'Daily Log' and display its content.

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?

To manage Obsidian vault notes from the command line, use this CLI interface to read, create, search, and edit notes directly from the terminal, enabling automation and scripting without opening the GUI.

Can I debug Obsidian plugins without the GUI?

Yes, you can debug Obsidian plugins without the GUI by running CLI commands to reload plugins, execute JavaScript, capture errors, take screenshots, and inspect the DOM directly from the terminal.

What is the best way to automate batch note edits in an Obsidian vault?

The best way to automate batch note edits in an Obsidian vault is using a CLI interface that allows you to script terminal commands to read, modify, and manage multiple notes automatically.

Does this CLI tool support running JavaScript inside an Obsidian vault?

Yes, the CLI tool supports running JavaScript inside an Obsidian vault, allowing you to execute scripts from the terminal for headless automation, rapid prototyping, and vault workflow testing.

How do I capture errors and inspect the DOM when developing Obsidian themes?

You can capture errors and inspect the DOM when developing Obsidian themes by running CLI commands from the terminal that execute JavaScript, capture errors, take screenshots, and inspect the DOM directly.

When should I not use a CLI approach for Obsidian vault automation?

You should not use a CLI approach for Obsidian vault automation when your task requires visual interaction with the GUI or real-time manual editing, as the CLI is optimized for headless automation and batch processing.