obsidian-cli

Interact with Obsidian vaults via CLI to manage notes, tasks, and properties.

1|Updated Apr 13, 2015
One-click install
npx skills add https://github.com/tyler-dot-earth/.dotfiles --skill obsidian-cli-tyler-dot-earth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: obsidian-cli
Source: https://github.com/tyler-dot-earth/.dotfiles/tree/main/agents/skills/obsidian-cli
Command: npx skills add https://github.com/tyler-dot-earth/.dotfiles --skill obsidian-cli-tyler-dot-earth

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. It supports plugin and theme development workflows, debugging, and vault operations from the command line, enabling rapid, scriptable interactions with multiple vaults.

Core Features & Use Cases

  • Read, create, search, and modify notes, tasks, and properties within vaults from the terminal.
  • Reload plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM for development and debugging.
  • Use cases include batch note creation, automated vault maintenance, and plugin/theme development workflows.

Quick Start

Use obsidian to create a new note named Daily-Notes with content 'Today is productive'.

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

Obsidian vaults can be managed from the command line using the Obsidian CLI to read, create, search, and modify notes, tasks, and properties directly from the terminal. It requires the Obsidian application to be open to execute operations.

Can I automate batch note creation in Obsidian via scripting?

Batch note creation in Obsidian can be automated via scripting by executing CLI commands to rapidly generate and modify multiple notes. This enables automated vault maintenance and scriptable interactions without manual data entry.

What's the best way to debug Obsidian plugins from the terminal?

Debugging Obsidian plugins from the terminal is best done using the CLI to reload plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM. This supports rapid development workflows directly from the command line.

Does the Obsidian CLI require the app to be running?

Yes, the Obsidian CLI requires the app to be running and open to execute commands. It interacts with the active application to expose terminal commands for vault operations, debugging, and plugin management.

How do I search for notes and tasks inside an Obsidian vault using the CLI?

Searching for notes and tasks inside an Obsidian vault using the CLI involves executing terminal commands to query and retrieve content. This allows rapid vault operations and automated retrieval of specific properties without opening the GUI.