搜索

PythonReactSEOPDF
OpenClaw

Whoop Cli

whoop cli

andreasnlarsen0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install andreasnlarsen/whoop-cli

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

whoop-cli

Use the installed whoop command.

Security + credential handling (required)

  • Never ask users to paste client secrets/tokens into chat.
  • For first-time auth, the user should run login locally on their own shell.
  • Prefer read-only operational commands in agent flows (summary, day-brief, health, trend, sync pull).
  • Do not run whoop auth login unless the user explicitly asks for login help.
  • Tokens are stored locally at ~/.whoop-cli/profiles/<profile>.json by the CLI.

Install / bootstrap

If whoop is missing:

npm install -g @andreasnlarsen/whoop-cli@0.3.1

Optional OpenClaw skill install from package bundle:

whoop openclaw install-skill --force

Core checks

  1. whoop auth status --json
  2. If unauthenticated, ask the user to run local login:
    • whoop auth login --client-id ... --client-secret ... --redirect-uri ...
  3. Validate:
    • whoop day-brief --json --pretty

Useful commands

  • Daily:
    • whoop summary --json --pretty
    • whoop day-brief --json --pretty
    • whoop strain-plan --json --pretty
    • whoop health flags --days 7 --json --pretty
  • Activity analysis:
    • whoop activity list --days 30 --json --pretty
    • whoop activity trend --days 30 --json --pretty
    • whoop activity types --days 30 --json --pretty
    • training-only: whoop activity trend --days 30 --labeled-only --json --pretty
Activity interpretation guardrail (important)
  • WHOOP generic activity rows (often sport_id=-1) are auto-detected and may be unlabeled movement (housework/incidental activity), not intentional training.
  • Do not treat generic activity as confirmed training volume by default.
  • For coaching/training recommendations, default to --labeled-only and report both total vs filtered counts.
Agent filtering pattern (jq-friendly)
  • Canonical source: whoop activity list --json
  • Prefer built-in filters first (--labeled-only, --generic-only, --sport-id, `--sport-nam...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/andreasnlarsen/whoop-cli
Version
—
Commit
f1dedaba538690733bdf9faa789ba74816f1aaae
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# whoop-cli

Use the installed `whoop` command.

## Security + credential handling (required)

- Never ask users to paste client secrets/tokens into chat.
- For first-time auth, the user should run login **locally on their own shell**.
- Prefer read-only operational commands in agent flows (`summary`, `day-brief`, `health`, `trend`, `sync pull`).
- Do not run `whoop auth login` unless the user explicitly asks for login help.
- Tokens are stored locally at `~/.whoop-cli/profiles/<profile>.json` by the CLI.

## Install / bootstrap

If `whoop` is missing:

```bash
npm install -g @andreasnlarsen/whoop-cli@0.3.1
```

Optional OpenClaw skill install from package bundle:

```bash
whoop openclaw install-skill --force
```

## Core checks

1. `whoop auth status --json`
2. If unauthenticated, ask the user to run local login:
   - `whoop auth login --client-id ... --client-secret ... --redirect-uri ...`
3. Validate:
   - `whoop day-brief --json --pretty`

## Useful commands

- Daily:
  - `whoop summary --json --pretty`
  - `whoop day-brief --json --pretty`
  - `whoop strain-plan --json --pretty`
  - `whoop health flags --days 7 --json --pretty`
- Activity analysis:
  - `whoop activity list --days 30 --json --pretty`
  - `whoop activity trend --days 30 --json --pretty`
  - `whoop activity types --days 30 --json --pretty`
  - training-only: `whoop activity trend --days 30 --labeled-only --json --pretty`

### Activity interpretation guardrail (important)

- WHOOP generic `activity` rows (often `sport_id=-1`) are auto-detected and may be unlabeled movement (housework/incidental activity), not intentional training.
- Do not treat generic `activity` as confirmed training volume by default.
- For coaching/training recommendations, default to `--labeled-only` and report both total vs filtered counts.

### Agent filtering pattern (jq-friendly)

- Canonical source: `whoop activity list --json`
- Prefer built-in filters first (`--labeled-only`, `--generic-only`, `--sport-id`, `--sport-nam...

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.