Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计通过

whoop-tracker百日咳追踪器

Agent Skill

whoop-tracker 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

57,167

周安装

2,406

GitHub Stars

1

下载量

20,018
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:whoop-tracker(百日咳追踪器)
来源仓库:https://github.com/ijaack/whoop-tracker
安装命令:
openclaw skills install whoop-tracker
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install whoop-tracker

简介

通过 API 访问 WHOOP 健身追踪器数据,包括恢复分数、睡眠指标、锻炼统计数据、每日压力和身体测量数据。当用户询问其 WHOOP 数据、健身指标、恢复状态、睡眠质量、锻炼表现或想要跟踪健康趋势时使用。

SKILL.md

name
whoop
description
Access WHOOP fitness tracker data via API, including recovery scores, sleep metrics, workout stats, daily strain, and body measurements. Use when the user asks about their WHOOP data, fitness metrics, recovery status, sleep quality, workout performance, or wants to track health trends.

WHOOP API

Retrieve and analyze fitness data from WHOOP wearables via the official REST API.

Usage Snippet

# Install (if using Clawdhub)
clawdhub install whoop-tracker

# From the skill root:
python3 scripts/get_recovery.py --today
python3 scripts/get_sleep.py --last
python3 scripts/get_workouts.py --days 7
python3 scripts/get_profile.py

Prerequisites

  • Python 3.7+
  • requests library: pip3 install requests

(or run bash scripts/install.sh)

Quick Start

1. Register Application

  • Go to https://developer.whoop.com
  • Create a new app and note your client_id and client_secret
  • Set redirect URI (e.g., http://localhost:8080/callback)

2. Save Credentials

mkdir -p ~/.whoop
cat > ~/.whoop/credentials.json <<EOF
{
  "client_id": "YOUR_CLIENT_ID",
  "client_secret": "YOUR_CLIENT_SECRET"
}
EOF
chmod 600 ~/.whoop/credentials.json

3. Authorize (see references/oauth.md for full guide)

  • Open the authorization URL in browser
  • User grants permissions → redirected with code
  • Exchange code for tokens via WhoopClient.authenticate(code, redirect_uri)

4. Fetch Data

All scripts are run from the skill root directory:

# Today's recovery
python3 scripts/get_recovery.py --today

# Last night's sleep
python3 scripts/get_sleep.py --last

# Recent workouts
python3 scripts/get_workouts.py --days 7

# User profile
python3 scripts/get_profile.py

Core Data Types

Recovery

  • Recovery Score (0-100): Readiness for strain
  • HRV (RMSSD): Heart rate variability in milliseconds
  • Resting Heart Rate: Morning baseline HR
  • SPO2: Blood oxygen percentage
  • Skin Temperature: Deviation from baseline in °C

Sleep

  • Performance %: How well you slept vs. your sleep need
  • Duration: Total time in bed and per stage (REM, SWS, light, awake)
  • Efficiency %: Time asleep / time in bed
  • Consistency %: How consistent your sleep schedule is
  • Respiratory Rate: Breaths per minute
  • Sleep Needed/Debt: Baseline need and accumulated debt

Cycle (Daily Strain)

  • Strain Score: Cardiovascular load (0-21 scale)
  • Kilojoules: Energy expenditure
  • Average/Max Heart Rate: Daily HR metrics

Workout

  • Strain: Activity-specific strain score
  • Sport: Activity type (running, cycling, etc.)
  • Heart Rate Zones: Time spent in each of 6 zones
  • Distance/Altitude: GPS metrics (if available)

API Endpoints

Base URL: https://api.prod.whoop.com

See references/api-reference.md for full endpoint documentation with response schemas.

User Profile:

  • GET /v1/user/profile/basic — Name, email
  • GET /v1/user/body_measurement — Height, weight, max HR

Recovery:

  • GET /v1/recovery — All recovery data (paginated)
  • GET /v1/cycle/{cycleId}/recovery — Recovery for specific cycle

Sleep:

  • GET /v1/sleep — All sleep records (paginated)
  • GET /v1/sleep/{sleepId} — Specific sleep by ID
  • GET /v1/cycle/{cycleId}/sleep — Sleep for specific cycle

Cycle:

  • GET /v1/cycle — All physiological cycles (paginated)
  • GET /v1/cycle/{cycleId} — Specific cycle by ID

Workout:

  • GET /v1/workout — All workouts (paginated)
  • GET /v1/workout/{workoutId} — Specific workout by ID

All collection endpoints support start, end (ISO 8601), limit (max 25), and nextToken (pagination cursor).

Required OAuth Scopes

  • read:profile — User name and email
  • read:body_measurement — Height, weight, max HR
  • read:recovery — Recovery scores and HRV
  • read:sleep — Sleep metrics and stages
  • read:cycles — Daily strain data
  • read:workout — Activity and workout data

Scripts

scripts/whoop_client.py

Core API client. Features:

  • OAuth token storage and auto-refresh
  • Token expiry tracking (proactive refresh)
  • Rate limit handling (429 with retry)
  • Automatic pagination iterators (iter_recovery, iter_sleep, iter_cycles, iter_workouts)

scripts/get_recovery.py

python3 scripts/get_recovery.py --today              # Today's recovery
python3 scripts/get_recovery.py --days 7             # Past week
python3 scripts/get_recovery.py --start 2026-01-20   # From date
python3 scripts/get_recovery.py --json               # Raw JSON output

scripts/get_sleep.py

python3 scripts/get_sleep.py --last       # Last night
python3 scripts/get_sleep.py --days 7     # Past week
python3 scripts/get_sleep.py --json       # Raw JSON output

scripts/get_workouts.py

python3 scripts/get_workouts.py --days 7             # Past week
python3 scripts/get_workouts.py --sport running       # Filter by sport
python3 scripts/get_workouts.py --json                # Raw JSON output

scripts/get_profile.py

python3 scripts/get_profile.py            # Profile + body measurements
python3 scripts/get_profile.py --json     # Raw JSON output

scripts/install.sh

bash scripts/install.sh                   # Install pip dependencies + setup guide

Troubleshooting

"ModuleNotFoundError: No module named 'requests'"

Install dependencies: pip3 install requests or bash scripts/install.sh

"Credentials not found at ~/.whoop/credentials.json"

Create the file with your OAuth client_id and client_secret (see Quick Start step 2).

"Not authenticated"

Complete the OAuth authorization flow (see references/oauth.md).

"401 Unauthorized" after token refresh fails

Your refresh token has expired. Re-authorize from the authorization URL.

"429 Too Many Requests"

Rate limit hit. The client automatically retries after the Retry-After period.

Empty results

Check your date range — use --days 7 or wider range. Ensure your OAuth scopes include the data type you're requesting.

References

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

72.57%
按下载量换算14,527

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills