jrjsmrtn/obsidian-skills/obsidian-cli
Claude Code and agent skill by jrjsmrtn/obsidian-skills
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user asks to "read an Obsidian note", "search my vault", "create a note in Obsidian", "append to my daily note", "list tags in Obsidian", "check my tasks", "open a file in Obsidian", "manage Obsidian plugins", "query a base", or any interaction with an Obsidian vault via the command line. Also triggered when the user mentions "obsidian", "vault", "daily note", or "Obsidian CLI".
Install
npx vskill@latest install jrjsmrtn/obsidian-skills/obsidian-cliSKILL.md
The same SKILL.md was published earlier as jrjsmrtn/obsidian-skills/obsidian-cli.
Obsidian CLI
Obsidian CLI (obsidian) is a command line interface for controlling Obsidian from the terminal. It enables scripting, automation, and integration with external tools. The Obsidian desktop app must be running for CLI commands to work.
Prerequisites
- Obsidian installer v1.12+ with CLI enabled in Settings > General > Command line interface
- The Obsidian desktop app must be running (the first CLI command will launch it if not)
Command Syntax
Parameters and Flags
- Parameter: takes a value as
param=value. Quote values with spaces:content="Hello world" - Flag: boolean switch with no value. Include to enable:
open,overwrite,verbose - Multiline content: use
\nfor newline,\tfor tab - Copy output: append
--copyto any command to copy output to clipboard
Vault Targeting
If the terminal's cwd is inside a vault, that vault is used. Otherwise the active vault is used.
File Targeting
Many commands accept file=<name> (wikilink-style resolution) or path=<path> (exact path from vault root). If neither is provided, the active file is used.
Common Workflows
Reading and Writing Notes
Daily Notes
Search
Tasks
Properties and Tags
Vault Analysis
Plugins
Developer Commands
Output Formats
Many commands support format=json|tsv|csv|md for structured output. Default varies by command. Use total flag to get counts only.
Command Categories
For the complete command reference with all parameters and flags, consult references/commands.md. Commands are organized into these categories:
- General:
help,version,reload,restart - Bases:
bases,base:views,base:create,base:query - Bookmarks:
bookmarks,bookmark - Command palette:
commands,command,hotkeys,hotkey - Daily notes:
daily,daily:path,daily:read,daily:append,daily:prepend - File history:
diff,history,history:list,history:read,history:restore,history:open - Files and folders:
file,files,folder,folders,open,create,read,append,prepend,move,rename,delete - Links:
backlinks,links,unresolved,orphans,deadends - Outline:
outline - Plugins:
plugins,plugins:enabled,plugins:restrict,plugin,plugin:enable,plugin:disable,plugin:install,plugin:uninstall,plugin:reload - Properties:
aliases,properties,property:set,property:remove,property:read - Publish:
publish:site,publish:list,publish:status,publish:add,publish:remove,publish:open - Random notes:
random,random:read - Search:
search,search:context,search:open - Sync:
sync,sync:status,sync:history,sync:read,sync:restore,sync:open,sync:deleted - Tags:
tags,tag - Tasks:
tasks,task - Templates:
templates,template:read,template:insert - Themes and snippets:
themes,theme,theme:set,theme:install,theme:uninstall,snippets,snippets:enabled,snippet:enable,snippet:disable - Unique notes:
unique - Vault:
vault,vaults,vault:open - Web viewer:
web - Wordcount:
wordcount - Workspace:
workspace,workspaces,workspace:save,workspace:load,workspace:delete,tabs,tab:open,recents - Developer:
devtools,dev:debug,dev:cdp,dev:errors,dev:screenshot,dev:console,dev:css,dev:dom,dev:mobile,eval
Validation
Confirm the CLI is available and connected before relying on command output: run obsidian version. A successful version string means the desktop app is running with the CLI enabled; an error means the app is not running or the CLI is disabled (see Prerequisites).
Additional Resources
Reference Files
- `references/commands.md` - Complete command reference with all parameters, flags, and descriptions for every Obsidian CLI command
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/obsidian-cli/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jrjsmrtn/obsidian-skills/obsidian-cli)