# Send Whoop Openclaw Skill to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "whoop-openclaw-skill",
    "name": "Whoop Openclaw Skill",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/vraj1512/whoop-openclaw-skill",
    "canonicalUrl": "https://clawhub.ai/vraj1512/whoop-openclaw-skill",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/whoop-openclaw-skill",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=whoop-openclaw-skill",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/whoop_oauth.py",
      "scripts/morning_briefing.py",
      "scripts/whoop_client.py",
      "references/whoop-api.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/whoop-openclaw-skill"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/whoop-openclaw-skill",
    "downloadUrl": "https://openagent3.xyz/downloads/whoop-openclaw-skill",
    "agentUrl": "https://openagent3.xyz/skills/whoop-openclaw-skill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/whoop-openclaw-skill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/whoop-openclaw-skill/agent.md"
  }
}
```
## Documentation

### Whoop Integration

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

### First-time Setup

Prerequisites:

Python 3.7+
requests library: pip install requests

Step 1: Create Whoop Developer App

Go to https://app.whoop.com/ → Settings → Developer
Click "Create Application"
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)


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

Privacy Policy & Redirect URI Options:

Option A - Quick GitHub Pages Setup:

Create a GitHub repo (e.g., whoop-oauth)
Add the privacy/redirect HTML files from references/oauth-pages/
Enable GitHub Pages in repo settings
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

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"
}



Generate authorization URL and authorize:
python3 scripts/whoop_oauth.py --config whoop-config.json



Click the authorization URL, log in to Whoop, and authorize


Copy the authorization code from the redirect page


Exchange code for access token:
python3 scripts/whoop_oauth.py --config whoop-config.json exchange <CODE>



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

### Morning Briefing

Fetch today's data:
python3 scripts/whoop_client.py --action today --json



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

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



Identify trends:

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



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

### 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.html ≠ https://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

Check Whoop Developer Docs: https://developer.whoop.com/
Review your app settings: https://app.whoop.com/settings/developer
Test with Whoop's API explorer (if available)
Verify your token with --action profile (simplest endpoint)
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: vraj1512
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-05-07T17:22:31.273Z
- Expires at: 2026-05-14T17:22:31.273Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/whoop-openclaw-skill)
- [Send to Agent page](https://openagent3.xyz/skills/whoop-openclaw-skill/agent)
- [JSON manifest](https://openagent3.xyz/skills/whoop-openclaw-skill/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/whoop-openclaw-skill/agent.md)
- [Download page](https://openagent3.xyz/downloads/whoop-openclaw-skill)