Chrome History Query Skill
Search and filter your Chrome browsing history using natural language queries.
What It Does
- Parses natural language queries to understand date ranges and filters
- Queries Chrome's SQLite history database
- Filters out noise (social media, email, redirects)
- Groups results by type (reading, research, tools, events)
- 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)
1---2name: chrome-history3description: Query Chrome browsing history with natural language. Filter by date range, article type, keywords, and specific sites.4---56# Chrome History Query Skill78Search and filter your Chrome browsing history using natural language queries.910## What It Does11121. Parses natural language queries to understand date ranges and filters132. Queries Chrome's SQLite history database143. Filters out noise (social media, email, redirects)154. Groups results by type (reading, research, tools, events)165. Returns formatted markdown with links1718## Supported Queries1920### Date Range21- "yesterday" → previous day only22- "today" → today only23- "last week" → past 7 days24- "last month" → past 30 days25- "last 2 weeks" → past 14 days2627### Content Filters28- "articles I read" → reading cluster (news, blogs, essays)29- "scientific articles" → research cluster (papers, docs)30- "code/research" → GitHub, Stack Overflow, docs3132### Keyword Filtering33- "articles about AI" → finds pages mentioning AI34- "scientific articles about climate" → finds research pages mentioning climate3536### Site-Specific37- "reddit threads" → reddit.com only38- "on medium" → medium.com only39- "twitter posts" → twitter.com only4041## Example Queries4243```44"articles I read yesterday"45"articles about AI I read yesterday"46"scientific articles for the last week"47"research about machine learning this week"48"reddit threads last month"49"code repos I visited yesterday"50"on medium this week"51```5253## Usage5455Run directly with a query:56```bash57python3 ~/.claude/skills/chrome-history/chrome_history_query.py "articles I read yesterday"58```5960Or integrate into Claude Code when user asks:61- "Show me articles I read yesterday"62- "What scientific papers did I look at last week?"63- "Show reddit threads I visited last month"64- "Articles about AI from yesterday?"6566## Configuration6768- **Chrome History**: `~/Library/Application Support/Google/Chrome/Default/History`69- **Vault Location**: `/Users/glebkalinin/Brains/brain`70- **Filtered Sites**: Social media, email, Google redirect wrappers71- **Clustering**: Automatic by domain type (reading, research, tools, events)7273## Exclusions7475Automatically filters out:76- Social media: Facebook, Instagram, Twitter, TikTok, Reddit, LinkedIn77- Email: Gmail, Outlook78- Shopping: Amazon, eBay79- Google redirects: google.com/url wrappers80- Utility sites: FreeFeed, YouTube8182## Output Format8384Results grouped by content type with timestamps:8586```87## Chrome History: articles about AI yesterday8889*Found 5 items*9091### Reading (3)92- 14:22 [The more that people use AI...](url)93- 16:38 [AI makes you smarter but...](url)9495### Research (2)96- 11:23 [GitHub: AI project](url)97```