pp-chrome-history
БесплатноБез исполняемых скриптовНе проверенQuery your local Chrome browsing history — search, topic clusters (Chrome's own Journeys), time/productivity reports, session timelines, downloads, and a…
от mvanhorn★ 2 170 звёзд на GitHubОб этом скилле
pp-chrome-history
Prerequisites: Install the CLI
This skill drives the chrome-history-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
- Install via the Printing Press installer. It defaults binaries to
$HOME/.local/binon macOS/Linux and%LOCALAPPDATA%\Programs\PrintingPress\binon Windows:npx -y @mvanhorn/printing-press-library install chrome-history --cli-only - Verify:
chrome-history-pp-cli --version - Ensure the reported install directory is on
$PATHfor the agent/runtime that will invoke this skill.
If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer). This installs into $GOPATH/bin (default $HOME/go/bin), so add that directory to $PATH instead:
go install github.com/mvanhorn/printing-press-library/library/productivity/chrome-history/cmd/chrome-history-pp-cli@latest
If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.
chrome-history-pp-cli reads your local Chrome history SQLite database, snapshots it to ~/.cache/chrome-history/, builds an offline full-text index, and answers questions about your browsing. Read-only, zero network — nothing leaves the machine. Every query command supports --json and --select, and the same surface is exposed as MCP tools via chrome-history-pp-cli mcp — the query tools are read-only; only sync and archive_enable/archive_disable mutate local state (on-device, never the network). An optional accumulating archive (off by default) can retain history that Chrome later prunes or the user clears — see Archive below.
When to use
Historical Chrome activity from the History database: "find that page I saw," "what have I been researching," "what topics has Chrome grouped my browsing into," "how much time on X," "what did I download," "have I visited this site before."
When NOT to use (anti-triggers)
- Non-macOS — macOS only. The Chrome DB path and Full-Disk-Access model are macOS-specific; Linux/Windows are not yet supported.
- Live/open tabs — these are NOT in the History SQLite DB (Chrome keeps them in binary session files). This tool is history, not current tabs.
- Safari history — a separate CLI (Safari stores history differently;
chrome-history-pp-clionly reads Chrome). - Bookmarks, passwords, autofill, cookies — out of scope; this reads the History DB only.
Categorization (for agents)
The domains static category map is coarse; journeys exposes Chrome's own (noisy) clusters. For real topic categorization, read the --json titles/URLs and infer topics yourself — agent inference beats both the static map and Chrome's clusters (especially for clustering history into a personal vault).
Setup
Ensure chrome-history-pp-cli is on PATH (e.g. go install it, or symlink the built binary into ~/go/bin). Then snapshot Chrome's history once (re-run anytime to refresh — Chrome locks its DB, so the tool copies it safely even while Chrome is open):
chrome-history-pp-cli sync # build/refresh the local snapshot
chrome-history-pp-cli doctor # health check; warns if Chrome's DB schema drifts from the tested version
If doctor reports the Chrome DB is unreadable, grant your terminal Full Disk Access (System Settings → Privacy & Security → Full Disk Access).
You do not need to sync before answering a question — query commands read the snapshot that already exists. Only sync to pull in newer browsing (or the first time, if no snapshot exists yet).
Archive: keep history that Chrome would delete
By default the snapshot mirrors Chrome's current history — when Chrome prunes old visits or the user clears history, those visits leave the snapshot on the next sync too. The optional archive keeps an accumulating, durable copy so history outlives Chrome's pruning. It is opt-in and off by default — a normal "what did I browse" question needs only the snapshot, so don't enable it reflexively.
chrome-history-pp-cli archive enable # turn on the durable archive (seeds from the current snapshot)
chrome-history-pp-cli sync --accumulate # refresh: append new visits into the archive (dedup on url+visit_time)
chrome-history-pp-cli archive status --json
- Once enabled, reads answer from the archive automatically (it is a
Установить pp-chrome-history в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл pp-chrome-history?
Query your local Chrome browsing history — search, topic clusters (Chrome's own Journeys), time/productivity reports, session timelines, downloads, and a behavioral profile — all read-only and on-device. Trigger phrases: `what have I been browsing`, `search my chrome history`, `what was that page I saw`, `my browsing journeys / topics`, `what did I download in chrome`, `what sites do I visit most`, `my browsing time report`, `my browsing profile`, `what was I researching last week`, `use chrome-history`, `run chrome-history-pp-cli`.
Как установить скилл pp-chrome-history?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pp-chrome-history запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic