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-name).
If custom slicing is needed and jq is available, filter shell-side from raw JSON (example):
whoop experiment status [--status planned|running|completed] [--id ...] --json --pretty
Evaluate outcomes with:
whoop experiment report --id ... --json --pretty
Profile scope is strict by default (active --profile only).
Use --all-profiles only when cross-profile visibility is explicitly needed.
Prefer output field sourceOfTruth (path to canonical state file); experimentsFile is kept as compatibility alias.
Avoid duplicating experiment state into other files unless the user explicitly asks for separate notes.
Safety
Never print client secrets or raw tokens.
Keep API errors concise and actionable.
Treat this integration as unofficial/non-affiliated.
1---2name: whoop-cli3description: whoop-cli4---56# whoop-cli78Use the installed `whoop` command.910## Security + credential handling (required)1112- Never ask users to paste client secrets/tokens into chat.13- For first-time auth, the user should run login **locally on their own shell**.14- Prefer read-only operational commands in agent flows (`summary`, `day-brief`, `health`, `trend`, `sync pull`).15- Do not run `whoop auth login` unless the user explicitly asks for login help.16- Tokens are stored locally at `~/.whoop-cli/profiles/<profile>.json` by the CLI.1718## Install / bootstrap1920If `whoop` is missing:2122```bash23npm install -g @andreasnlarsen/whoop-cli@0.3.124```2526Optional OpenClaw skill install from package bundle:2728```bash29whoop openclaw install-skill --force30```3132## Core checks33341. `whoop auth status --json`352. If unauthenticated, ask the user to run local login:36 - `whoop auth login --client-id ... --client-secret ... --redirect-uri ...`373. Validate:38 - `whoop day-brief --json --pretty`3940## Useful commands4142- Daily:43 - `whoop summary --json --pretty`44 - `whoop day-brief --json --pretty`45 - `whoop strain-plan --json --pretty`46 - `whoop health flags --days 7 --json --pretty`47- Activity analysis:48 - `whoop activity list --days 30 --json --pretty`49 - `whoop activity trend --days 30 --json --pretty`50 - `whoop activity types --days 30 --json --pretty`51 - training-only: `whoop activity trend --days 30 --labeled-only --json --pretty`5253### Activity interpretation guardrail (important)5455- WHOOP generic `activity` rows (often `sport_id=-1`) are auto-detected and may be unlabeled movement (housework/incidental activity), not intentional training.56- Do not treat generic `activity` as confirmed training volume by default.57- For coaching/training recommendations, default to `--labeled-only` and report both total vs filtered counts.5859### Agent filtering pattern (jq-friendly)6061- Canonical source: `whoop activity list --json`62- Prefer built-in filters first (`--labeled-only`, `--generic-only`, `--sport-id`, `--sport-name`).63- If custom slicing is needed and `jq` is available, filter shell-side from raw JSON (example):6465```bash66whoop activity list --days 30 --json | jq '.data.records | map(select(.sport_id != -1))'67```6869- Export:70 - `whoop sync pull --start YYYY-MM-DD --end YYYY-MM-DD --out ./whoop.jsonl --json --pretty`7172## Experiment protocol (agent-required)7374- Canonical state: `~/.whoop-cli/experiments.json` only.75- Plan experiments with context at creation time:76 - `whoop experiment plan --name ... --behavior ... --start-date YYYY-MM-DD [--end-date YYYY-MM-DD] --description ... --why ... --hypothesis ... --success-criteria ... --protocol ... --json --pretty`77- Update context without creating duplicate state:78 - `whoop experiment context --id ... [--description ... --why ... --hypothesis ... --success-criteria ... --protocol ...] --json --pretty`79- Check lifecycle/status with:80 - `whoop experiment status [--status planned|running|completed] [--id ...] --json --pretty`81- Evaluate outcomes with:82 - `whoop experiment report --id ... --json --pretty`83- Profile scope is strict by default (active `--profile` only).84 - Use `--all-profiles` only when cross-profile visibility is explicitly needed.85- Prefer output field `sourceOfTruth` (path to canonical state file); `experimentsFile` is kept as compatibility alias.86- Avoid duplicating experiment state into other files unless the user explicitly asks for separate notes.8788## Safety8990- Never print client secrets or raw tokens.91- Keep API errors concise and actionable.92- Treat this integration as unofficial/non-affiliated.
Run npx skillmds@latest add johnalbertini14-glitch/whoop-cli in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
whoop-cli It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
johnalbertini14-glitch (@johnalbertini14-glitch) published this skill. Their other Agent Skills are listed on their SkillMD profile.