Obsidian
Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli. Search, create, move, and rename notes with link refactoring.
Tags: obsidian, notes, markdown, knowledge-base, productivity
Category: Productivity
Use Cases
- Daily journal creation: cron creates a templated note each morning
- Knowledge base search during conversations: find relevant notes on any topic
- Meeting notes: create structured notes under the right project folder
- Note organization: move and rename notes with automatic link updates
- Documentation maintenance: AI updates docs based on code changes
- Second brain management: AI captures insights and links them to related notes
- Vault analytics: count notes, find orphaned links, identify gaps
Tips
- Use the yakitrak CLI if you need to work without Obsidian running (CI/CD, servers)
- Use the official Obsidian CLI (v1.12+) for deeper integration with Obsidian's features
- Set your default vault in the CLI config to skip specifying it every time
- Combine with OpenClaw cron for automated note creation (daily journals, standup templates)
- Use fuzzy search to find notes quickly: `obsidian-cli search 'API design'`
- When moving notes, the CLI automatically updates all [[wikilinks]] across the vault
- Pair with git for version control of your vault — CLI changes are just file operations
- Create symlinks from OpenClaw workspace files into your Obsidian vault for visibility
Known Issues & Gotchas
- Two CLIs exist: yakitrak/obsidian-cli (community, works without Obsidian running) and official Obsidian CLI (v1.12+, requires Obsidian)
- The community CLI (yakitrak) is what this skill originally targets — check which is installed
- Official CLI requires Obsidian v1.12+ installed on the system
- Link refactoring only works within the targeted vault — cross-vault links won't update
- Vault path must be configured correctly — the CLI won't auto-discover vaults
- Large vaults (10K+ notes) may have slower search performance with the community CLI
- Obsidian plugins (Dataview, Tasks) don't execute via CLI — they're app-only features
Alternatives
- Apple Notes (memo)
- Bear Notes (grizzly)
- Notion (API)
- Logseq
- Dendron (VS Code)
Community Feedback
I posted about the obsidian-cli I made 2 months ago and I got some really good feedback. You now have access to a lot more commands like moving, renaming and deleting notes and all of the links will be updated.
— Reddit r/ObsidianMD
Obsidian CLI is the new best way to automate your notes. Obsidian's CLI lets you automate repetitive manual tasks and perform vault-wide operations with ease.
— XDA Developers
Obsidian CLI + OpenClaw are a great combo if you want daily automation — two launchd plists: auto-cancel stale items at 6am, reindex at 6:05am. Total new code: one Python script (50 lines).
— Reddit r/ObsidianMD
OpenClaw needs a control panel. Obsidian CLI might just be it. Symlinks connect them into my Obsidian vault so I can see and edit all boards without leaving the app.
— CrowdTamers
Configuration Examples
Install community CLI (yakitrak)
# Install via Homebrew
brew install yakitrak/yakitrak/obsidian-cli
# Set default vault
obsidian-cli set-default /path/to/your/vault
# Verify
obsidian-cli search "test"Common note operations
# Create a new note
obsidian-cli create "Projects/Acme/Meeting Notes 2026-03-21" --content "## Attendees\n- Alice\n- Bob"
# Search the vault
obsidian-cli search "API design patterns"
# Move with link refactoring
obsidian-cli move "old/path/note" "new/path/note"
# Open in Obsidian
obsidian-cli open "Projects/Acme/Overview"Automated daily journal (cron)
# OpenClaw cron job config
{
"schedule": { "kind": "cron", "expr": "0 7 * * *", "tz": "Asia/Calcutta" },
"payload": { "kind": "agentTurn", "message": "Create today's daily note in Obsidian vault under Journal/YYYY-MM-DD" },
"sessionTarget": "isolated"
}Installation
brew install yakitrak/yakitrak/obsidian-cliHomepage: https://help.obsidian.md
Source: bundled