whoo-cli
بواسطة luisgot
Search & Researchموجز
Use the whoo CLI to retrieve and interpret WHOOP health data: recovery score, HRV, sleep quality, strain, SpO2.
الوصف
ما الذي تفعله هذه المهارة
Fetches personal health metrics from the WHOOP platform via a CLI tool called whoo. Returns recovery scores, HRV, sleep quality, strain, SpO2, and body measurements as formatted text or raw JSON. Requires a one-time OAuth setup with a WHOOP developer app.
Exposes WHOOP data in a scriptable CLI format, making it usable in agent workflows without requiring manual app navigation or a custom API integration.
متى تستخدمها
- Check today's recovery score before a workout
- Review 7-day sleep trend after a rough week
- Pull 30-day strain history for training load analysis
- Get body measurements and profile data on demand
- Verify readiness score before a race or competition
مثال على سير العمل
User asks: What's my recovery and sleep performance for the last 7 days?
- 1
Run
whoo sleep --limit 7 --jsonto fetch the last 7 sleep sessions - 2
Check each entry's
score_statefield — skip any not equal to "SCORED" - 3
Extract
sleeps[].score.sleep_performance_percentagefrom valid entries - 4
Run
whoo recovery --limit 7 --jsonand extractrecoveries[].score.recovery_score - 5
Summarize both metrics as a trend with min, max, and average values
A 7-day summary showing daily sleep performance percentages and recovery scores, with any pending or unscorable days noted
المتطلبات
- WHOOP developer account and OAuth app at developer.whoop.com
- WHOOP client_id and client_secret from the developer app
- Bun 1.3+ or npm for global CLI installation
التثبيت
clawhub install luisgot/whoo-cliشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.