Obsidian CLI Control
Automate your entire Obsidian vault from the command line
❌ Managing knowledge across scattered notes without programmatic control wastes time on manual organization and prevents systematic analysis of your knowledge base.
✅ Automate note management, task tracking, and knowledge graph analysis directly from CLI, creating a fully programmable second brain.
- ✓Read, create, and append notes programmatically via CLI
- ✓Manage daily notes, tasks, tags, and custom properties
- ✓Analyze knowledge graph structure and find orphans
- ✓Trigger workflows on vault changes and note updates
- ✓Control templates, bookmarks, and plugin configurations
👁 5 views · 📦 0 installs
Free to install — no account needed
Copy the command below and paste into your agent.
Instant access • No coding needed • No account needed
What you get in 5 minutes
- Full skill code ready to install
- Works with 7 AI agents
- Lifetime updates included
Run this helper
Answer a few questions and let this helper do the work.
▸Advanced: use with your AI agent
Description
--- name: obsidian-skill description: >- Controls Obsidian vaults via the official CLI (1.12+). Reads, creates, appends to, and searches notes. Manages daily notes, tasks, tags, properties, templates, bookmarks, and plugins. Analyzes knowledge graph structure including backlinks, orphans, and unresolved links. Triggers on Obsidian, vault, notes, daily notes, knowledge base, PKM, second brain, zettelkasten, backlinks, or note-taking tasks. license: MIT compatibility: Requires Obsidian 1.12+ with CLI enabled via Settings. macOS, Linux, or Windows. metadata: author: gmickel version: "1.0.0" --- # Obsidian CLI Controls the running Obsidian app via IPC. First invocation launches Obsidian if not running. ## Prerequisites 1. Install Obsidian 1.12+ 2. Enable CLI: **Settings → General → Command line interface** → follow registration prompt 3. Restart terminal (registration adds `obsidian` to PATH automatically) Platform-specific PATH details: - **macOS**: appends `/Applications/Obsidian.app/Contents/MacOS` to `~/.zprofile` - **Linux**: symlink at `/usr/local/bin/obsidian` (fallback `~/.local/bin/obsidian`) - **Windows**: requires `Obsidian.com` redirector from Discord `#insider-desktop-release` ## Syntax ``` obsidian <command> [vault=<name>] [file=<name>] [path=<path>] [flags] [--copy] ``` | Pattern | Behavior | |---------|----------| | `vault=<name>` | Target vault by name; defaults to cwd vault or active vault | | `file=<name>` | Wikilink-style resolution (no path/extension needed) | | `path=<path>` | Exact vault-relative path, e.g. `path="Folder/Note.md"` | | `total` | Return count instead of list | | `format=json\|text\|csv\|tsv\|md` | Output format (varies per command) | | `--copy` | Copy any command's output to clipboard | | `\n` / `\t` | Newline / tab in content strings | | No file/path | Defaults to active file in Obsidian | | Bare `obsidian` | Opens interactive TUI with autocomplete + `Ctrl+R` history | ## Quick start These five operations cover most agent tasks. For complete command reference, see the domain-specific guides below. ### Read a note ```bash obsidian read file="Meeting Notes" obsidian read path="Projects/Roadmap.md" obsidian read # active file ``` ### Create a note ```bash obsidian create name="New Note" content="# Title\n\nBody" obsidian create name="From Template" template="Meeting Notes" silent ``` ### Append / prepend ```bash obsidian append file="Journal" content="- New entry" obsidian prepend file="Ideas" content="## Latest idea" obsidian daily:append content="- 2pm: Call with team" silent ``` ### Search ```bash obsidian search query="project deadline" obsidian search query="API" limit=10 format=json obsidian search query="fix" matches # include context ``` ### Tasks ```bash obsidian tasks all todo # vault-wide incomplete obsidian tasks daily # today's daily note obsidian task file="Todo" line=8 toggle # toggle completion ``` ## Reference guides Load these on demand based on the task: | Task | Reference | |------|-----------| | Read, create, edit, move, delete notes; outline; word count; unique notes | [references/note-operations.md](references/note-operations.md) | | Search, tags, properties, backlinks, orphans, unresolved links, aliases | [references/search-metadata.md](references/search-metadata.md) | | Daily notes, tasks, templates | [references/daily-tasks-templates.md](references/daily-tasks-templates.md) | | Vault info, files/folders, bookmarks, plugins, workspaces, themes, sync, publish, bases, dev tools | [references/vault-management.md](references/vault-management.md) |
Security Status
Verified
Manually verified by security team
Related AI Tools
More Career Boost tools you might like
ru-text — Russian Text Quality
FreeApplies professional Russian typography, grammar, and style rules to improve text quality across content types
/forge:工作流总入口
Free'Forge 工作流总入口。检查项目状态,推荐下一步该用哪个 skill。任何时候不知道下一步该干什么,就用 /forge。触发方式:用户说"forge"、"下一步"、"接下来做什么"、"继续"(在没有明确上下文时)。'
TypeScript React & Next.js Production Patterns
FreeProduction-grade TypeScript reference for React & Next.js covering type safety, component patterns, API validation, state management, and debugging
Charles Proxy Session Extractor
FreeExtracts HTTP/HTTPS request and response data from Charles Proxy session files (.chlsj format), including URLs, methods, status codes, headers, request bodies, and response bodies. Use when analyzing captured network traffic from Charles Proxy debug
Java Backend Interview Simulator
FreeSimulates realistic Java backend technical interviews with customizable interviewer styles and candidate levels for Chinese tech companies
AI News & Trends Intelligence
FreeFetches latest AI/ML news, trending open-source projects, and social media discussions from 75+ curated sources for comprehensive AI briefings