Skip to content
Skill

obsidian-cli

by kepano

AI Summary

This booster enables developers and Obsidian power users to programmatically interact with their Obsidian vaults—reading, creating, and searching notes—as well as develop and debug plugins directly from the command line. It's ideal for users who want CLI-based vault automation or are building 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/kepano/obsidian-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
Adoption1K+ stars on GitHub
12.3k ★ · Popular
DocsREADME + description
Well-documented

GitHub Signals

Stars12.3k
Forks657
Issues8
Updated1mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code