跳到正文
TakoAPI
返回技能列表

whoo-cli

由 luisgot 提供

Search & Research
335下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Run whoo sleep --limit 7 --json to fetch the last 7 sleep sessions

  2. 2

    Check each entry's score_state field — skip any not equal to "SCORED"

  3. 3

    Extract sleeps[].score.sleep_performance_percentage from valid entries

  4. 4

    Run whoo recovery --limit 7 --json and extract recoveries[].score.recovery_score

  5. 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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接