Agent skill

Pp Chrome History

by mvanhorn in mvanhorn/printing-press-library

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…

Apache-2.0Auto-check passedWriting & Content

Install Pp Chrome History

skills CLI
$ npx skills add mvanhorn/printing-press-library --skill pp-chrome-history -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mvanhorn/printing-press-library pp-chrome-history --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mvanhorn/printing-press-library.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cli-skills/pp-chrome-history .claude/skills/pp-chrome-history && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pp-chrome-history
GitHub stars
2.1k
Token cost
~2.1k tokens
SKILL.md length
787 words
Files
1
Skills in repo
506
Repo updated
First seen
Licence
Apache-2.0

At a glance

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…

  • Works in 3 steps: Install via the Printing Press… → Verify: chrome-history-pp-cli --version → Ensure the reported install directory is…
  • Phrases: what have I been browsing
  • SKILL.md covers Prerequisites: Install the CLI, When to use, When NOT to use (anti-triggers) and Categorization (for agents), plus 5 more sections
  • Calls go and npx

What it does

Pp Chrome History is an agent skill from mvanhorn/printing-press-library. 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.

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Writing & Content, covering Content strategy and Time tracking and reporting. It works with macOS. The repository describes itself as: Official library of CLIs generated by the CLI Printing Press. Endorsed, tested, and community-contributed. The licence is Apache-2.0.

When your agent uses it

  • Phrases: what have I been browsing
  • Search my chrome history
  • What was that page I saw
  • My browsing journeys / topics

Example prompts

  • “/pp-chrome-history”

Requirements

  • Node.js

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and…
  2. Verify: chrome-history-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

What it can do on your machine

Read from SKILL.md and the folder at commit d9a1696. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • go
    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pp Chrome History loads about 2.1k tokens when it runs. Until then it costs about 139 tokens; SKILL.md has 787 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~139
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from mvanhorn/printing-press-library at commit d9a1696, republished under its Apache-2.0 licence (© mvanhorn). 787 words, ~2,146 tokens.

