/obsidian-cli:obsidian-clifrom obsidian-cli
Controls Obsidian from the terminal via the official CLI for notes, daily notes, tasks, properties, tags, search, vault health, and automation without reading full file contents.
Ships in obsidian-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Control Obsidian from the terminal. The CLI communicates with the running Obsidian app, enabling file operations, task management, property editing, search, vault analysis, and more — all without reading full file contents into context.
/Applications/Obsidian.app/Contents/MacOS in PATH)The CLI uses key=value parameters and bare-word boolean flags (no -- prefix). Append --copy to any command to copy output to clipboard.
obsidian vault=Notes daily # vault= must be first param
obsidian read file=Recipe # target by wikilink name
obsidian read path="Templates/Recipe.md" # target by exact path
obsidian read # no file param = active file
obsidian daily # Open today's daily note
obsidian daily:read # Read daily note contents
obsidian daily:append content="- [ ] Buy groceries" silent # Add task silently
obsidian daily:prepend content="## Morning Ideas" silent # Prepend after frontmatter
Example daily:read output:
---
date: 2026-02-12
---
## Tasks
- [ ] Buy groceries
- [x] Review PR
obsidian tasks daily # List tasks from daily note
obsidian tasks daily todo # Incomplete daily tasks only
obsidian tasks daily done # Completed daily tasks
obsidian tasks all # All tasks in vault
obsidian tasks file=Projects todo # Incomplete tasks in specific file
obsidian tasks verbose # Tasks grouped by file with line numbers
# Toggle/update tasks by reference
obsidian task daily line=3 toggle # Toggle daily note task
obsidian task ref="Recipe.md:8" done # Mark specific task done
obsidian task ref="Recipe.md:8" todo # Mark as incomplete
obsidian task file=Plan line=5 status=- # Set custom status [-]
Example tasks daily todo output:
- [ ] Buy groceries (line 5)
- [ ] Review PR (line 8)
- [ ] Call dentist (line 12)
Set, read, and remove frontmatter properties without loading file contents:
obsidian property:set name=status value=done file=ProjectX
obsidian property:set name=priority value=high path="Projects/Sprint.md"
obsidian property:read name=status file=ProjectX
obsidian property:remove name=draft file=Article
obsidian properties file=Recipe # List all properties
obsidian properties all counts sort=count # Vault-wide property stats
Always prefer CLI file operations over mv/cp — the CLI updates all backlinks automatically:
obsidian create name="New Note" content="# Hello" silent
obsidian create name="From Template" template=Meeting silent
obsidian move file=OldName to="Archive/OldName.md" # Rename/move, updates backlinks
obsidian delete file=Scratch # Moves to trash
obsidian append file=Log content="Entry added" # Append to specific file
obsidian open file=Plan newtab # Open in new tab
obsidian search query="meeting notes" matches # Search with context
obsidian search query="TODO" path=Projects limit=10 # Scoped search
obsidian tags all counts sort=count # All tags with counts
obsidian tag name=quick verbose # Files with specific tag
obsidian bases # List all .base files
obsidian base:query file=Bookmarks format=json # Query base as JSON
obsidian base:query file=Bookmarks view=Unread format=md # Query specific view
obsidian base:create name="New Item" content="..." silent
obsidian orphans # Files with no incoming links
obsidian deadends # Files with no outgoing links
obsidian unresolved verbose # Unresolved links with source files
obsidian backlinks file=Note counts # Backlinks to a specific file
obsidian links file=Note # Outgoing links from a file
obsidian diff file=Recipe # List all versions
obsidian diff file=Recipe from=1 # Compare latest version to current
obsidian diff file=Recipe from=2 to=1 # Compare two versions
obsidian history:read file=Recipe version=3 # Read specific version
obsidian history:restore file=Recipe version=5 # Restore a version
obsidian eval code="app.vault.getFiles().length" # Run JS in Obsidian context
obsidian dev:screenshot path=screenshot.png # Take screenshot
obsidian dev:console level=error # Show JS errors
obsidian plugin:reload id=my-plugin # Reload plugin
Prefer CLI over file I/O. Property edits, task toggles, file moves, and appends via CLI are more context-efficient than reading and editing files directly. This saves tokens and preserves vault integrity.
Use silent flag when making changes that do not need to open the file in Obsidian (e.g., batch task updates, property changes from scripts).
Never use mv/cp/rm on vault files. Always use obsidian move, obsidian create, obsidian delete to preserve backlinks and let Obsidian handle link updates.
Use obsidian help <command> to discover parameters for any command not covered here. Run obsidian help for the full command list.
Batch operations may be slow when run sequentially. For bulk property changes or task updates, consider using obsidian eval with JavaScript for better performance.
Vault targeting: When the terminal's cwd is inside a vault, that vault is used automatically. Otherwise, use vault=<name> as the first parameter.
For multi-step vault changes (reorganizing files, bulk property updates, etc.):
Progress:
- [ ] Step 1: Search/list to identify target files
- [ ] Step 2: Preview scope (e.g., obsidian search query="..." total)
- [ ] Step 3: Apply changes with silent flag
- [ ] Step 4: Verify results (re-run search or list)
cd into a vault directory or pass vault=<name> as the first parameter. Use obsidian vaults verbose to list known vaults with paths.file= param uses wikilink resolution (case-insensitive, partial match). Try obsidian search query="partial name" to find the correct name, or use path= for exact paths.obsidian help to verify CLI is installed. Check PATH includes /Applications/Obsidian.app/Contents/MacOS.For the complete list of 80+ commands with all parameters and flags, read references/command-reference.md (has a table of contents at the top for quick navigation).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
obsidian, note-taking, vault-management, cli-tool, task-management
Other plugins' skills for the same job
npx claudepluginhub jtsternberg/claude-plugins --plugin obsidian-cli