obsidian-cli Obsidian 命令行

Automate Obsidian vault note, plugin, and theme management via CLI commands.

1|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/XIYBHK/claude-skills --skill obsidian-cli-obsidian
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: obsidian-cli Obsidian 命令行
Source: https://github.com/XIYBHK/claude-skills/tree/main/obsidian-cli
Command: npx skills add https://github.com/XIYBHK/claude-skills --skill obsidian-cli-obsidian

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Obsidian CLI enables command-line interaction with a running Obsidian vault, facilitating reading, creating, searching, and managing notes, tasks, properties, plugins, and themes directly from the terminal. It also supports plugin and theme development workflows, plugin reloads, JavaScript execution, error handling, and DOM inspection.

Core Features & Use Cases

  • Vault control from terminal: read, create, update, and search notes, tasks, and metadata.
  • Plugin and theme development support: reload plugins, execute JavaScript in the app context, capture errors, and inspect the DOM for debugging.
  • Automation and debugging workflows: run batch operations, generate reports, take screenshots, and validate vault content.

Quick Start

Open a terminal and run obsidian help to view all available commands.

Frequently Asked Questions about obsidian-cli Obsidian 命令行

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

FAQPage Schema
How do I manage Obsidian notes from the command line?

You can manage Obsidian notes from the command line by using a CLI tool that interacts with an active vault to read, create, search, and update notes directly from your terminal.

Can I automate Obsidian vault tasks without opening the GUI?

Yes, you can automate Obsidian vault tasks without the GUI by running batch operations, generating reports, and managing metadata via command-line interactions with the running vault.

Does Obsidian CLI support plugin development and debugging workflows?

Obsidian CLI supports plugin development by allowing you to reload plugins, execute JavaScript in the app context, capture errors, and inspect the DOM for debugging.

What is the best way to debug an Obsidian plugin from the terminal?

The best way to debug an Obsidian plugin from the terminal is executing JavaScript in the app context and inspecting the DOM to capture errors and validate plugin behavior.

Can I take screenshots of my Obsidian vault using a CLI command?

Yes, you can take screenshots of your Obsidian vault using a CLI command, as the interface supports optional screenshot capture for automation and debugging workflows.

Why would I use a command line tool for Obsidian instead of the app interface?

You would use a command line tool for Obsidian to achieve predictable behavior in typical usage, enabling quick note creation, batch operations, and direct vault control without manual GUI interaction.