obsidian-cli

Execute Obsidian CLI commands to manage vaults, plugins, and JavaScript.

Updated Jun 21, 2026
One-click install
npx skills add https://github.com/infantesromeroadrian/arca-agent --skill obsidian-cli-infantesromeroadrian
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: obsidian-cli
Source: https://github.com/infantesromeroadrian/arca-agent/tree/main/template/skills/obsidian-cli
Command: npx skills add https://github.com/infantesromeroadrian/arca-agent --skill obsidian-cli-infantesromeroadrian

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies interaction with Obsidian vaults, enabling users to read, create, search, manage notes, tasks, and more, as well as develop and debug plugins and themes.

Core Features & Use Cases

  • Vault Interaction: Execute commands to read, create, and search notes.
  • Plugin and Theme Development: Support for plugin reloading, JavaScript execution, and DOM inspection.
  • Use Case: Quickly update and debug an Obsidian plugin by reloading it and inspecting the DOM for CSS values.

Quick Start

Run the command 'obsidian plugin:reload id=my-plugin' to reload a plugin and inspect its DOM with 'obsidian dev:dom selector=".workspace-leaf" text'.

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

You can manage Obsidian vaults and notes from the command line by executing CLI commands to read, create, and search notes directly. This Skill requires the Obsidian app to be open and the corresponding plugin to be active for vault interaction.

Can I reload an Obsidian plugin and inspect the DOM during development?

Yes, you can reload an Obsidian plugin and inspect the DOM during development using commands like 'plugin:reload' and 'dev:dom'. This allows you to quickly update, debug, and inspect CSS values for your plugins.

Does Obsidian CLI require the Obsidian app to be running?

Yes, Obsidian CLI requires the Obsidian app to be running and the corresponding plugin to be active. It utilizes Obsidian's internal CLI capabilities to interact with vaults and execute JavaScript commands.

What's the best way to automate note creation and search in an Obsidian vault?

The best way to automate note creation and search in an Obsidian vault is using CLI tools that execute commands for managing notes. This Skill facilitates note organization and content creation by interacting directly with the vault.

Why does my Obsidian CLI command fail to capture errors?

Obsidian CLI commands may fail to capture errors if the corresponding plugin is not active or the Obsidian app is not open. The Skill relies on active plugin functionality to execute JavaScript and capture errors effectively.

How do I run JavaScript commands inside an Obsidian vault?

You can run JavaScript commands inside an Obsidian vault by using the Skill's CLI capabilities, which support JavaScript execution for plugin and theme development. This requires the target plugin to be active within the open application.