← 返回 Skills 市场
truesnow

Chrome Bookmarks

作者 truesnow · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
37
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install chrome-bookmarks
功能描述
Search, browse, and open Chrome bookmarks via AI assistant. Trigger when user asks to find/open a bookmarked URL, search their Chrome bookmarks by keyword, b...
使用说明 (SKILL.md)

chrome-bookmarks

Search, browse, and open Chrome bookmarks directly from the local Bookmarks JSON file.

When to use

  • User asks to find or search their Chrome bookmarks by keyword
  • User wants to open a bookmarked URL (e.g., "打开我收藏的 TAPD 链接", "open my GitHub bookmark")
  • User wants to browse bookmark folders (e.g., "看看我书签栏 Code 文件夹下有什么")
  • User wants to see the overall bookmark tree structure

Prerequisites

  • Chrome browser installed (data at ~/Library/Application Support/Google/Chrome/)
  • macOS (uses open command to launch URLs) — for Linux, replace open with xdg-open
  • Python 3.8+ (system python3)

Steps

1. Search bookmarks by keyword

python3 @scripts/chrome_bookmarks.py search "\x3Ckeyword>" --limit 10
  • --limit N: max results (default 20)
  • --folder \x3Cname>: restrict search to a specific folder

Example: Search for TAPD-related bookmarks

python3 @scripts/chrome_bookmarks.py search "TAPD" --limit 10

2. Browse bookmark folder contents

python3 @scripts/chrome_bookmarks.py list --folder "\x3Cfolder_name>" --depth 2
  • Omit --folder to list all top-level items
  • --depth N: how deep to traverse the tree (default 2)

Example: List items in the "Code" folder

python3 @scripts/chrome_bookmarks.py list --folder "Code" --depth 2

3. Show bookmark tree structure

python3 @scripts/chrome_bookmarks.py tree --depth 1

Shows top-level folders with bookmark counts. Increase --depth for more detail.

4. Open a bookmark in the browser

python3 @scripts/chrome_bookmarks.py open "\x3Ckeyword>"

Opens the first matching bookmark URL in the default browser using the open command.

Example:

python3 @scripts/chrome_bookmarks.py open "iWiki"

This will find the first bookmark whose name or URL contains "iWiki" and open it.

Typical workflow

  1. User asks to find a bookmark → run search with the keyword
  2. Present results to user — show name, URL, and folder path
  3. User picks one → run open with a more specific keyword or confirm the exact name
  4. Bookmark opens in Chrome

Pitfalls

  • Chrome must not be running a profile lock that prevents reading the Bookmarks file (rare on macOS — the file is always readable)
  • The Bookmarks file is only updated when Chrome writes it (on bookmark changes or browser close). Very recent additions may not appear until Chrome flushes to disk.
  • For users with multiple Chrome profiles, the script auto-detects Default first, then Profile 1, etc.
  • The open command only works on macOS. On Linux, the script would need to use xdg-open instead.
  • With large bookmark collections, the open command opens the first match. Use search first to verify the right bookmark if unsure.

Verification

After running search, confirm the output is a JSON array of bookmark objects with name, url, folder, and path fields. After running open, confirm the output contains "opened": true.

Script reference

  • @scripts/chrome_bookmarks.py — Main CLI script (Python 3, zero external dependencies)
安全使用建议
Install only if you are comfortable letting the skill read your Chrome bookmark names and URLs. Use search first for ambiguous keywords, confirm the exact destination before opening, and be cautious with bookmarks that may use non-web URL schemes or custom handlers.
能力评估
Purpose & Capability
The stated purpose is to search, list, and open Chrome bookmarks, and the script implementation is limited to reading Chrome bookmark JSON, returning matches, and launching a matched URL.
Instruction Scope
The skill documentation discloses local bookmark access and advises showing search results before opening, but the script's open command itself opens the first match without enforcing confirmation or URL scheme checks.
Install Mechanism
No installer, package dependency, post-install hook, or network setup is present; the artifact consists of SKILL.md, a Python script, and a license.
Credentials
Reading Chrome bookmark files and invoking the macOS open command are proportionate to the bookmark-search/opening purpose, and there are no external services or package dependencies.
Persistence & Privilege
The skill does not create persistence or request elevated privileges, but it does access potentially sensitive browser bookmark data and can open bookmarked URLs through the local browser.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install chrome-bookmarks
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /chrome-bookmarks 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: search, browse, and open Chrome bookmarks
元数据
Slug chrome-bookmarks
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Chrome Bookmarks 是什么?

Search, browse, and open Chrome bookmarks via AI assistant. Trigger when user asks to find/open a bookmarked URL, search their Chrome bookmarks by keyword, b... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 37 次。

如何安装 Chrome Bookmarks?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install chrome-bookmarks」即可一键安装,无需额外配置。

Chrome Bookmarks 是免费的吗?

是的,Chrome Bookmarks 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Chrome Bookmarks 支持哪些平台?

Chrome Bookmarks 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Chrome Bookmarks?

由 truesnow(@truesnow)开发并维护,当前版本 v1.0.0。

💬 留言讨论