← Back to Skills Marketplace
therohitdas

Browser History

by Rohit Das · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
980
Downloads
0
Stars
4
Active Installs
1
Versions
Install in OpenClaw
/install browser-history
Description
Search and retrieve URLs, titles, and visit counts from Das's Chrome browsing history, including recent visits and YouTube video searches.
README (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
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install browser-history
  3. After installation, invoke the skill by name or use /browser-history
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug browser-history
Version 1.0.0
License
All-time Installs 4
Active Installs 4
Total Versions 1
Frequently Asked Questions

What is Browser History?

Search and retrieve URLs, titles, and visit counts from Das's Chrome browsing history, including recent visits and YouTube video searches. It is an AI Agent Skill for Claude Code / OpenClaw, with 980 downloads so far.

How do I install Browser History?

Run "/install browser-history" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Browser History free?

Yes, Browser History is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Browser History support?

Browser History is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Browser History?

It is built and maintained by Rohit Das (@therohitdas); the current version is v1.0.0.

💬 Comments