Obsidian Cli skill for Claude
The obsidian cli Claude skill by pablo-mano: Use this skill whenever the user wants Claude to directly interact with their Obsidian vault — reading a note or daily note, writing or appending content, searching vault contents, counting or listing notes, managing tasks, moving or renaming files, finding orphaned notes or broken links. Without this skill, Claude has no way to access vault data or execute vault operations. Treat any request that implies "go into my vault and do X" as a trigger — the user is asking Claude to act, not to explain. Also trigger for vault automation, CLI scripting, or cron-based workflows involving Obsidian, managing sync history, querying Bases, restoring file versions via history, managing bookmarks, or running JavaScript against the Obsidian API. Skip for pure conceptual questions: how Obsidian's GUI works, navigating settings menus, theme or plugin installation via the UI, iCloud/third-party sync conflicts, general Dataview query syntax, keyboard shortcuts, or parsing vault files with external scripts — anything where the user needs an explanation rather than Claude performing a vault operation.
Obsidian Cli SKILL.md
A preview of the skill file from pablo-mano/Obsidian-CLI-skill.
Obsidian CLI
The official Obsidian CLI (released in v1.12, February 2026) lets you control every aspect of Obsidian from the terminal. It communicates with a running Obsidian desktop instance via IPC.
Read
references/command-reference.mdwhen you need specific flags, output formats, or subcommands for any command group. It covers all 130+ commands with full parameter tables and has a table of contents at the top.
Prerequisites
| Requirement | Details |
|---|---|
| Obsidian Desktop | v1.12.0+ |
| CLI enabled | Settings → Command line interface → Toggle ON |
| Obsidian running | The desktop app must be running for CLI to work (IPC) |
Platform Notes
- macOS / Linux: The
obsidianbinary is registered in PATH automatically when you enable CLI in settings. - Windows: Requires an
Obsidian.comredirector file placed alongsideObsidian.exe. Must run with normal user privileges — admin terminals produce silent failures.- If colon subcommands (
property:set,daily:append, etc.) with parameters return exit 127, check thatObsidian.comexists alongsideObsidian.exe. If missing, you have an outdated installer — download the latest from obsidian.md/download and reinstall. - Git Bash / MSYS2 users: Bash resolves
obsidiantoObsidian.exe(GUI) instead ofObsidian.com(CLI), causing colon+params to fail with exit 127 even whenObsidian.comis present. Create a wrapper script — see Troubleshooting.
- If colon subcommands (
- Headless Linux: Use the
.debpackage (not snap). Run underxvfb. Prefix commands withDISPLAY=:5(or your xvfb display number). EnsurePrivateTmp=falseif running as a service.
Syntax
How to install the obsidian cli Claude skill
Claude Code
Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):
npx degit pablo-mano/Obsidian-CLI-skill/skills/obsidian-cli#main ~/.claude/skills/obsidian-cliCodex
npx degit pablo-mano/Obsidian-CLI-skill/skills/obsidian-cli#main ~/.codex/skills/obsidian-cliClaude.ai and Claude Desktop
Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.
Frequently asked questions
+What is the obsidian cli Claude skill?
Use this skill whenever the user wants Claude to directly interact with their Obsidian vault — reading a note or daily note, writing or appending content, searching vault contents, counting or listing notes, managing tasks, moving or renaming files, finding orphaned notes or broken links. Without this skill, Claude has no way to access vault data or execute vault operations. Treat any request that implies "go into my vault and do X" as a trigger — the user is asking Claude to act, not to explain. Also trigger for vault automation, CLI scripting, or cron-based workflows involving Obsidian, managing sync history, querying Bases, restoring file versions via history, managing bookmarks, or running JavaScript against the Obsidian API. Skip for pure conceptual questions: how Obsidian's GUI works, navigating settings menus, theme or plugin installation via the UI, iCloud/third-party sync conflicts, general Dataview query syntax, keyboard shortcuts, or parsing vault files with external scripts — anything where the user needs an explanation rather than Claude performing a vault operation.
+How do I install Obsidian Cli in Claude Code?
Copy the skill folder into ~/.claude/skills/obsidian-cli, for example with "npx degit pablo-mano/Obsidian-CLI-skill/skills/obsidian-cli#main ~/.claude/skills/obsidian-cli". Claude Code loads it automatically and uses it when a task matches.
+Does Obsidian Cli work with ChatGPT or Codex?
Yes. Obsidian Cli uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/obsidian-cli. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.
+Is Obsidian Cli free?
Obsidian Cli is published on GitHub by pablo-mano. The repository does not declare a license, so check with the author before reusing it.