activity-analyzer
由 qew21 提供
CLI Utilities简介
Use ActivityWatch to analyze user's computer activity (Requires Node.js)
描述
该技能的功能
Connects to a locally running ActivityWatch instance to fetch computer activity data and run an AI-powered productivity analysis. The agent summarizes time spent per application, flags distracting patterns, and gives specific behavioral suggestions. Window titles are included by default, so data containing sensitive content is sent to the model for processing.
ActivityWatch stores data locally on 127.0.0.1, so no third-party time-tracking account or cloud sync is required before analysis.
何时使用
- Reviewing how much coding time vs meeting time was logged today
- Spotting excessive YouTube or Reddit usage during work hours
- Understanding app-switching frequency on high-distraction days
- Getting a structured daily screen-time breakdown without a paid tracker
- Auditing whether deep-work blocks actually happened as planned
示例工作流
User asks: Give me a summary of my computer activity for the last 24 hours
- 1
Runs
node scripts/fetch_activity.js --hours 24against the local ActivityWatch API - 2
Checks whether output contains raw window titles and warns the user if sensitive content is detected
- 3
Groups activity by application and calculates time spent in each
- 4
Identifies anomalies such as frequent context switches or extended use of non-work sites
- 5
Produces a time-distribution summary and 2-3 specific productivity suggestions
A breakdown of time per app category, flagged distractions (e.g., 3h 20m on YouTube), and concrete advice such as scheduling focused blocks using the Pomodoro technique
前置要求
- ActivityWatch installed and running locally (activitywatch.net)
安装
clawhub install qew21/activity-analyzer运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。