Database v1.0.0

browser-history-browser-history

Skill: browser-history — Search Chrome History

Browser History 更新于 2026-11-23 1 浏览
下载 SKILL

技能说明

Skill: browser-history — Search Chrome History

使用场景

Skill: browser-history — Search Chrome History

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/browser-history-browser-history
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

3 个文件 · 13 kB
SKILL.md text/markdown
# 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)
```bash
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
```bash
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)
```bash
sqlite3 ~/Library/Application\ Support/Google/Chrome/Default/History \
  "SELECT url, title, visit_count FROM urls ORDER BY visit_count DESC LIMIT 20;"
```

### Recent visits
```bash
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:**
   ```bash
   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

```bash
open -a "Google Chrome" "URL_HERE"
```

## Hide/Minimize Chrome

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

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。