闲社服务运行正常AI智能体自动化平台
r

获取时间数据

技能标识:rescuetime

Fetch productivity data from RescueTime. Use when the user asks about their screen time, productivity score, app usage, time tracking, how they spent their day/week, or wants reports on their computer activity. Requires API key in TOOLS.md or passed directly.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
1
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

获取时间数据

RescueTime

从 RescueTime API 获取生产力分析数据。

设置

在 TOOLS.md 中存储 API 密钥:

markdown

RescueTime


  • - API 密钥:在此处填写你的密钥

获取密钥地址:https://www.rescuetime.com/anapi/manage

API 端点

分析数据(主端点)

bash
curl https://www.rescuetime.com/anapi/data?key=APIKEY&format=json&perspective=rank&restrictkind=activity

参数:

  • - perspective:rank(排名)、interval(时段)、member(成员)
  • restrictkind:category(类别)、activity(活动)、productivity(生产力)、efficiency(效率)、document(文档)
  • interval:month(月)、week(周)、day(日)、hour(小时)(仅适用于 interval 视角)
  • restrictbegin / restrictend:YYYY-MM-DD 格式
  • restrictthing:筛选特定应用/网站/类别

每日摘要推送

bash
curl https://www.rescuetime.com/anapi/dailysummaryfeed?key=API_KEY

返回最近 14 天的数据,包含生产力脉冲(0-100)、总小时数和类别。

生产力等级

  • - 2:非常高效(编码、写作、终端、IDE)
  • 1:高效(沟通、参考资料、学习)
  • 0:中性(未分类)
  • -1:分心(新闻、购物)
  • -2:非常分心(社交媒体、游戏)

常用查询

按应用查看今日活动:
bash
curl https://www.rescuetime.com/anapi/data?key=APIKEY&format=json&perspective=rank&restrictkind=activity&restrictbegin=$(date +%Y-%m-%d)&restrictend=$(date +%Y-%m-%d)

生产力分解:
bash
curl https://www.rescuetime.com/anapi/data?key=APIKEY&format=json&perspective=rank&restrictkind=productivity

按类别查看:
bash
curl https://www.rescuetime.com/anapi/data?key=APIKEY&format=json&perspective=rank&restrictkind=category

今日逐小时分解:
bash
curl https://www.rescuetime.com/anapi/data?key=APIKEY&format=json&perspective=interval&restrictkind=productivity&interval=hour&restrictbegin=$(date +%Y-%m-%d)&restrictend=$(date +%Y-%m-%d)

响应格式

json
{
row_headers: [排名, 花费时间(秒), 人数, 活动, 类别, 生产力],
rows: [[1, 3600, 1, VS Code, 编辑与 IDE, 2], ...]
}

将秒转换为小时:秒数 / 3600

提示

  • - 生产力脉冲 75 以上为良好,85 以上为优秀
  • 类别视图有助于观察宏观模式
  • 使用 interval 视角配合 hour 参数进行时段分析
  • 数据每 3 分钟(高级版)或 30 分钟(免费版)同步一次

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 rescuetime-1776124501 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 rescuetime-1776124501 技能

通过命令行安装

skillhub install rescuetime-1776124501

下载

⬇ 下载 rescuetime v1.0.0(免费)

文件大小: 1.68 KB | 发布时间: 2026-4-15 14:09

v1.0.0 最新 2026-4-15 14:09
Initial release: productivity data, activity tracking, daily summaries
返回顶部