闲社服务运行正常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:排名、区间、成员
  • restrictkind:类别、活动、生产力、效率、文档
  • 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+为优秀
  • 类别视图有助于观察宏观模式
  • 使用区间视角配合小时参数进行时段分析
  • 数据每3分钟(高级版)或30分钟(免费版)同步一次

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 rescuetime-1776363296 技能

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

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

通过命令行安装

skillhub install rescuetime-1776363296

下载

⬇ 下载 rescuetime v1.0.0(免费)

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

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