obsidian-cli

Manage Obsidian vault notes, tasks, and plugins from the terminal.

2|Updated Jun 1, 2017
One-click install
npx skills add https://github.com/carlos-algms/dotfiles --skill obsidian-cli-carlos-algms
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: obsidian-cli
Source: https://github.com/carlos-algms/dotfiles/tree/main/AI-configs/skills/obsidian-cli
Command: npx skills add https://github.com/carlos-algms/dotfiles --skill obsidian-cli-carlos-algms

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It removes the friction of managing Obsidian notes by letting you create, search, and update vault content from the command line instead of clicking through the UI.

Core Features & Use Cases

  • Vault note operations: Read, create, append, and manage notes and content, including daily notes workflows.
  • Search and structure management: Search vault content, handle tags, tasks, properties, backlinks, and metadata-like queries.
  • Developer support for Obsidian extensions: Reload plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM for plugin/theme development and debugging.
  • Multiple vault targeting: Operate on the most recently focused vault by default or a specific vault via parameters.

Quick Start

Use the obsidian-cli skill to search for the term "release notes" inside your most recently focused Obsidian vault.

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 terminal?

You can manage Obsidian vault notes from the terminal by using CLI commands to read, create, append, and search content, requiring an actively open Obsidian instance to execute structural queries and file operations.

Can I search for tags and backlinks in my Obsidian vault without opening the UI?

Yes, you can search vault content including tags, tasks, properties, and backlinks without the UI by running structured query operations from the command line, targeting your most recently focused vault by default.

Does the Obsidian CLI work for plugin development and debugging?

Yes, the Obsidian CLI works for plugin development by allowing you to reload plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM directly from the terminal environment.

What do I need to run commands against a specific Obsidian vault?

To run commands against a specific Obsidian vault, you need an actively running Obsidian instance, targeting a specific vault via parameters or defaulting to the most recently focused vault.

Why is my terminal command failing to update Obsidian notes?

Your terminal command may fail to update Obsidian notes if the Obsidian application is not actively open, as the CLI requires a running Obsidian instance to process vault management and note creation operations successfully.