No slash command · from obsidian-plugin
Lists and adds Obsidian bookmarks for files, folders, headings, saved searches, and URLs. Use when starring notes or saving items for quick access.
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... |
|---|---|
| Adding a file, folder, search query, or URL to the Bookmarks panel | Adding a generic frontmatter property — use properties |
| Listing the user's existing bookmarks | Listing every file in the vault — use vault-files |
| Bookmarking a heading or block within a file | Opening a file in a tab — use workspaces |
The Bookmarks core plugin must be enabled. Bookmarks support five target
types: files, folders, headings/blocks (via subpath=), saved searches, and
external URLs.
# All bookmarks (default tsv)
obsidian bookmarks
# Include bookmark types
obsidian bookmarks verbose
# Structured output
obsidian bookmarks format=json
# Just the count
obsidian bookmarks total
# Bookmark a file
obsidian bookmark file="Notes/Recipe.md"
# Bookmark a folder
obsidian bookmark folder="Projects/Active"
# Bookmark a heading or block within a file
obsidian bookmark file="Notes/Recipe.md" subpath="#Ingredients"
obsidian bookmark file="Notes/Recipe.md" subpath="^block-id"
# Bookmark a saved search query
obsidian bookmark search="tag:#followup status::open"
# Bookmark an external URL
obsidian bookmark url="https://obsidian.md/help/cli" title="Obsidian CLI docs"
# Custom title for any bookmark type
obsidian bookmark file="Notes/Recipe.md" title="Tonight's recipe"
obsidian base:query file=Reading view="To read" format=paths \
| while read -r path; do
obsidian bookmark file="$path"
done
obsidian bookmark search="path:Daily tag:#followup" title="Outstanding follow-ups"
obsidian bookmarks format=json > bookmarks-$(date +%F).json
| Context | Command |
|---|---|
| List bookmarks (structured) | obsidian bookmarks format=json |
| List bookmarks with types | obsidian bookmarks verbose |
| Bookmark count | obsidian bookmarks total |
| Bookmark a file | obsidian bookmark file=X |
| Bookmark a heading | obsidian bookmark file=X subpath="#H" |
| Bookmark a block | obsidian bookmark file=X subpath="^id" |
| Bookmark a search | obsidian bookmark search="QUERY" |
| Bookmark a URL | obsidian bookmark url=https://… title=… |
base:query format=paths feeds nicely into bulk-bookmark loopsWhat 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./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.Other plugins' skills for the same job