obsidian-cli
БесплатноБез исполняемых скриптовНе проверен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…
Об этом скилле
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
All parameters use key=value syntax. Quote values containing spaces.
obsidian <command> [subcommand] [key=value ...] [flags]
Multi-Vault
Target a specific vault by making it the first argument:
obsidian "My Vault" daily:read
obsidian "Work Notes" search query="meeting"
If omitted, the CLI targets the most recently active vault.
Command Overview
The CLI provides 130+ commands across these groups:
| Group | Key Commands | Purpose |
|---|---|---|
| files | read, create, append, prepend, move, rename, delete, files, folders, file, random |
Note CRUD and file discovery |
| daily | daily, daily:read, daily:append, daily:prepend, daily:path |
Daily note operations |
| search | search, search:context |
Full-text search; search:context returns matching lines |
| properties | properties, property:read, property:set, property:remove, aliases |
Frontmatter/metadata management |
| tags | tags, tag |
Tag listing, counts, and filtering |
| tasks | tasks, task |
Task querying, filtering, and toggling |
| links | backlinks, links, unresolved, orphans, deadends |
Graph and link analysis |
| bookmarks | bookmarks, bookmark |
List and add bookmarks |
| templates | templates, template:read, template:insert |
Template listing, rendering, insertion |
| plugins | plugins, plugin, plugin:enable, plugin:disable, plugin:install, plugin:uninstall, plugins:restrict |
Plugin management |
| sync | sync, sync:status, sync:history, sync:read, sync:restore, sync:deleted |
Obsidian Sync operations |
| themes | themes, theme, theme:set, theme:install, theme:uninstall |
Theme management |
| snippets | snippets, snippets:enabled, snippet:enable, snippet:disable |
CSS snippet management |
| commands | commands, command, hotkeys, hotkey |
Execute Obsidian commands by ID; inspect hotkeys |
| bases | bases, base:query, base:views, base:create |
Obsidian Bases (v1.12+ database feature) |
| history | history, history:list, history:read, history:restore |
File version recovery (File Recovery plugin) |
| workspace | workspace, tabs, tab:open |
Workspace layout and tab management |
| diff | diff |
Compare local vs sync file versions |
| dev | eval, dev:screenshot, dev:debug, dev:console, dev:errors, dev:css, dev:dom, devtools |
Developer/debugging tools |
| vault | vault, vaults, version, reload, restart |
Vault info and app control |
| other | outline, wordcount, recents |
Utility commands |
Quick Reference — Most Common Commands
Reading & Writing Notes
obsidian read path="folder/note.md"
obsidian create path="folder/note" content="# New Note"
obsidian create path="folder/note" template="meeting-notes"
obsidian append path="folder/note.md" content="New paragraph"
obsidian prepend path="folder/note.md" content="Top content"
obsidian move path="old/note.md" to="new/note.md"
obsidian delete path="folder/note.md"
obsidian delete path="folder/note.md" permanent
Daily Notes
obsidian daily # Open today's da
Установить obsidian-cli в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл obsidian-cli?
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. Skip for pure conceptual questions: how Obsidian's GUI works, navigating settings menus, theme or plugin installation via the UI, or general Dataview query syntax — anything where the user needs an explanation rather than Claude performing a vault operation.
Как установить скилл obsidian-cli?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл obsidian-cli запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic