WHOOP连接
whoop-connect
by belugary
Connect WHOOP wearable to OpenClaw — fetch and store recovery, sleep, HRV, strain, and workout data locally. Use when: user asks about recovery, sleep quality, HRV, heart rate, strain, workout stats, or any WHOOP data. NOT for: Apple Health, Oura, Garmin, or other non-WHOOP devices.
安装
claude skill add --url github.com/openclaw/skills/tree/main/skills/belugary/whoop-connect文档
whoop-connect
Connect your WHOOP band to OpenClaw so your agent can fetch your recovery, sleep, HRV, strain, and workout data.
Setup (once)
WHOOP does not have a public API. To access your own data, you need to register a personal developer app (free, takes 5 minutes). This gives you OAuth credentials so the skill can read your data on your behalf. All data stays local in ~/.whoop/whoop.db — nothing is uploaded anywhere.
- Register at https://developer.whoop.com (sign in with your WHOOP account, create an app, get Client ID and Client Secret). Full walkthrough:
{baseDir}/references/setup-guide.md - Set env vars:
WHOOP_CLIENT_ID,WHOOP_CLIENT_SECRET - First invocation auto-creates config and runs OAuth
When env vars are missing, explain to the user: "WHOOP requires a free developer account to access your data via API. It takes about 5 minutes — I can walk you through it step by step." Then follow {baseDir}/references/setup-guide.md.
If config missing: python3 {baseDir}/scripts/setup.py --init, then ask user's language and python3 {baseDir}/scripts/setup.py --set language=zh (or en).
If token missing: python3 {baseDir}/scripts/whoop_client.py auth.
If deps missing: bash {baseDir}/scripts/install.sh.
Common commands
- Today's recovery:
python3 {baseDir}/scripts/whoop_client.py recovery --days 1 - Last night's sleep:
python3 {baseDir}/scripts/whoop_client.py sleep --days 1 - Recent workouts:
python3 {baseDir}/scripts/whoop_client.py workout --days 7 - Weekly strain:
python3 {baseDir}/scripts/whoop_client.py cycle --days 7 - Multi-day summary:
python3 {baseDir}/scripts/whoop_client.py trends --days 7 - Single metric history:
python3 {baseDir}/scripts/db.py trends --metric <name> --days N - Profile:
python3 {baseDir}/scripts/whoop_client.py profile - Body measurements:
python3 {baseDir}/scripts/whoop_client.py body - Force sync:
python3 {baseDir}/scripts/daily_sync.py --days 2 - Start auto-sync daemon:
python3 {baseDir}/scripts/auto_sync.py - Single sync check:
python3 {baseDir}/scripts/auto_sync.py --once - Auto-sync with custom interval:
python3 {baseDir}/scripts/auto_sync.py --interval 10
Use --json for raw data when combining multiple queries. Use --days N to match user's time range ("this week" = 7, "this month" = 30).
Available metrics: recovery_score, hrv, resting_hr, spo2, skin_temp, strain, sleep_duration, sleep_efficiency, sleep_performance, respiratory_rate
Settings
- Change setting:
python3 {baseDir}/scripts/setup.py --set <key>=<value> - Show config:
python3 {baseDir}/scripts/setup.py --show - Re-run wizard:
python3 {baseDir}/scripts/setup.py
Keys: language (en/zh), detail_level (compact/detailed), units (metric/imperial), push_recovery, push_sleep, push_workout, webhook_enabled (bool), webhook_port (int), sync_interval (int, minutes — polling interval when webhook is off, default 5), sync_interval_webhook (int, minutes — fallback interval when webhook is on, default 20), daily_api_limit (int, default 10000)
Users may change settings in natural language (e.g. "switch to Chinese", "use detailed mode"). Map to --set accordingly.
Auto-sync
The skill supports automatic data syncing with adaptive intervals:
- No webhook: polls WHOOP API every
sync_intervalminutes (default 5) as the primary data source - Webhook enabled: webhook delivers real-time events; auto-sync polls every
sync_interval_webhookminutes (default 20) as fallback - Dedup: only new, scored records trigger notifications; already-seen data is silently skipped
- API guard: tracks daily API calls and pauses when
daily_api_limit(default 10,000) is reached - Start daemon:
python3 {baseDir}/scripts/auto_sync.py - Single check:
python3 {baseDir}/scripts/auto_sync.py --once
Webhook (optional)
For real-time push, set up webhooks — see {baseDir}/references/setup-guide.md § "Optional: Webhook Setup". Set webhook_enabled=true in config. The webhook server writes a heartbeat file so auto-sync can detect if webhook is healthy and reduce polling frequency automatically.
Notes
- Never fabricate health data. If a command returns empty or errors, say so.
- Never expose WHOOP_CLIENT_ID, WHOOP_CLIENT_SECRET, or token contents in output.
- Never delete DB files or config without explicit user confirmation.
- Confirm before changing user settings.
- Respect
languageanddetail_levelfrom config. - If WHOOP API returns 429, the client auto-retries. Do not flood.
Troubleshooting
ModuleNotFoundError:bash {baseDir}/scripts/install.shWHOOP_CLIENT_ID must be set: check env varsNo refresh token:python3 {baseDir}/scripts/whoop_client.py auth401 Unauthorized: re-authorize withauth500 Server Error: transient WHOOP-side issue, retry in a few minutes- Empty results: widen
--days; data may not be scored yet
References
{baseDir}/references/setup-guide.md— New user onboarding + webhook setup{baseDir}/references/api-reference.md— WHOOP API v2 field documentation{baseDir}/references/webhook-events.md— Webhook event types and payload format- WHOOP Developer Docs: https://developer.whoop.com/docs/developing/user-data/recovery
- WHOOP API Reference: https://developer.whoop.com/api
相关 Skills
Slack动图
by anthropics
面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。
✎ 帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。
MCP构建
by anthropics
聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。
✎ 想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。
接口测试套件
by alirezarezvani
扫描 Next.js、Express、FastAPI、Django REST 的 API 路由,自动生成覆盖鉴权、参数校验、错误码、分页、上传与限流场景的 Vitest 或 Pytest 测试套件。
✎ 帮你把API与集成测试自动化跑顺,减少回归漏测;能力全面,尤其适合复杂接口场景的QA团队。
相关 MCP 服务
Slack 消息
编辑精选by Anthropic
Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。
✎ 这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。
by netdata
io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。
✎ 这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。
by d4vinci
Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。
✎ 这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。