跳到主要内容
知仓学习社ZHICANG

chrome-history

Query Chrome browsing history with natural language. Filter by date range, article type, keywords, and specific sites.

写文件无严重或高危命中glebis/claude-skills

它会碰到什么

扫了多少4 个文本文件,28 KB
它会碰到什么写文件
命中总数3 处
命中统计严重 0 · 高 0 · 中 3 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Chrome History Query Skill

Search and filter your Chrome browsing history using natural language queries.

What It Does

  1. Parses natural language queries to understand date ranges and filters
  2. Queries Chrome's SQLite history database
  3. Filters out noise (social media, email, redirects)
  4. Groups results by type (reading, research, tools, events)
  5. Returns formatted markdown with links

Supported Queries

Date Range

  • "yesterday" → previous day only
  • "today" → today only
  • "last week" → past 7 days
  • "last month" → past 30 days
  • "last 2 weeks" → past 14 days

Content Filters

  • "articles I read" → reading cluster (news, blogs, essays)
  • "scientific articles" → research cluster (papers, docs)
  • "code/research" → GitHub, Stack Overflow, docs

Keyword Filtering

  • "articles about AI" → finds pages mentioning AI
  • "scientific articles about climate" → finds research pages mentioning climate

Site-Specific

  • "reddit threads" → reddit.com only
  • "on medium" → medium.com only
  • "twitter posts" → twitter.com only

Example Queries

"articles I read yesterday"
"articles about AI I read yesterday"
"scientific articles for the last week"
"research about machine learning this week"
"reddit threads last month"
"code repos I visited yesterday"
"on medium this week"

Usage

Run directly with a query:

python3 ~/.claude/skills/chrome-history/chrome_history_query.py "articles I read yesterday"

Or integrate into Claude Code when user asks:

  • "Show me articles I read yesterday"
  • "What scientific papers did I look at last week?"
  • "Show reddit threads I visited last month"
  • "Articles about AI from yesterday?"

Configuration

  • Chrome History: ~/Library/Application Support/Google/Chrome/Default/History
  • Vault Location: /Users/glebkalinin/Brains/brain
  • Filtered Sites: Social media, email, Google redirect wrappers
  • Clustering: Automatic by domain type (reading, research, tools, events)

Exclusions

Automatically filters out:

  • Social media: Facebook, Instagram, Twitter, TikTok, Reddit, LinkedIn
  • Email: Gmail, Outlook
  • Shopping: Amazon, eBay
  • Google redirects: google.com/url wrappers
  • Utility sites: FreeFeed, YouTube

Output Format

Results grouped by content type with timestamps:

## Chrome History: articles about AI yesterday

*Found 5 items*

### Reading (3)
- 14:22 [The more that people use AI...](url)
- 16:38 [AI makes you smarter but...](url)

### Research (2)
- 11:23 [GitHub: AI project](url)

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。