obsidian

Manage Obsidian vaults and automate Markdown notes via obsidian-cli.

1|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/Cyandex/ErnOS --skill obsidian-cyandex
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: obsidian
Source: https://github.com/Cyandex/ErnOS/tree/main/skills/obsidian
Command: npx skills add https://github.com/Cyandex/ErnOS --skill obsidian-cyandex

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires obsidian-cli.

What problem does it solve? Working with Obsidian notes from scripts or an AI assistant is error-prone when you guess vault paths or move files manually, which breaks wikilinks. This Skill shows how to locate the active vault from Obsidian's own config and use obsidian-cli to search, create, move, and delete notes safely. ## Core Features & Use Cases - Vault Discovery: Reads ~/Library/Application Support/obsidian/obsidian.json or uses obsidian-cli print-default to find the active vault instead of hardcoding paths. - Note Operations: Search note names and content, create notes with content, and delete notes via obsidian-cli commands. - Safe Refactoring: Move or rename notes with obsidian-cli move, which automatically updates [[wikilinks]] and Markdown links across the vault. - Use Case: Ask the assistant to reorganize your meeting notes into a new folder; it finds the vault, moves the notes, and all internal links keep working. ## Quick Start Find my default Obsidian vault and create a new note called "Ideas/Project brainstorm" with a short outline.

Frequently Asked Questions about obsidian

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

FAQPage Schema
How do I find my active Obsidian vault path from the command line?▼

Run `obsidian-cli print-default --path-only` if a default vault is set. Otherwise read `~/Library/Application Support/obsidian/obsidian.json` and use the vault entry marked `"open": true`.

How do I search inside Obsidian notes with obsidian-cli?▼

Use `obsidian-cli search "query"` to match note names and `obsidian-cli search-content "query"` to search inside note bodies, which returns matching snippets with line context.

How do I rename an Obsidian note without breaking wikilinks?▼

Use `obsidian-cli move "old/path/note" "new/path/note"` instead of the `mv` command. It updates `[[wikilinks]]` and common Markdown links across the entire vault automatically.

Does obsidian-cli require Obsidian to be installed?▼

Creating notes with `obsidian-cli create` relies on the Obsidian URI handler (`obsidian://...`), so Obsidian must be installed. Reading and editing Markdown files directly on disk works without it.

Why does creating a note in a dot-folder fail in Obsidian?▼

Obsidian may refuse URI-based creation of notes under hidden dot-folders like `.something/`. Create notes in regular folders instead, or write the Markdown file directly on disk.