Skip to content
Skill

obsidian-cli

by guanyang

AI Summary

A CLI skill for interacting with Obsidian vaults—read, create, search, and manage notes, tasks, and properties directly from the command line, plus plugin/theme development support. Useful for developers and power users who want to automate vault operations and debug Obsidian extensions.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "obsidian-cli" skill in my project.

Please run this command in my terminal:
# Install skill into the correct directory
mkdir -p .claude/skills/obsidian-cli && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/obsidian-cli/SKILL.md "https://raw.githubusercontent.com/guanyang/antigravity-skills/main/skills/obsidian-cli/SKILL.md"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more. Also supports plugin and theme development with commands to reload plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM. Use when the user asks to interact with their Obsidian vault, manage notes, search vault content, perform vault operations from the command line, or develop and debug Obsidian plugins and themes.

Obsidian CLI

Use the obsidian CLI to interact with a running Obsidian instance. Requires Obsidian to be open.

Command reference

Run obsidian help to see all available commands. This is always up to date. Full docs: https://help.obsidian.md/cli

Syntax

Parameters take a value with =. Quote values with spaces: `bash obsidian create name="My Note" content="Hello world" ` Flags are boolean switches with no value: `bash obsidian create name="My Note" silent overwrite ` For multiline content use \n for newline and \t for tab.

File targeting

Many commands accept file or path to target a file. Without either, the active file is used. • file=<name> — resolves like a wikilink (name only, no path or extension needed) • path=<path> — exact path from vault root, e.g. folder/note.md

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 1mo ago
Active
Adoption100+ stars on GitHub
359 ★ · Growing
DocsREADME + description
Well-documented

GitHub Signals

Stars359
Forks70
Issues0
Updated1mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code