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

whoop-openclaw-skillwhoop OpenClaw 技能

Agent Skill

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

总安装

16,597

周安装

678

GitHub Stars

2

下载量

5,370
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install whoop-openclaw-skill

简介

whoop-openclaw-skill 调用 Whoop API 获取恢复、应变与睡眠分析报告。

  • 帮助 OpenClaw 响应用户关于健康状态的查询并提供建议。
  • 返回 JSON 格式原始数据便于进一步处理或展示。
  • 通过 clawhub 安装,需注册 Whoop 开发者门户获取 client ID。
  • 建议缓存常用查询结果减少重复请求提升响应速度。

SKILL.md

name
whoop
description
Fetch and analyze Whoop recovery, strain, sleep, and HRV data via the Whoop API. Use when the user asks about their Whoop metrics, recovery status, sleep quality, daily strain, HRV trends, workout data, or wants health/training insights based on Whoop data. Also use for daily morning briefings, weekly analysis, trend tracking, or real-time health alerts.

Whoop Integration

Interact with the Whoop API to fetch and analyze recovery, strain, sleep, HRV, and workout data.

Quick Start

First-time Setup

Prerequisites:

  • Python 3.7+
  • requests library: pip install requests

Step 1: Create Whoop Developer App

  1. Go to https://app.whoop.com/ → Settings → Developer
  2. Click "Create Application"
  3. Fill in the required fields:

- Application Name: Your choice (e.g., "Personal Whoop Assistant") - Privacy Policy URL: You need a public URL (see options below) - Redirect URI: You need a callback URL (see options below) - Webhook URL: Leave blank (optional for basic usage)

  1. Save your Client ID and Client Secret (keep these private!)

Privacy Policy & Redirect URI Options:

*Option A - Quick GitHub Pages Setup:*

  1. Create a GitHub repo (e.g., whoop-oauth)
  2. Add the privacy/redirect HTML files from references/oauth-pages/
  3. Enable GitHub Pages in repo settings
  4. Use URLs like:

- Privacy: https://yourusername.github.io/whoop-oauth/privacy.html - Redirect: https://yourusername.github.io/whoop-oauth/redirect.html

*Option B - Use your own domain:*

  • Host the HTML files on your existing website

*Option C - Local testing only:*

  • Privacy: http://localhost/privacy.html (Whoop may not accept this)
  • Redirect: http://localhost:8080/callback

Step 2: Complete OAuth Flow

  1. Create whoop-config.json with your app credentials:
   {
     "client_id": "your-client-id-here",
     "client_secret": "your-client-secret-here",
     "redirect_uri": "https://yourusername.github.io/whoop-oauth/redirect.html"
   }
  1. Generate authorization URL and authorize:
   python3 scripts/whoop_oauth.py --config whoop-config.json
  1. Click the authorization URL, log in to Whoop, and authorize
  1. Copy the authorization code from the redirect page
  1. Exchange code for access token:
   python3 scripts/whoop_oauth.py --config whoop-config.json exchange <CODE>
  1. Token is automatically saved to ~/.whoop_token

Step 3: Test Connection

python3 scripts/whoop_client.py --action profile

You should see your Whoop profile information!

Common Commands

Today's summary (recovery + sleep + strain):

python3 scripts/whoop_client.py --action today

Specific metrics:

# Recovery data (last 7 days)
python3 scripts/whoop_client.py --action recovery --days 7

# Sleep data
python3 scripts/whoop_client.py --action sleep --days 7

# Cycle data (strain, HRV, calories)
python3 scripts/whoop_client.py --action cycle --days 7

# Workout history
python3 scripts/whoop_client.py --action workout --days 10

Get raw JSON (for parsing/analysis):

python3 scripts/whoop_client.py --action today --json

Analysis Workflows

Morning Briefing

  1. Fetch today's data:
   python3 scripts/whoop_client.py --action today --json
  1. Analyze and provide insights:

