用途:在 Claude Code 中用自然语言搜索和筛选本机 Chrome 浏览历史,适合回顾阅读内容、检索研究资料、查找访问过的代码仓库或特定站点内容。
主要能力:解析自然语言中的日期范围与过滤条件,查询 Chrome 的 SQLite 历史数据库,过滤噪音(社交媒体、邮件、重定向),按类型分组结果并输出带链接的 Markdown。支持日期范围(如 today、yesterday、last week、last month、last 2 weeks)、内容过滤(articles I read、scientific articles、code/research)、关键词(如 articles about AI)、站点限定(reddit threads、on medium、twitter posts)。
使用方式:可直接运行命令 python3 ~/.claude/skills/chrome-history/chrome_history_query.py "articles I read yesterday",或集成到 Claude Code 中,由用户以自然语言提问触发查询,例如“Show me articles I read yesterday”“What scientific papers did I look at last week?”。
配置:Chrome 历史路径为 ~/Library/Application Support/Google/Chrome/Default/History;Vault 位置为 /Users/glebkalinin/Brains/brain;会自动按域类型聚类,并过滤 Facebook、Instagram、Twitter、TikTok、Reddit、LinkedIn、Gmail、Outlook、Amazon、eBay、Google 跳转链接、FreeFeed、YouTube 等站点。
限制:依赖本机 Chrome 历史数据库路径,主要面向 macOS 环境;过滤规则为内置预设,资料未提供自定义过滤的说明;对结果数量、排序或隐私处理方式暂未提供更多细节。