Updates[[wikilinks]] and common Markdown links across the vault (this is the main win vsmv).
obsidian-cli move "old/path/note" "new/path/note"
Delete
obsidian-cli delete "path/note"
Prefer direct edits when appropriate: open the.md file and change it; Obsidian will pick it up.
1---2name: obsidian3description: Obsidian4---5# Obsidian67Obsidian vault = a normal folder on disk.89Vault structure (typical)1011- Attachments: whatever folder you chose in Obsidian settings (images/PDFs/etc.)12- Canvases:`*.canvas`(JSON)13- Config:`.obsidian/`(workspace + plugin settings; usually don't touch from scripts)14- Notes:`*.md`(plain text Markdown; edit with any editor)1516## Find the active vault(s)1718Obsidian desktop tracks vaults here (source of truth):1920- `~/Library/Application Support/obsidian/obsidian.json`2122`obsidian-cli` resolves vaults from that file; vault name is typically the folder name (path suffix).2324Fast "what vault is active / where are the notes?"2526- Otherwise, read`~/Library/Application Support/obsidian/obsidian.json` and use the vault entry with`"open": true`.27- If you've already set a default:`obsidian-cli print-default --path-only`2829Notes3031- Avoid writing hardcoded vault paths into scripts; prefer reading the config or using`print-default`.32- Multiple vaults common (iCloud vs`~/Documents`, work/personal, etc.). Don't guess; read config.3334## obsidian-cli quick start3536Pick a default vault (once):3738- `obsidian-cli print-default`/`obsidian-cli print-default --path-only`39- `obsidian-cli set-default "<vault-name>"`4041Search4243- `obsidian-cli search-content "query"`(inside notes; shows snippets + lines)44- `obsidian-cli search "query"`(note names)4546Create4748- Avoid creating notes under "hidden" dot-folders (e.g.`.something/...`) via URI; Obsidian may refuse.49- Requires Obsidian URI handler (`obsidian://…`) working (Obsidian installed).50- `obsidian-cli create "Folder/New note" --content "..." --open`5152Move/rename (safe refactor)5354- Updates`[[wikilinks]]` and common Markdown links across the vault (this is the main win vs`mv`).55- `obsidian-cli move "old/path/note" "new/path/note"`5657Delete5859- `obsidian-cli delete "path/note"`6061Prefer direct edits when appropriate: open the`.md` file and change it; Obsidian will pick it up.
Run npx skillmds@latest add spacezephyr/obsidian in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Obsidian It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
spacezephyr (@spacezephyr) published this skill. Their other Agent Skills are listed on their SkillMD profile.