- Recovery score: Green (67-100%), Yellow (34-66%), Red (0-33%) - HRV: Compare to user's baseline (track trends, not absolute values) - Sleep: Check duration, quality, debt/credit - Recommendations: Based on recovery, suggest high/moderate/low strain day

Example briefing:

"🔋 Recovery: 85% (Green) - Your body is well-recovered! 📊 HRV: 68ms (up 8% from baseline) ❤️ RHR: 52 bpm (stable) 😴 Sleep: 8.2 hours, 92% performance 💪 Ready for a high-strain day. Go crush that workout!"

Weekly Analysis

  1. Fetch week of data:
   python3 scripts/whoop_client.py --action recovery --days 7 --json
   python3 scripts/whoop_client.py --action sleep --days 7 --json
   python3 scripts/whoop_client.py --action cycle --days 7 --json
  1. Identify trends:

- HRV trend (increasing/decreasing) - Sleep consistency - Strain vs recovery balance - Patterns (e.g., low recovery after high strain days)

  1. Provide recommendations:

- Adjust training load - Improve sleep habits - Plan recovery days

Real-time Alerts

Monitor for warning signs:

  • HRV drops >20% from baseline → Consider rest day
  • Recovery <33% for 2+ consecutive days → Prioritize recovery
  • Sleep performance <50% for 3+ days → Focus on sleep
  • High strain (>17) with low recovery (<40%) → Risk of overtraining

Data Interpretation Guide

For detailed metric interpretation and optimal ranges, see references/whoop-api.md.

Key principles:

  • Track trends, not absolute values - HRV/RHR baselines vary by individual
  • Match strain to recovery - High recovery = can handle high strain
  • Consistency matters - Regular sleep schedule improves recovery
  • Listen to your body - Metrics are guides, not rules

Troubleshooting

Setup Issues

"Privacy Policy URL must be HTTPS":

  • Whoop requires HTTPS URLs (not HTTP)
  • Use GitHub Pages, Netlify, or your own HTTPS domain
  • Local URLs (localhost) won't work for production apps

"Redirect URI mismatch":

  • The redirect URI must match EXACTLY what you configured in Whoop
  • Check for trailing slashes, http vs https, etc.
  • Example: https://example.com/redirect.htmlhttps://example.com/redirect.html/

OAuth code expired:

  • Authorization codes expire quickly (usually within 10 minutes)
  • Generate a new auth URL and try again immediately

API Issues

401 Unauthorized:

  • Token expired → Re-run OAuth flow to get a new token
  • Invalid token → Check ~/.whoop_token file exists and contains valid token
  • Wrong scopes → Make sure you authorized all required scopes

404 Not Found (for sleep/cycle endpoints):

  • Some endpoints may not be available depending on API version
  • Check Whoop developer docs for current endpoint structure
  • Try fetching recovery data which includes sleep-related metrics

No data returned:

  • Whoop needs to be synced recently (open Whoop app to sync)
  • Check date range (data only available for dates when you wore Whoop)
  • New users may have limited historical data

Rate limit errors:

  • Default limits: 10,000/day, 100/minute
  • Spread out requests if hitting limits
  • Use pagination (next_token) for large data fetches

Data Issues

Missing metrics:

  • Some metrics require Whoop 4.0 (older devices have limited data)
  • Sleep data delayed ~1-2 hours after waking (processing time)
  • Recovery score requires previous night's sleep to be processed

Unexpected values:

  • HRV and RHR vary by individual - track trends, not absolute values
  • Recovery score can be affected by alcohol, illness, stress
  • Strain accumulates throughout the day (starts low in morning)

Getting Help

  1. Check Whoop Developer Docs: https://developer.whoop.com/
  2. Review your app settings: https://app.whoop.com/settings/developer
  3. Test with Whoop's API explorer (if available)
  4. Verify your token with --action profile (simplest endpoint)

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

76.34%
按下载量换算4,099

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

未展示

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills