Skip to content
Back to skills

Bookmarks

ASecurity

Obsidian bookmarks: list and add file/folder/heading/saved-search/URL bookmarks. Use when starring or saving notes for quick access.

  • 58 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 3, 2026
ai-agentsbash

Works with

  • cli

Security analysis

A100/100

Scanned September 23, 2026

npx -y skills add laurigates/claude-plugins --skill bookmarks --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bookmarks?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Bookmarks
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/laurigates-bookmarks/badge)](https://www.skillsdirectory.com/skills/laurigates-bookmarks)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
created: 2026-04-30
modified: 2026-09-22
reviewed: 2026-09-22
name: bookmarks
description: "Obsidian bookmarks: list and add file/folder/heading/saved-search/URL bookmarks. Use when starring or saving notes for quick access."
user-invocable: false
allowed-tools: Bash(obsidian *), Read, Grep, Glob
---

# 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

- Obsidian desktop 1.12.7+ installer with CLI enabled
- Obsidian must be running
- Core **Bookmarks** plugin enabled

## List Bookmarks

```bash
# 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

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

```bash
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"

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

### "Snapshot the current bookmark set"

```bash
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

- **vault-files** — Source files referenced by file/folder/subpath bookmarks
- **search-discovery** — Construct the query strings used in search bookmarks
- **bases** — `base:query format=paths` feeds nicely into bulk-bookmark loops

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…