跳至主要内容
小龙虾小龙虾AI
🤖

WHOOP Morning

Check WHOOP recovery/sleep/strain each morning and send suggestions.

下载1.6k
星标0
版本0.1.1
健康医疗
安全通过

技能说明


name: whoop-morning description: Check WHOOP recovery/sleep/strain each morning and send suggestions. metadata: clawdbot: config: requiredEnv: - WHOOP_CLIENT_ID - WHOOP_CLIENT_SECRET - WHOOP_REFRESH_TOKEN

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.

如何使用「WHOOP Morning」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「WHOOP Morning技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能