No slash command · from obsidian-plugin
Inspects Obsidian vaults and routes commands across vaults using the `vault=` prefix. Use for vault diagnostics (path, size, file count) or targeting a non-active vault.
Ships in obsidian-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
| Use this skill when... | Use the alternative instead when... |
|---|---|
| Listing every vault Obsidian knows about | Listing files inside the active vault — use vault-files |
| Targeting a non-active vault for one command | Switching the active vault permanently — vault:open (TUI only) |
| Reporting vault info (path, file count, size) for diagnostics | Reading a specific note — use vault-files |
The CLI defaults to the active vault (the one currently focused in the
Obsidian app), unless your terminal's working directory is itself inside a
vault folder — in which case that vault wins. The vault= prefix overrides
both, scoped to a single command invocation.
# Active vault overview
obsidian vault
# Specific fields only
obsidian vault info=name
obsidian vault info=path
obsidian vault info=files
obsidian vault info=folders
obsidian vault info=size
# All known vaults (name only)
obsidian vaults
# Include vault paths (verbose)
obsidian vaults verbose
# Just the count
obsidian vaults total
vault= is a global prefix — it must come before the command, not as
a normal parameter:
# Run against a specific vault by name
obsidian vault=Notes daily
obsidian vault="My Vault" search query="meeting"
# By vault ID (from `obsidian vaults verbose` or settings)
obsidian vault=abc123def files
In the TUI, vault:open name=Notes switches the active vault for the rest
of the session. Outside the TUI, prefer the vault= prefix per command.
If the terminal is cd-ed into a vault folder, that vault is the default —
no vault= needed:
cd ~/vaults/Work
obsidian search query="status::active" # runs against ~/vaults/Work
This is convenient for shell scripts that live alongside a specific vault.
obsidian vaults verbose | while read -r line; do
name=$(echo "$line" | awk '{print $1}')
echo "=== $name ==="
obsidian vault="$name" vault info=files
obsidian vault="$name" vault info=size
done
obsidian vault=Personal search query="trip ideas" format=json
obsidian vault info=name
obsidian vault info=path
| Context | Command |
|---|---|
| Active vault summary | obsidian vault |
| Active vault path only | obsidian vault info=path |
| Active vault file count | obsidian vault info=files |
| List vaults (verbose) | obsidian vaults verbose |
| Vault count | obsidian vaults total |
| Run command against a vault | obsidian vault=NAME <command> |
vault=-prefixed) vaultWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
21 skills in this plugin
/basesObsidian Bases (database-over-notes): list base files/views, create items, run view queries with json/csv/tsv/md output. Use when user mentions Bases or .base files./bookmarksObsidian bookmarks: list and add file/folder/heading/saved-search/URL bookmarks. Use when starring or saving notes for quick access./command-paletteRun, list, and inspect Obsidian commands and hotkeys from the CLI. Use when triggering a command, enumerating commands, or checking hotkey bindings./dev-toolsObsidian plugin/theme dev: DevTools, CDP, JS eval, console/error buffers, CSS/DOM inspection, mobile emulation, screenshots. Use when debugging the app./file-historyObsidian File Recovery and Sync history: inspect, diff, restore previous note versions. Use when undoing edits, restoring versions, or recovering files./plugins-themesObsidian community plugins/themes/CSS snippets management. Use when installing, enabling, switching theme, or toggling restricted mode.npx claudepluginhub laurigates/claude-plugins --plugin obsidian-pluginOther plugins' skills for the same job