返回顶部
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
安全检测
已通过
4,320
下载量
免费
免费
1
收藏
概述
安装方式
版本历史

rescuetime

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

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部