搜索

PythonReactSEOPDF
OpenClaw

obsidian-cli-official

Official Obsidian CLI (v1.12+). Complete command-line interface for Obsidian notes, tasks, search, tags, properties, links, and more.

alexanderkinging0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install alexanderkinging/obsidian-cli-official

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Obsidian Official CLI

Official command-line interface for Obsidian (v1.12+). 115 commands.

Prerequisites

  • Obsidian 1.12+ (free, public release since v1.12)
  • Obsidian must be running (CLI connects via IPC)
  • Enable CLI: Settings → General → Enable CLI

Setup

Add Obsidian to PATH:

macOS:

export PATH="$PATH:/Applications/Obsidian.app/Contents/MacOS"

Windows:

$env:PATH += ";$env:LOCALAPPDATA\Obsidian"

Linux:

  • Snap: Already in PATH
  • Flatpak: alias obsidian='flatpak run md.obsidian.Obsidian'
  • AppImage: Move to ~/.local/bin and chmod +x

Test: obsidian version

Syntax

  • Parameters: name=value or name="value with spaces"
  • Flags: just the name, e.g. open, overwrite
  • Newlines: use \n in content strings
  • Target vault: obsidian vault="My Vault" <command> (must be first)
  • Target file: file=<name> (wikilink-style) or path=<folder/file.md> (exact)
  • Copy output: append --copy to any command

Common Commands (with examples)

Daily Notes
obsidian daily                                    # Open today
obsidian daily:append content="- [ ] Buy milk"    # Add to today
obsidian daily:prepend content="# Important"      # Add to top
obsidian daily:read                               # Read today's content
obsidian daily:path                               # Get daily note path
Files
obsidian create name="Note" content="# Hello"     # Create note
obsidian create name="Note" template=Meeting       # Create from template
obsidian read file="Note"                          # Read note
obsidian append file="Note" content="More text"    # Append to note
obsidian prepend file="Note" content="Top text"    # Prepend to note
obsidian move file="Note" to="Archive/Note.md"     # Move note
obsidian rename file="Note" name="New Name"        # Rename note
obsidian delete file="Note"                        # Delete note
obsidian open file="Note...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/alexanderkinging/obsidian-cli-official
Version
—
Commit
ed8851d351b5dbb0dd9cda8000f23a976753da93
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

Obsidian Official CLI Skill

Complete reference for the official Obsidian CLI (v1.12+). All 115 commands documented.

What is this?

This OpenClaw skill provides complete access to Obsidian's official CLI (v1.12+), enabling AI agents to:

  • 📝 Automate note-taking: Create daily journals, meeting notes, project logs
  • ✅ Manage tasks: Toggle task status, filter by completion, track progress
  • 🔍 Search and organize: Find notes, create links, manage tags
  • 🗄️ Work with databases: Query bases, create items, manage views
  • 🎨 Customize workspace: Install themes/plugins, manage workspaces

For OpenClaw users: Your AI assistant can now read, write, and organize your Obsidian vault automatically.

For developers: Complete CLI reference with 115 commands for building Obsidian automation.

Prerequisites

  • Obsidian 1.12+ (free, public release)
  • Platform: macOS, Windows, or Linux
  • Obsidian must be running (CLI connects via IPC)
  • Obsidian Publish subscription (optional, $8/month for publish commands)

Installation

Via ClawHub (OpenClaw) - All Platforms
clawhub install obsidian-cli-official
Via Homebrew (macOS/Linux) 🍺
# Add tap
brew tap alexanderkinging/tap

# Install
brew install obsidian-cli-official

# Test
obs help
Manual Setup
macOS

1. Enable CLI in Obsidian

Settings → General → Enable CLI

2. Add to PATH

echo 'export PATH="$PATH:/Applications/Obsidian.app/Contents/MacOS"' >> ~/.zprofile
source ~/.zprofile

3. Test

obsidian version
obsidian vault

Windows

1. Enable CLI in Obsidian

Settings → General → Enable CLI

2. Add to PATH

Option A: System Environment Variables

  1. Press Win + X → System → Advanced system settings
  2. Environment Variables → PATH → Edit
  3. Add: C:\Users\<YourUsername>\AppData\Local\Obsidian

Option B: PowerShell Profile

# Edit profile
notepad $PROFILE

# Add...

来源内容

SKILL.md
# Obsidian Official CLI

Official command-line interface for Obsidian (v1.12+). 115 commands.

## Prerequisites

- **Obsidian 1.12+** (free, public release since v1.12)
- **Obsidian must be running** (CLI connects via IPC)
- **Enable CLI**: Settings → General → Enable CLI

