Obsidian Official CLI for Openclaw

A powerful command-line interface for Obsidian that enables terminal-based note management, vault automation, and developer debugging.

justin-202603
v1.0.0
Apr 10, 2026
0
650
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install obsidian-official-cli-1-0-0

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install obsidian-official-cli-1-0-0 using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Obsidian Official CLI?

The Obsidian CLI is the official command-line tool designed for power users who want to interact with their Obsidian vaults without leaving the terminal. By integrating this tool with Openclaw Skills, developers and researchers can automate file operations, manage complex metadata, and trigger Obsidian commands programmatically. It bridges the gap between a GUI-based knowledge base and a high-efficiency terminal environment, requiring Obsidian 1.12 or higher and a Catalyst license to unlock its full potential.

This utility allows for deep interaction with the Obsidian application instance, providing a bridge for external scripts and automations to manipulate vault data. Whether you are performing bulk updates to frontmatter or navigating your workspace via the terminal, this skill ensures your workflow remains streamlined and keyboard-centric.

Obsidian Official CLI Use Cases

  • Automating daily note creation and task management through shell scripts.
  • Performing bulk search and replace operations across entire vaults using Openclaw Skills.
  • Managing Obsidian plugins and themes directly from the CLI for faster environment setup.
  • Auditing vault structure by identifying orphan notes, deadends, and unresolved links.
  • Debugging custom plugins using developer-focused commands like DOM inspection and JS evaluation.

How Obsidian Official CLI Works

  1. The CLI establishes a connection with a running instance of Obsidian via a registered system command.
  2. Users input commands following the obsidian command structure to target specific vaults or files.
  3. The tool parses parameters like file=name or path=path to locate resources within the vault using Wikilink resolution or exact paths.
  4. Commands are executed in real-time, reflecting changes immediately in the Obsidian GUI without requiring a vault reload.
  5. Output can be redirected, copied to the clipboard, or formatted as JSON for further processing with Openclaw Skills.

Obsidian Official CLI Setup

Ensure you have Obsidian 1.12 or higher and a Catalyst license. Follow these steps to initialize the skill:

  1. Open Obsidian and navigate to Settings → General → Command line interface.
  2. Click Enable and follow the prompt to register the obsidian command.
  3. Restart your terminal or source your profile (e.g., source ~/.zprofile on macOS).
  4. Verify the installation by running:
obsidian version

Note: Obsidian must be running for the CLI commands to execute successfully.

Obsidian Official CLI Data Schema & Taxonomy

The CLI interacts with the Obsidian vault structure using the following data conventions to ensure compatibility with Openclaw Skills:

Component Identification Method Description
Files file=name or path=path Target notes via Wikilink resolution (name) or exact vault path.
Folders folder=path/ Filters file lists or targets specific directories for operations.
Properties name=key value=val Manages YAML frontmatter metadata including types like lists.
Tasks ref="file:line" Targets specific checklist items using file names and line numbers.
Search query="term" Supports plain text search with optional context matches and JSON formatting.

Obsidian Official CLI Advanced Features

  • Interactive TUI mode with autocomplete, command history, and reverse search for a seamless terminal experience.
  • Deep integration with Obsidian Sync to monitor status, pause/resume sync, and restore specific file versions via Openclaw Skills.
  • Developer-grade tools for capturing screenshots of the workspace and inspecting specific CSS properties or DOM selectors.
  • Support for the eval command to run arbitrary JavaScript code within the Obsidian app context for complex automations.
  • Workspace management capabilities to save and load specific UI layouts and tab configurations via terminal commands.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*