This gives Claude direct access to Obsidian's CLI for vault operations that need the app's index: search, backlinks, tags, tasks, properties, and bases. The skill is opinionated about when to use CLI versus plain file tools, which is helpful since you don't want to shell out to Obsidian for simple text edits. It includes solid gotchas like "create without silent opens the UI" and "create with template ignores your path parameter." The safety section is notable for calling out commands that should never run without explicit permission. If Obsidian isn't running or the CLI isn't installed, it pushes you toward file tools as fallback. Good reference if you're building agents that work with Obsidian vaults beyond basic file manipulation.

skills.sh installs
328
GitHub stars
42
last updated
Jun 3, 2026

Install

$ npx -y skills add jackal092927/obsidian-official-cli-skills --skill obsidian-cli --agent claude-code

Installs into .claude/skills of the current project.

Files

Obsidian CLI — Agent Reference

When to Use CLI vs File Tools

Use CLI when you need Obsidian's index or app features: search, backlinks, links, tags, tasks, properties, bases, templates, outline, orphans, unresolved links

Use file tools (Read/Write/Edit/Grep/Glob) for: simple file read/write, bulk text replacement, grep across files — no app dependency

Rule of thumb: if Obsidian's index adds value, use CLI. If it's plain text manipulation, use file tools.

Syntax Basics

obsidian <command> [param=value ...] [flag ...]
  • Vault targeting: vault="My Vault" as first param, or run from inside vault dir
  • File targeting: path=exact/path.md (vault-relative) vs file=name (link-style resolution)
  • Params: key=value — quote values with spaces: name="My Note"
  • Flags: boolean switches, no = — e.g. silent, overwrite, counts, total
  • Multiline: \n for newline, \t for tab in content strings
  • Structured output: format=json (search, base:query), format=tsv (properties, tags)
  • Clipboard: append --copy to copy output

Key Commands

Sponsors

Details

Repository
github.com/jackal092927/obsidian-official-cli-skills
Categories
CLI & Terminal, Office & Documents
First seen
Jun 3, 2026
1aradotso avatarwterm-web-terminalaradotso/trending-skillswterm web terminal325skills.sh installs
2sickn33 avatarbash-defensive-patternssickn33/antigravity-awesome-skillsbash defensive patterns319skills.sh installs
3paulrberg avatarcli-castpaulrberg/agent-skillsUse for Foundry cast/on-chain actions: prepare, simulate, sign, or broadcast transactions; call contracts; sign messages; encode/decode ABI/calldata; or make RP308skills.sh installs
4airtable avatarairtable-cliairtable/skillsLists bases, reads and writes records, manages tables and fields, filters and searches data in Airtable via the airtable-mcp CLI. Use when the task involves Air263skills.sh installs
5sickn33 avatarposix-shell-prosickn33/antigravity-awesome-skillsposix shell pro250skills.sh installs
6huggingface avatarhugging-face-clihuggingface/skillsExecute Hugging Face Hub operations using the `hf` CLI. Use when the user needs to download models/datasets/spaces, upload files to Hub repositories, create rep249skills.sh installs