← 返回 Skills 市场
therohitdas

Browser History

作者 Rohit Das · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
980
总下载
0
收藏
4
当前安装
1
版本数
在 OpenClaw 中安装
/install browser-history
功能描述
Search and retrieve URLs, titles, and visit counts from Das's Chrome browsing history, including recent visits and YouTube video searches.
使用说明 (SKILL.md)

Skill: browser-history — Search Chrome History

Search Das's Chrome browsing history to find URLs, videos, sites he's visited before.

Chrome History Location

~/Library/Application Support/Google/Chrome/Default/History

SQLite database. Can be queried directly if Chrome isn't locking it.


Search Commands

Basic search (URL or title contains term)

sqlite3 ~/Library/Application\ Support/Google/Chrome/Default/History \
  "SELECT url, title FROM urls WHERE url LIKE '%TERM%' OR title LIKE '%TERM%' ORDER BY last_visit_time DESC LIMIT 10;"

YouTube videos only

sqlite3 ~/Library/Application\ Support/Google/Chrome/Default/History \
  "SELECT url, title FROM urls WHERE url LIKE '%youtube.com/watch%' AND (url LIKE '%TERM%' OR title LIKE '%TERM%') ORDER BY last_visit_time DESC LIMIT 10;"

Most visited (all time)

sqlite3 ~/Library/Application\ Support/Google/Chrome/Default/History \
  "SELECT url, title, visit_count FROM urls ORDER BY visit_count DESC LIMIT 20;"

Recent visits

sqlite3 ~/Library/Application\ Support/Google/Chrome/Default/History \
  "SELECT url, title FROM urls ORDER BY last_visit_time DESC LIMIT 20;"

If Database is Locked

Chrome locks the History file while running. Options:

  1. Copy first:

    cp ~/Library/Application\ Support/Google/Chrome/Default/History /tmp/chrome_history
    sqlite3 /tmp/chrome_history "SELECT ..."
    
  2. Use WAL mode (usually works even when Chrome is open): The sqlite3 command often works anyway due to WAL mode.


Open URL in Chrome

open -a "Google Chrome" "URL_HERE"

Hide/Minimize Chrome

osascript -e 'tell application "System Events" to set visible of process "Google Chrome" to false'

Common Searches for Das

What Search Term
Brain.fm focus music brain.fm
YouTube videos youtube.com/watch
GitHub repos github.com
Transcript API transcriptapi or youtubetotranscript
安全使用建议
This skill will read your Chrome browsing history (a sensitive local SQLite file) and can open or hide Chrome windows. Before installing or enabling it, consider: (1) Only install if you fully trust the author and understand the privacy implications; (2) Ask the publisher to add explicit metadata: an OS restriction (macOS), a required config path declaration, and a clear explanation of when/why history will be read; (3) Prefer making the skill user-invocable or setting disable-model-invocation:true so the model cannot read history autonomously; (4) If you want the functionality but want to limit exposure, run the provided sqlite3 commands yourself locally and paste results to the agent instead of giving it direct file access; (5) Verify that copying the History file to /tmp (suggested in the doc) is acceptable in your environment since that creates a temporary unencrypted copy of your history. If any of the above are unacceptable, do not install or enable the skill.
功能分析
Type: OpenClaw Skill Name: browser-history Version: 1.0.0 The skill accesses sensitive local data (Chrome browsing history) as its stated purpose. However, the `SKILL.md` file contains `sqlite3` commands with a `TERM` placeholder, which presents a significant SQL injection vulnerability. If the AI agent directly substitutes user input into `TERM` without proper sanitization, an attacker could manipulate or delete the local history database. While there is no evidence of data exfiltration or persistence, this critical vulnerability makes the skill suspicious.
能力评估
Purpose & Capability
The SKILL.md clearly implements a 'search Chrome history' feature and the provided sqlite3 queries match that purpose. However the skill has no description, no declared OS restriction, and no declared required config path while the instructions target a macOS-specific Chrome history file (~/Library/Application Support/Google/Chrome/Default/History). The lack of metadata about needing access to that path and the OS-specific nature are inconsistencies.
Instruction Scope
The runtime instructions explicitly tell the agent to read the user's Chrome History SQLite file, copy it to /tmp if locked, run sqlite3 queries, open URLs in Chrome, and hide Chrome via AppleScript. Those actions access highly sensitive local data (complete browsing history) and manipulate a local application UI. The SKILL.md does not constrain how results are used or transmitted and does not require explicit user consent before reading local files.
Install Mechanism
There is no install spec and no code files — this is instruction-only. That limits disk writes and arbitrary code installation and is the lowest-risk install mechanism.
Credentials
No environment variables or credentials are requested, which is appropriate. However the skill's metadata does not declare that it requires access to a specific local config path (Chrome History in the user's home). The instructions therefore depend on local file access that wasn't reflected in the declared requirements.
Persistence & Privilege
The skill did not set disable-model-invocation:true (default allows the model to call it autonomously). Because the skill reads sensitive browsing history and can open/hide Chrome, allowing autonomous model invocation increases privacy risk. always is not set, which is good, but lack of restriction on invocation is concerning for this kind of sensitive access.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install browser-history
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /browser-history 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the browser-history skill. - Enables searching of Chrome browsing history using simple SQLite commands. - Provides example queries for basic, YouTube-specific, most-visited, and recent visit searches. - Includes solutions for accessing the history database if Chrome is currently running. - Adds commands to open URLs or control Chrome visibility from the terminal. - Lists common search examples tailored for Das.
元数据
Slug browser-history
版本 1.0.0
许可证
累计安装 4
当前安装数 4
历史版本数 1
常见问题

Browser History 是什么?

Search and retrieve URLs, titles, and visit counts from Das's Chrome browsing history, including recent visits and YouTube video searches. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 980 次。

如何安装 Browser History?

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

Browser History 是免费的吗?

是的,Browser History 完全免费(开源免费),可自由下载、安装和使用。

Browser History 支持哪些平台?

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

谁开发了 Browser History?

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

💬 留言讨论