whoop-morning

Review·Scanned 2/17/2026

This skill fetches WHOOP recovery/sleep/strain and generates morning suggestions. It instructs running /home/claw/clawd/skills/whoop-morning/bin/whoop-auth and /home/claw/clawd/skills/whoop-morning/bin/whoop-morning, reads/writes ~/.clawdbot/.env and ${process.env.HOME || '/home/claw'}/.cache/whoop-morning/tokens.json, and calls https://api.prod.whoop.com/oauth/oauth2/token.

from clawhub.ai·v15d172a·2.5 KB·0 installs
Scanned from 0.1.1 at 15d172a · Transparency log ↗
$ vett add clawhub.ai/borahm/whoop-morningReview findings below

whoop-morning

Morning WHOOP check-in:

  • fetches your latest WHOOP data (Recovery, Sleep, Cycle/Strain)
  • generates a short set of suggestions for the day

Setup

1) Create WHOOP OAuth credentials

You already have:

  • WHOOP_CLIENT_ID
  • WHOOP_CLIENT_SECRET

Store these in ~/.clawdbot/.env.

2) Authorize once (get refresh token)

Run:

/home/claw/clawd/skills/whoop-morning/bin/whoop-auth --scopes offline read:recovery read:sleep read:cycles read:profile

This prints an authorization URL. Open it in your browser, approve, and paste the code back into the terminal.

The script will exchange it for tokens and write WHOOP_REFRESH_TOKEN=... to ~/.clawdbot/.env.

3) Run the morning report

/home/claw/clawd/skills/whoop-morning/bin/whoop-morning

Automation

Recommended: schedule with Gateway cron (daily, morning). The cron job should run whoop-morning and send its output as a message.

Notes

  • This skill uses WHOOP OAuth2:
    • auth URL: https://api.prod.whoop.com/oauth/oauth2/auth
    • token URL: https://api.prod.whoop.com/oauth/oauth2/token
  • WHOOP rotates refresh tokens; avoid running multiple refreshes in parallel.
  • API availability/fields can change; if WHOOP returns 401/400 during token refresh, re-run whoop-auth.