No slash command · from obsidian-plugin
Runs, lists, and inspects Obsidian commands and hotkeys from the CLI. Use when triggering a command, enumerating commands, or checking hotkey bindings.
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... |
|---|---|
Triggering a command the user would normally pick from the command palette (Ctrl/Cmd+P) | Running JavaScript via the developer API — use dev-tools |
| Discovering what commands a plugin registers | Enabling/disabling a plugin entirely — use plugins-themes |
| Looking up which hotkey is bound to a command | Setting up a workspace — use workspaces |
The command palette is Obsidian's universal action surface — every built-in operation and every command registered by a plugin appears here. The CLI exposes the same surface, which is the leverage point for automation: any plugin command becomes scriptable without writing JavaScript.
# All available command IDs
obsidian commands
# Filter by ID prefix (e.g. only Templater commands)
obsidian commands filter=templater
# Filter to a built-in family
obsidian commands filter=editor
obsidian commands filter=workspace
Command IDs follow the pluginid:action convention — e.g.
editor:toggle-bold, workspace:split-vertical, dataview:dataview-rebuild-current-view.
# Run a built-in command
obsidian command id=editor:toggle-bold
# Run a plugin-registered command
obsidian command id=templater-obsidian:insert-templater
obsidian command id=dataview:dataview-rebuild-current-view
# Open the command palette itself
obsidian command id=command-palette:open
command always operates against the active editor / active file — there
is no file= parameter. To run a command against a specific note, open
the note first (obsidian open file=Foo), then run command.
# All bound hotkeys
obsidian hotkeys
# Mark which entries are user-customised vs default
obsidian hotkeys verbose
# Count of bound hotkeys
obsidian hotkeys total
# Lookup the hotkey for one command
obsidian hotkey id=editor:toggle-bold
obsidian hotkey id=editor:toggle-bold verbose
obsidian open file="Notes/Today"
obsidian command id=templater-obsidian:replace-in-file-templater
obsidian commands filter=dataview
obsidian hotkeys format=json | jq '[.[] | select(.hotkey == "Ctrl+Shift+P")]'
(Requires the user's installed jq; the CLI itself does not pipe.)
| Context | Command |
|---|---|
| List all commands | obsidian commands |
| Filter commands by prefix | obsidian commands filter=PREFIX |
| Run a command | obsidian command id=PLUGIN:ACTION |
| List hotkeys (structured) | obsidian hotkeys format=json |
| Lookup one hotkey | obsidian hotkey id=PLUGIN:ACTION |
| Show user-customised hotkeys | obsidian hotkeys verbose |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub laurigates/claude-plugins --plugin obsidian-plugin21 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./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./propertiesObsidian YAML frontmatter properties and aliases: read, set, remove on notes. Use when user mentions frontmatter, metadata, aliases, status, or dates.Other plugins' skills for the same job