← 返回 Skills 市场
694
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install activity-analyzer
功能描述
Use ActivityWatch to analyze user's computer activity
使用说明 (SKILL.md)
\r \r \r
Activity Analyzer Skill\r
\r
🔒 Privacy & Security Notice\r
⚠️ Important: Before running this skill, please read carefully.\r
- Data Sensitivity: This skill accesses your local ActivityWatch data, including application names and window titles. Window titles may contain sensitive information (document names, URLs, email subjects, etc.).\r
- Data Flow: The script runs locally (127.0.0.1:5600), but the output is sent to the AI model for analysis. \r
- Recommendation: For enhanced privacy, consider modifying
scripts/fetch_activity.jsto aggregate data (e.g., send only app names and durations) instead of raw window titles.\r- Consent: By using this skill, you acknowledge that local activity data will be processed by the AI model.\r \r ---\r \r You are a rational, analytical, and empathetic productivity coach. Your task is to analyze the user's computer activity via ActivityWatch, summarize their time distribution, and provide actionable advice.\r \r
📊 1. Data Collection\r
Command: node scripts/fetch_activity.js --hours 24\r
\r
⚠️ Privacy Check: \r
- If the output contains raw window titles (e.g., "Confidential_Report.docx - Word"), warn the user about potential privacy exposure.\r
- Suggest using aggregated data (App Name + Duration) for future runs if privacy is a concern.\r \r
🧠 2. Analysis & Output\r
Analyze the data collected from the fetch_activity.js script.\r
\r
- Time Distribution: Summarize the time spent in each quadrant.\r
- Insights & Anomalies: Identify any significant patterns. For example, frequent context switching, excessive time spent on certain non-work websites (like YouTube/Reddit).\r
- Objective Advice: Provide 2-3 objective, actionable suggestions. Be honest and direct, but don't be overbearing (if someone spends an entire day on a website, gently but clearly point out). Provide specific adjustment methods (like Pomodoro technique, limiting certain websites).\r \r
🛡️ 3. Privacy Best Practices (For User)\r
- Redaction: If you see sensitive titles in the data, advise the user to edit the script to exclude them.\r
- Local Only: Remind the user that ActivityWatch runs locally, but this skill sends summaries to the cloud model.\r
- Minimal Data: Encourage collecting only necessary time ranges (e.g., last 24 hours) rather than historical archives.\r
安全使用建议
This skill appears to do what it says: it reads your local ActivityWatch API and prints app names and raw window titles for the AI to analyze. Important considerations before installing or running it: (1) Privacy — window titles can contain sensitive data (document names, URLs, email subjects). If you are uncomfortable sending raw titles to the model, edit scripts/fetch_activity.js to only emit app names and durations or to redact titles before output; remove the raw JSON console.log if present. (2) Verify ActivityWatch is running locally (127.0.0.1:5600) and Node is installed; run the script yourself first to inspect output before letting the agent send it to a remote model. (3) The skill does not make external network calls beyond localhost and does not request credentials, so the primary risk is data exposure to the AI model rather than covert exfiltration. If you need stronger guarantees, modify the script to aggregate or anonymize data locally and only send summaries to the model.
功能分析
Type: OpenClaw Skill
Name: activity-analyzer
Version: 1.0.1
This skill is designed to analyze local computer activity using ActivityWatch and send the summary, including potentially sensitive window titles, to the AI model. While handling sensitive data, the `SKILL.md` is exceptionally transparent, explicitly warning the user about privacy implications and instructing the AI agent to provide further privacy advice and suggest script modifications. The `fetch_activity.js` script only interacts with localhost (127.0.0.1:5600) and outputs data to stdout, which is then processed by the agent. There is no evidence of malicious intent, unauthorized data exfiltration, or hidden actions; rather, the skill prioritizes transparency and user awareness regarding privacy trade-offs.
能力评估
Purpose & Capability
The skill claims to analyze ActivityWatch data and its instructions and included script directly query the ActivityWatch local API (127.0.0.1:5600) for window/app events. No unrelated binaries, credentials, or config paths are requested.
Instruction Scope
SKILL.md instructs the agent to run node scripts/fetch_activity.js --hours 24 and to send the output to the model for analysis. The script explicitly queries the 'aw-watcher-window' bucket and prints raw JSON and per-record lines including window titles. That behavior is consistent with the stated purpose but creates a clear privacy exposure because window titles may contain sensitive data; the skill does document and warn about this and recommends aggregation/redaction.
Install Mechanism
There is no install spec — the skill is instruction-only with a local Node.js script. Nothing is downloaded from external URLs or written to disk beyond the provided script. The script only requires Node to be available.
Credentials
No environment variables, credentials, or config paths are requested. The script only contacts the local ActivityWatch API (127.0.0.1:5600), which is proportional to the stated purpose.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system-wide settings, and does not store credentials. It operates only when invoked.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install activity-analyzer - 安装完成后,直接呼叫该 Skill 的名称或使用
/activity-analyzer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added a clear privacy and security notice outlining risks of exposing sensitive window titles from ActivityWatch logs.
- Updated requirements to specify Node.js as a prerequisite.
- Enhanced the skill description with privacy recommendations and explicit user consent.
- Command output now warns if raw window titles are included, encouraging aggregation for better privacy.
- Added best practices section advising users on redaction, minimal data use, and local execution.
v1.0.0
- Initial release of the Activity Analyzer skill.
- Integrates with ActivityWatch to fetch and summarize 24 hours of computer activity.
- Provides a breakdown of time usage, highlights significant patterns, and identifies anomalies.
- Delivers 2–3 clear, actionable productivity suggestions based on the analysis.
元数据
常见问题
activity-analyzer 是什么?
Use ActivityWatch to analyze user's computer activity. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 694 次。
如何安装 activity-analyzer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install activity-analyzer」即可一键安装,无需额外配置。
activity-analyzer 是免费的吗?
是的,activity-analyzer 完全免费(开源免费),可自由下载、安装和使用。
activity-analyzer 支持哪些平台?
activity-analyzer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 activity-analyzer?
由 Tim(@qew21)开发并维护,当前版本 v1.0.1。
推荐 Skills