## Setup

Add Obsidian to PATH:

**macOS:**
```bash
export PATH="$PATH:/Applications/Obsidian.app/Contents/MacOS"
```

**Windows:**
```powershell
$env:PATH += ";$env:LOCALAPPDATA\Obsidian"
```

**Linux:**
- Snap: Already in PATH
- Flatpak: `alias obsidian='flatpak run md.obsidian.Obsidian'`
- AppImage: Move to `~/.local/bin` and `chmod +x`

**Test:** `obsidian version`

## Syntax

- **Parameters**: `name=value` or `name="value with spaces"`
- **Flags**: just the name, e.g. `open`, `overwrite`
- **Newlines**: use `\n` in content strings
- **Target vault**: `obsidian vault="My Vault" <command>` (must be first)
- **Target file**: `file=<name>` (wikilink-style) or `path=<folder/file.md>` (exact)
- **Copy output**: append `--copy` to any command

## Common Commands (with examples)

### Daily Notes
```bash
obsidian daily                                    # Open today
obsidian daily:append content="- [ ] Buy milk"    # Add to today
obsidian daily:prepend content="# Important"      # Add to top
obsidian daily:read                               # Read today's content
obsidian daily:path                               # Get daily note path
```

### Files
```bash
obsidian create name="Note" content="# Hello"     # Create note
obsidian create name="Note" template=Meeting       # Create from template
obsidian read file="Note"                          # Read note
obsidian append file="Note" content="More text"    # Append to note
obsidian prepend file="Note" content="Top text"    # Prepend to note
obsidian move file="Note" to="Archive/Note.md"     # Move note
obsidian rename file="Note" name="New Name"        # Rename note
obsidian delete file="Note"                        # Delete note
obsidian open file="Note...
README
# Obsidian Official CLI Skill

Complete reference for the official Obsidian CLI (v1.12+). All 115 commands documented.

## What is this?

This OpenClaw skill provides **complete access to Obsidian's official CLI** (v1.12+), enabling AI agents to:

- 📝 **Automate note-taking**: Create daily journals, meeting notes, project logs
- ✅ **Manage tasks**: Toggle task status, filter by completion, track progress
- 🔍 **Search and organize**: Find notes, create links, manage tags
- 🗄️ **Work with databases**: Query bases, create items, manage views
- 🎨 **Customize workspace**: Install themes/plugins, manage workspaces

**For OpenClaw users**: Your AI assistant can now read, write, and organize your Obsidian vault automatically.

**For developers**: Complete CLI reference with 115 commands for building Obsidian automation.

## Prerequisites

- **Obsidian 1.12+** (free, public release)
- **Platform**: macOS, Windows, or Linux
- **Obsidian must be running** (CLI connects via IPC)
- **Obsidian Publish subscription** (optional, $8/month for publish commands)

## Installation

### Via ClawHub (OpenClaw) - All Platforms

```bash
clawhub install obsidian-cli-official
```

### Via Homebrew (macOS/Linux) 🍺

```bash
# Add tap
brew tap alexanderkinging/tap

# Install
brew install obsidian-cli-official

# Test
obs help
```

### Manual Setup

#### macOS

**1. Enable CLI in Obsidian**

Settings → General → Enable CLI

**2. Add to PATH**

```bash
echo 'export PATH="$PATH:/Applications/Obsidian.app/Contents/MacOS"' >> ~/.zprofile
source ~/.zprofile
```

**3. Test**

```bash
obsidian version
obsidian vault
```

---

#### Windows

**1. Enable CLI in Obsidian**

Settings → General → Enable CLI

**2. Add to PATH**

**Option A: System Environment Variables**
1. Press `Win + X` → System → Advanced system settings
2. Environment Variables → PATH → Edit
3. Add: `C:\Users\<YourUsername>\AppData\Local\Obsidian`

**Option B: PowerShell Profile**
```powershell
# Edit profile
notepad $PROFILE

# Add...

相关技能

OpenClaw

ai-maestro

23blocks-os

AI Agent Orchestrator with Skills System - Give AI Agents superpowers: memory search, code graph queries, agent-to-agent messaging. Manage Claude, Codex or any AI Agent from one dashboard. Move Agents between c...

OpenClaw

registry-broker-skills

hashgraph-online

AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols. Works with Claude, Codex, Cursor, OpenClaw, and any AI assistant.

OpenClaw

skills-manager

rito-w

A cross-platform skills manager for AI IDEs. Search marketplace, download locally, and install to Claude, Cursor, Windsurf, and more with one click.