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

WHOOP

WHOOP morning check-in (recovery/sleep/strain) with suggestions.

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

技能说明


name: whoop description: WHOOP morning check-in (recovery/sleep/strain) with suggestions. metadata: clawdbot: config: requiredEnv: - WHOOP_CLIENT_ID - WHOOP_CLIENT_SECRET - WHOOP_REFRESH_TOKEN

whoop

WHOOP morning check-in:

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

Quick Start (User + Bot)

What the user does (one-time)

  1. Create a WHOOP app and get credentials:
  • WHOOP_CLIENT_ID
  • WHOOP_CLIENT_SECRET
  1. In the WHOOP developer dashboard, set Redirect URL:
  • https://localhost:3000/callback
  1. Put secrets into ~/.clawdbot/.env:
WHOOP_CLIENT_ID=...
WHOOP_CLIENT_SECRET=...
  1. Authorize once (get refresh token):
node /home/claw/clawd/skills/whoop/bin/whoop-auth --redirect-uri https://localhost:3000/callback
  • Open the printed URL on your phone/browser
  • Tap Allow/Authorize
  • Copy the code from the callback URL and paste it back

This writes WHOOP_REFRESH_TOKEN=... into ~/.clawdbot/.env.

What the bot does (each run)

Run:

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

Then send the output back to the user.

Automation (daily)

Recommended: schedule with Gateway cron (daily morning).

  • Command: node /home/claw/clawd/skills/whoop/bin/whoop-morning
  • Bot should send the output as a message.

Notes

  • OAuth endpoints:
    • auth: https://api.prod.whoop.com/oauth/oauth2/auth
    • token: https://api.prod.whoop.com/oauth/oauth2/token
  • Requires offline scope to receive refresh tokens.
  • WHOOP rotates refresh tokens; the newest refresh token must be saved.

如何使用「WHOOP」?

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

相关技能