notesmd
Original:🇺🇸 English
Translated
Work with Obsidian vaults (plain Markdown notes) via notesmd-cli. Use when the user asks to create, read, search, list, move, delete notes, manage frontmatter, or interact with their Obsidian vault from the terminal. Works without Obsidian running.
2installs
Sourcesaygenie/notesmd-skill
Added on
NPX Install
npx skill4agent add saygenie/notesmd-skill notesmdTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →NotesMD CLI
Interact with Obsidian vaults using . Works without Obsidian running — operates directly on the vault's Markdown files.
notesmd-cliVault basics
Obsidian vault = a normal folder on disk containing files.
*.mdVault config lives at on macOS.
~/Library/Application Support/obsidian/obsidian.jsonSetup
Set default vault (once):
bash
notesmd-cli set-default "{vault-name}"Check current default:
bash
notesmd-cli print-default
notesmd-cli print-default --path-onlyAll commands accept to target a specific vault.
--vault "{vault-name}"Commands
Read
bash
notesmd-cli print "{note-name-or-path}"
notesmd-cli list # vault root
notesmd-cli list "subfolder"Search
bash
notesmd-cli search # fuzzy search note names
notesmd-cli search-content "term" # search inside note contentAdd to open selected note in instead of Obsidian.
--editor$EDITORCreate / Update
bash
notesmd-cli create "{note-name}" --content "..."
notesmd-cli create "{note-name}" --content "..." --overwrite # replace existing
notesmd-cli create "{note-name}" --content "..." --append # append to existing
notesmd-cli create "{note-name}" --open # open after createMove / Rename
Updates across the vault automatically.
[[wikilinks]]bash
notesmd-cli move "{old-path}" "{new-path}"Delete
bash
notesmd-cli delete "{note-path}"Daily note
bash
notesmd-cli dailyOpen in Obsidian
bash
notesmd-cli open "{note-name}"
notesmd-cli open "{note-name}" --section "{heading}"Frontmatter
bash
notesmd-cli frontmatter "{note}" --print
notesmd-cli frontmatter "{note}" --edit --key "status" --value "done"
notesmd-cli frontmatter "{note}" --delete --key "draft"Tips
- Note paths are relative to vault root (e.g. )
"Folder/Note" - For direct edits, modify the file directly — Obsidian picks up changes
.md - Prefer over
notesmd-cli moveto keep wikilinks consistentmv - flag uses
--editorenv var (defaults to$EDITOR)vim - For CLI bugs or unexpected behavior, refer to notesmd-cli