obsidian-cli

Control Obsidian vaults from the command line for read, write, and search operations.

180|20|Updated Oct 3, 2025
One-click install
npx skills add https://github.com/edrickleong/obsidian-calendar-bases --skill obsidian-cli-edrickleong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: obsidian-cli
Source: https://github.com/edrickleong/obsidian-calendar-bases/tree/main/.agents/skills/obsidian-cli
Command: npx skills add https://github.com/edrickleong/obsidian-calendar-bases --skill obsidian-cli-edrickleong

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manual vault management in Obsidian is slow and repetitive; the Obsidian CLI provides a fast, scriptable way to read, create, search, and manage notes and related data.

Core Features & Use Cases

  • Obsidian CLI integration: read, create, search notes, manage tasks and properties from the terminal.
  • Plugin and theme development: reload plugins, run JavaScript, capture errors, and debug DOM structures to accelerate development.
  • Automation and scripting: integrate vault operations into scripts, batch process notes, and automate routine maintenance across vaults.

Quick Start

Open Obsidian and run obsidian read file="My Note" to retrieve its contents.

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

The Obsidian CLI allows you to reload plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM directly from the terminal. These capabilities accelerate debugging cycles and theme development workflows.

Can I search and read notes across multiple Obsidian vaults?

Yes, you can target specific Obsidian vaults using the CLI to perform read and search operations on notes. This allows developers to retrieve and manage content programmatically across different vaults from the command line.

Does the Obsidian CLI support running JavaScript for vault automation?

Yes, the Obsidian CLI supports running JavaScript commands to automate vault operations and interact with the application directly. This enables developers to execute custom scripts for advanced note manipulation and debugging.

What is the best way to batch process notes in an Obsidian vault?

The primary limitation is that it requires the Obsidian application to be running, as the CLI interacts with the local app instance. Users must ensure their target vaults are properly configured and accessible within the application environment.