cli-anything-obsidian

Manage Obsidian vault notes and commands via a CLI using the Local REST API.

1|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/edwifiguy/era-agents-ops --skill cli-anything-obsidian
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cli-anything-obsidian
Source: https://github.com/edwifiguy/era-agents-ops/tree/main/skills/era-agents-op/cli-anything/obsidian/agent-harness/cli_anything/obsidian/skills
Command: npx skills add https://github.com/edwifiguy/era-agents-ops --skill cli-anything-obsidian

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Command-line interface for Obsidian — Knowledge management and note-taking via Obsidian Local REST API. Designed for AI agents and power users who need to manage notes, search the vault, and execute commands without the GUI.

Core Features & Use Cases

  • Vault file management commands: list, read, create, update, delete, append notes in the vault.
  • Search: query and simple search across vault notes.
  • Note management: active note retrieval and opening notes in the editor.
  • Command palette: list and execute Obsidian commands by ID.
  • Server & session: check Local REST API status and view session state.
  • REPL and API key configuration: interactive mode and API key configuration for automated workflows.
  • Use case: automate routine note maintenance and agent-assisted research workflows.

Quick Start

List vault files in Obsidian using the CLI.

Frequently Asked Questions about cli-anything-obsidian

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

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

You can manage Obsidian vault notes from the command line using a CLI that connects to the Local REST API, allowing you to list, read, create, update, and delete notes without the GUI.

Can AI agents search and execute commands in an Obsidian vault automatically?

Yes, AI agents can search and execute commands in an Obsidian vault automatically by using CLI commands for vault search and the command palette, provided the Local REST API is running.

Do I need the Obsidian Local REST API to use CLI vault automation?

Yes, you need the Obsidian Local REST API installed and running to use CLI vault automation, as the CLI relies on this server to communicate with your vault and check server status.

What's the best way to automate routine note maintenance in Obsidian?

The best way to automate routine note maintenance in Obsidian is using a CLI with an interactive REPL and API key configuration, enabling automated workflows for appending and updating notes.

How does command palette execution work without the Obsidian GUI?

Command palette execution without the GUI works by listing available Obsidian commands by ID via the CLI, then executing those commands directly through the Local REST API.

Are there limitations to managing active notes in Obsidian via a CLI?

Limitations include requiring an active server connection via the Local REST API, and while you can retrieve and open active notes in the editor, full GUI interactions are not supported.