Install
openclaw skills install rescuetimeFetch 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.
openclaw skills install rescuetimeFetch productivity analytics from the RescueTime API.
Store API key in TOOLS.md:
### RescueTime
- API Key: YOUR_KEY_HERE
Get a key at: https://www.rescuetime.com/anapi/manage
curl "https://www.rescuetime.com/anapi/data?key=API_KEY&format=json&perspective=rank&restrict_kind=activity"
Parameters:
perspective: rank, interval, memberrestrict_kind: category, activity, productivity, efficiency, documentinterval: month, week, day, hour (only for interval perspective)restrict_begin / restrict_end: YYYY-MM-DDrestrict_thing: filter to specific app/site/categorycurl "https://www.rescuetime.com/anapi/daily_summary_feed?key=API_KEY"
Returns last 14 days with productivity_pulse (0-100), total_hours, categories.
Today's activity by app:
curl "https://www.rescuetime.com/anapi/data?key=API_KEY&format=json&perspective=rank&restrict_kind=activity&restrict_begin=$(date +%Y-%m-%d)&restrict_end=$(date +%Y-%m-%d)"
Productivity breakdown:
curl "https://www.rescuetime.com/anapi/data?key=API_KEY&format=json&perspective=rank&restrict_kind=productivity"
By category:
curl "https://www.rescuetime.com/anapi/data?key=API_KEY&format=json&perspective=rank&restrict_kind=category"
Hourly breakdown today:
curl "https://www.rescuetime.com/anapi/data?key=API_KEY&format=json&perspective=interval&restrict_kind=productivity&interval=hour&restrict_begin=$(date +%Y-%m-%d)&restrict_end=$(date +%Y-%m-%d)"
{
"row_headers": ["Rank", "Time Spent (seconds)", "Number of People", "Activity", "Category", "Productivity"],
"rows": [[1, 3600, 1, "VS Code", "Editing & IDEs", 2], ...]
}
Convert seconds to hours: seconds / 3600