obsidian-cli

Manage Obsidian vault notes and tasks from the command line.

Updated Jan 25, 2026
One-click install
npx skills add https://github.com/xfs96192/claude-config --skill obsidian-cli-xfs96192
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: obsidian-cli
Source: https://github.com/xfs96192/claude-config/tree/main/skills/obsidian-cli
Command: npx skills add https://github.com/xfs96192/claude-config --skill obsidian-cli-xfs96192

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Interact with Obsidian vaults via the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more, enabling development and debugging workflows from the terminal.

Core Features & Use Cases

  • Interact with a running Obsidian vault from the CLI to read, create, search, and organize notes and tasks
  • Reload plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM for plugin/theme development and debugging
  • Use cases include automated note creation, content discovery, and in-terminal plugin development workflows

Quick Start

Run obsidian to perform a common vault operation from the command line.

Frequently Asked Questions about obsidian-cli

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

FAQPage Schema
How do I control my Obsidian vault from the command line?

You can control an Obsidian vault from the command line by using the obsidian CLI to read, create, search, and organize notes. This requires the Obsidian application to be open and the CLI available in your terminal environment.

Can I debug Obsidian plugins from the terminal?

Yes, you can debug Obsidian plugins from the terminal by using CLI commands to reload plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM within a running vault.

Does the Obsidian CLI require the Obsidian app to be running?

Yes, the Obsidian CLI requires the Obsidian app to be running. It interacts directly with a running vault to execute commands, meaning the application must be open for CLI operations to function.

How do I automate note creation in Obsidian?

Automate note creation in Obsidian by executing CLI commands from your terminal scripts. This allows you to programmatically create notes and tasks within a running vault without manual UI interaction.

What's the best way to search and discover content in an Obsidian vault via CLI?

The best way to search and discover content in an Obsidian vault via CLI is using the obsidian CLI's search functionality. It enables content discovery workflows directly from the terminal by querying the active vault.

Why would I use the command line instead of the Obsidian UI for vault management?

Using the command line for vault management enables automated workflows, in-terminal debugging, and plugin development tasks. It allows you to run JavaScript and inspect the DOM without manual UI interaction.