Obsidian via notesmd-cli (obsidian-cli)
Work with Obsidian vaults (plain Markdown notes) and automate via notesmd-cli.
Work with Obsidian vaults (plain Markdown notes) and automate via notesmd-cli.
Real data. Real impact.
Growing
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
Obsidian vault = a normal folder on disk.
Vault structure (typical)
*.md (plain text Markdown; edit with any editor).obsidian/ (workspace + plugin settings; usually don’t touch from scripts)*.canvas (JSON)Obsidian desktop tracks vaults here (source of truth):
~/Library/Application Support/obsidian/obsidian.jsonnotesmd-cli resolves vaults from that file; vault name is typically the folder name (path suffix).
Fast “what vault is active / where are the notes?”
notesmd-cli print-default --path-only~/Library/Application Support/obsidian/obsidian.json and use the vault entry with "open": true.Pick a default vault and open behavior (once):
notesmd-cli set-default "<vault-folder-name>"notesmd-cli set-default --open-type editor (Sets default to use your terminal/GUI $EDITOR instead of opening the Obsidian app)notesmd-cli print-default / notesmd-cli print-default --path-onlySearch
notesmd-cli search (Interactive fuzzy search for notes; respects Obsidian's excluded files)notesmd-cli search-content "query" (Searches inside notes; shows snippets + lines)Create
notesmd-cli create "Folder/New note" --content "..."notesmd-cli create "New note" --open (Opens in Obsidian, or $EDITOR if --editor flag is passed).obsidian/app.json for default new file locations.Daily Notes
notesmd-cli daily (Creates or opens today's daily note directly on disk).obsidian/daily-notes.json for folder, format, and template configurations.Frontmatter (YAML Metadata)
notesmd-cli frontmatter "NoteName" --printnotesmd-cli frontmatter "NoteName" --edit --key "status" --value "done"notesmd-cli frontmatter "NoteName" --delete --key "draft"Move/rename (safe refactor)
notesmd-cli move "old/path/note" "new/path/note"[[wikilinks]] and common Markdown links across the vault (this is the main win vs standard mv).Delete
notesmd-cli delete "path/note"Prefer direct edits when appropriate: open the
.md file in any editor (notesmd-cli open "note" --editor) and change it; Obsidian will automatically pick it up.No automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
© 2026 Torly.ai. All rights reserved.