Bookmarks

From laurigates/claude-plugins · View interactive version

Bookmarks is an AI agent skill from the GitHub repository laurigates/claude-plugins. Obsidian bookmarks: list and add file/folder/heading/saved-search/URL bookmarks. Use when starring or saving notes for quick access.

How to use this skill

Skill file

Obsidian Bookmarks

When to Use This 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.

Prerequisites

List Bookmarks

# All bookmarks (default tsv)
obsidian bookmarks

# Include bookmark types
obsidian bookmarks verbose

# Structured output
obsidian bookmarks format=json

# Just the count
obsidian bookmarks total

Add a Bookmark

# 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"

Common Patterns

"Bookmark every file from a base view"

obsidian base:query file=Reading view="To read" format=paths \
  | while read -r path; do
      obsidian bookmark file="$path"
    done

"Promote a frequent search to a bookmark"

obsidian bookmark search="path:Daily tag:#followup" title="Outstanding follow-ups"

"Snapshot the current bookmark set"

obsidian bookmarks format=json > bookmarks-$(date +%F).json

Agentic Optimizations

| 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=… |

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.