Download SKILL.mdSave it as .claude/skills/pp-chrome-history/SKILL.md (or your agent's skills folder).
name
pp-chrome-history
description
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`.
license
Apache-2.0
<!-- GENERATED FILE — DO NOT EDIT.
     This file is a verbatim mirror of library/productivity/chrome-history/SKILL.md,
     regenerated post-merge by tools/generate-skills/. Hand-edits here are
     silently overwritten on the next regen. Edit the library/ source instead.
     See the repository agent guide, section "Generated artifacts: registry.json, cli-skills/". -->

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:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    bash
    npx -y @mvanhorn/printing-press-library install chrome-history --cli-only
  2. Verify: chrome-history-pp-cli --version
  3. Ensure the reported install directory is on $PATH for 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:

bash
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-cli only 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):

bash
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).

Show full SKILL.md (313 more words)Show less

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.

bash
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 superset of the snapshot) — you don't change how you query; search/list/domains/report/heatmap/timeline/sql simply see the fuller history. Rich Chrome-only views (journeys/downloads/searches/dwell/graph/profile/visited) still read the current snapshot.
  • Keep it fresh with sync --accumulate (appends, never drops).
  • Manage it: archive disable (stop accumulating, keep the file) · archive clobber (reset the archive to a fresh current-snapshot baseline) · archive reset --force [--purge] (turn mode off and move, or with --purge delete, archive.db) · archive vacuum (compact).

Key commands

  • Find: search <query> (FTS), visited <url|domain>, topic <name> (FTS + Journeys merged), list, searches (your past search terms)
  • Aggregate: domains, report (time + productivity buckets), heatmap, profile (behavioral summary), dwell (estimated time-on-site)
  • Reconstruct: journeys (Chrome's own topic clusters), timeline <date> (sessionized), rabbitholes (distraction drift), graph (navigation graph)
  • Data: downloads, sql "<SELECT…>" (read-only), sync, doctor, version, mcp
  • Archive (durable history, opt-in): archive enable|status|disable|clobber|reset|vacuum, sync --accumulate

Recipes

bash
# Find a page you half-remember
chrome-history-pp-cli search "github actions cache" --since 30d --limit 20

# What topics has Chrome grouped my browsing into? (its own Journeys clusters)
chrome-history-pp-cli journeys --limit 25

# Everything I browsed about a topic (FTS + clusters merged) — good for feeding a vault/agent
chrome-history-pp-cli topic "model context protocol" --since 90d --json

# Where did my time go this week, and what was productive vs distracting?
chrome-history-pp-cli report --since 7d

# A behavioral snapshot: peak hours, busiest weekday, top domains/searches
chrome-history-pp-cli profile

# Agent-friendly: narrow deeply nested output to just the fields you need
chrome-history-pp-cli journeys --json --select label,page_count --limit 10

# Keep history that Chrome would later prune/clear (opt-in, one-time enable + periodic refresh)
chrome-history-pp-cli archive enable
chrome-history-pp-cli sync --accumulate     # run periodically; reads then see the fuller archive automatically

Agent notes

  • Prefer --json for parsing and --select a,b (dotted paths) to keep responses small.
  • Query commands answer from the existing local snapshot — you do not need to sync before reading. Only sync to pull in newer browsing (a query on a truly empty store will tell you with run sync first). With archive mode on, sync/sync --accumulate also writes the durable archive, so don't sync just to read.
  • searches/downloads/journeys are Chrome-specific; a future Safari CLI reports them as "not available" rather than faking data.
  • All data stays local on-device; no browsing data leaves your machine.

© mvanhorn, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in cli-skills/pp-chrome-history of mvanhorn/printing-press-library.

Open the folder on GitHubat commit d9a1696

Compare with similar skills

Pp Chrome History next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pp Chrome History compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pp Chrome History this skillmvanhorn/printing-press-library2.1k—~2.1kAutomated safety check: PassApache-2.0
WeChat Official Account Pipelineaiworkskills/wechat-article-skills672—~2kAutomated safety check: PassApache-2.0
Daily Reviewsundial-org/awesome-openclaw-skills663—~858Automated safety check: PassNone
Tiktok MarketingaAAaqwq/AGI-Super-Team1051 repos~2.9kAutomated safety check: PassMIT
Blogger Distillerotter1101/blogger-distiller701—~3.8kAutomated safety check: NotesMIT
Linkedin Content Plannersergebulaev/linkedin-skills4.4k1 repos~2.1kAutomated safety check: PassMIT

Similar skills

  • WeChat Official Account Pipeline

    aiworkskills/wechat-article-skills

    Orchestrates the full WeChat official account workflow from topic to draft, chaining sub-skills for writing, review, layout, images and publishing.

    672 GitHub stars~2k tokensUpdated 18 days ago
    Writing & ContentAuto-check passed
  • Daily Review

    sundial-org/awesome-openclaw-skills

    Comprehensive daily performance review with communication tracking, meeting analysis, output metrics, and focus time monitoring.

    663 GitHub stars~858 tokensUpdated 7 mo ago
    Business, Finance & HRAuto-check passed
  • Tiktok Marketing

    aAAaqwq/AGI-Super-Team

    TikTok content strategy, video creation workflows, posting optimization, and analytics.

    105 GitHub starsUsed in 1 repo~2.9k tokens
    Writing & ContentAuto-check passed
  • Blogger Distiller

    otter1101/blogger-distiller

    A skill your agent uses when the user wants to analyze or distill a blogger/account on Xiaohongshu or Douyin, benchmark a target creator, or diagnose their own content strategy.

    701 GitHub stars~3.8k tokensUpdated 18 days ago
    Writing & ContentAuto-check: notes
  • Linkedin Content Planner

    sergebulaev/linkedin-skills

    Generate a 7-day LinkedIn content plan from a theme, audience, and pillars.

    4.4k GitHub starsUsed in 1 repo~2.1k tokens
    Writing & ContentAuto-check passed
  • Blog Post Drafting

    luongnv89/claude-howto

    Guides drafting a blog post from an idea and optional source material: research, brainstorming, outlining and version-tracked drafts, with user approval at each step.

    42k GitHub stars~2.1k tokensUpdated today
    Writing & ContentAuto-check passed

More from mvanhorn/printing-press-library

All 506 skills in this repo
  • Agent Desktop

    mvanhorn/printing-press-library

    Desktop automation through the real Rust agent-desktop CLI, published in Printing Press through a small bridge.

    2.1k GitHub stars~2.3k tokensUpdated today
    Auto-check: notes
  • Gfonts

    mvanhorn/printing-press-library

    Search, browse, and download Google Fonts from the terminal via the gfonts CLI.

    2.1k GitHub stars~574 tokensUpdated today
    Auto-check passed
  • Pp 1688

    mvanhorn/printing-press-library

    The free, offline Trigger phrases: search 1688 for, find a factory on 1688 for, wholesale price on 1688 for, who is the cheapest supplier on 1688 for, compare 1688 suppliers for, use 1688, run 1688.

    2.1k GitHub stars~3k tokensUpdated today
    Auto-check: notes
  • Pp Activity Japan

    mvanhorn/printing-press-library

    Inspect known Activity Japan plan IDs or URLs, compare dated prices and sessions, check language-sitemap coverage, and hand off to canonical booking pages.

    2.1k GitHub stars~2k tokensUpdated today
    Auto-check: notes
  • Pp Adminbyrequest

    mvanhorn/printing-press-library

    Every Admin By Request portal action, plus a local SQLite mirror of audit, events, inventory and requests for ad-hoc...

    2.1k GitHub stars~3.3k tokensUpdated today
    Auto-check: notes
  • Pp Agent Capture

    mvanhorn/printing-press-library

    macOS screen capture, window recording, GIF conversion, and agent evidence bundles from the terminal.

    2.1k GitHub stars~1.6k tokensUpdated today
    Auto-check: notes

Works with

Questions about Pp Chrome History

What does Pp Chrome History do?

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…. Pp Chrome History is an agent skill from mvanhorn/printing-press-library. 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.

When should I use Pp Chrome History?

Pp Chrome History fits situations like: phrases: what have I been browsing; search my chrome history; what was that page I saw; my browsing journeys / topics.

How do I install Pp Chrome History in Claude Code?

Run `npx skills add mvanhorn/printing-press-library --skill pp-chrome-history -a claude-code`. Or copy the skill folder (cli-skills/pp-chrome-history in mvanhorn/printing-press-library) into .claude/skills/pp-chrome-history in your project. Claude Code loads it when a task matches its description.

How do I install Pp Chrome History in Codex?

Run `npx skills add mvanhorn/printing-press-library --skill pp-chrome-history -a codex`. Or copy the skill folder (cli-skills/pp-chrome-history in mvanhorn/printing-press-library) into .agents/skills/pp-chrome-history in your project. Codex loads it when a task matches its description.

Can I use Pp Chrome History in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mvanhorn/printing-press-library --skill pp-chrome-history -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pp-chrome-history, .gemini/skills/pp-chrome-history, .github/skills/pp-chrome-history and .opencode/skills/pp-chrome-history in your project.

What does Pp Chrome History need to run?

Going by SKILL.md and its folder, Pp Chrome History needs the command-line tools its instructions call (go and npx). Our summary lists: Node.js.

Does Pp Chrome History access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Pp Chrome History safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Pp Chrome History use?

Pp Chrome History is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Pp Chrome History use?

About 2.1k tokens (SKILL.md is roughly 8.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Pp Chrome History?

Skills that share tags, products or a category with Pp Chrome History: WeChat Official Account Pipeline (aiworkskills/wechat-article-skills, 672 stars), Daily Review (sundial-org/awesome-openclaw-skills, 663 stars), Tiktok Marketing (aAAaqwq/AGI-Super-Team, 105 stars) and Blogger Distiller (otter1101/blogger-distiller, 701 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pp Chrome History?

mvanhorn (a GitHub user) maintains it in mvanhorn/printing-press-library, which has 2,056 GitHub stars. The repository holds 506 skills in this directory. The repository was last updated on October 9, 2026.

Source: mvanhorn/printing-press-library on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.