← Back to registry

Obsidian CLI knowledge

Interact with your Obsidian vault from the command line

Obsidian CLI (obsidian-cli) lets you search, read, and create notes in your Obsidian vault directly from the terminal. Ideal for AI agents that need to access a user’s personal knowledge base.

Features

Install

brew: brew install yakitrak/yakitrak/obsidian-cli
go: go install github.com/Yakitrak/obsidian-cli@latest

Commands

CommandSyntaxDescription
search obsidian-cli search <query> Full-text search across vault notes
read obsidian-cli read <note-path> Read a note's contents as markdown
create obsidian-cli create <note-path> Create a new note with content from stdin

Links

Agent Usage Example

Use cases:

Example workflow:

obsidian-cli search 'project requirements' | head -5 && obsidian-cli read 'Projects/current-spec.md'