Auto-create and manage digital products on Whop.com. Manages product lifecycle from creation to checkout link generation. Uses Whop REST API v1 with Company...
记忆
WHOOP CLI for Agents
试用Use when operating the installed `whoop` CLI for agent-friendly WHOOP access, cross-platform secret storage checks, daily briefs, summaries, health flags, ac...
它能做什么
Use when operating the installed `whoop` CLI for agent-friendly WHOOP access, cross-platform secret storage checks, daily briefs, summaries, health flags, activity trends, exports, or installing the bundled WHOOP agent skill into `~/.agents`, Codex, OpenClaw, or another agent skill directory.
技能文档
whoop-cli
Use the installed whoop command.
Security + Credential Handling
- Never ask users to paste long-lived client secrets or tokens into chat.
- For first-time auth, have the user run login locally in their own shell.
- macOS default secret storage is macOS Keychain.
- Linux/OpenClaw preferred secret storage is 1Password CLI with a service account.
- Linux/OpenClaw simple fallback is explicit
local-vpsstorage with--accept-local-vps-risk. - Profile JSON at
~/.whoop-cli/profiles/.jsonstores non-secret metadata only. - Keychain access uses macOS Security APIs through
/usr/bin/swift; do not replace this with command-line secret arguments. - If
/usr/bin/swiftis unavailable, tell the user to install Apple Command Line Tools withxcode-select --install. - If a sandboxed agent shell cannot access macOS Keychain, rerun the
whoopcommand with normal user permissions; do not use secret-bearing command-line arguments as a fallback. - After login, regular read commands should not need passwords or Touch ID.
- If macOS asks for "password data for new item" during login, stop and update or reinstall
whoop; the CLI should write Keychain items non-interactively. - On Linux, do not silently fall back to plaintext profile JSON. Use
onepasswordor explicitlocal-vps. - Do not send long-lived 1Password service-account tokens through Telegram. In simple
local-vpssetup, the expected Telegram handoff is the short-lived WHOOP auth URL and redirected callback URL. - Prefer read-only operational commands in agent flows:
summary,day-brief,health,trend, andsync pull. - Do not run
whoop auth loginunless the user explicitly asks for login help.
Install / Bootstrap
If whoop is missing:
npm install -g @andreasnlarsen/whoop-cli@0.5.2
Install this bundled skill for local Codex/agent use:
whoop skill install --target agents --force
That writes ~/.agents/skills/whoop-cli/SKILL.md and links it into ~/.codex/skills/whoop-cli.
Install for OpenClaw when needed:
whoop skill install --target openclaw --force
Install to another skill directory:
whoop skill install --target path --skill-dir /path/to/skills/whoop-cli --force
Core Checks
whoop auth status --json- If unauthenticated, ask the user to run local login:
- macOS:
whoop auth login - Linux/OpenClaw recommended:
whoop auth login --secret-storage onepassword --op-vault ... --op-item ... - Telegram-only/simple Linux VPS:
whoop auth login --secret-storage local-vps --accept-local-vps-risk - Prefer the interactive hidden client-secret prompt when a human is present.
- Use one-time env/secret-manager injection only when automation requires it.
- macOS:
- Validate:
whoop summary --json --prettywhoop day-brief --json --pretty
Useful Commands
- Daily:
whoop summary --json --prettywhoop day-brief --json --prettywhoop strain-plan --json --prettywhoop health flags --days 7 --json --pretty
- Activity analysis:
whoop activity list --days 30 --json --prettywhoop activity trend --days 30 --json --prettywhoop activity types --days 30 --json --pretty- training-only:
whoop activity trend --days 30 --labeled-only --json --pretty
- Export:
whoop sync pull --start YYYY-MM-DD --end YYYY-MM-DD --out ./whoop.jsonl --json --pretty
Activity Interpretation Guardrail
- WHOOP generic
activityrows, oftensport_id=-1, are auto-detected and may be unlabeled movement such as housework or incidental activity, not intentional training. - Do not treat generic
activityas confirmed training volume by default. - For coaching or training recommendations, default to
--labeled-onlyand report total versus filtered counts.
Agent Filtering Pattern
- 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
jqis available, filter shell-side from raw JSON:
whoop activity list --days 30 --json | jq '.data.records | map(select(.sport_id != -1))'
Experiment Protocol
- Canonical state:
~/.whoop-cli/experiments.jsononly. - Plan experiments with context at creation time:
whoop experiment plan --name ... --behavior ... --start-date YYYY-MM-DD [--end-date YYYY-MM-DD] --description ... --why ... --hypothesis ... --success-criteria ... --protocol ... --json --pretty
- Update context without creating duplicate state:
whoop experiment context --id ... [--description ... --why ... --hypothesis ... --success-criteria ... --protocol ...] --json --pretty
- Check lifecycle/status with:
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
--profileonly. - Use
--all-profilesonly when cross-profile visibility is explicitly needed. - Prefer output field
sourceOfTruth;experimentsFileis 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.
- Treat
local-vpsas a deliberate lower-security mode: it prevents accidental repo/chat/log exposure but not VPS compromise. - Keep API errors concise and actionable.
- Treat this integration as unofficial and not affiliated with WHOOP.
相关技能
按命令族和 profile 选择合适的 OpenClaw CLI 命令,并校验执行结果。
改任何文件前先看 diff、备份、等用户确认,安全升级已安装的代理技能。
Source and send relevant reaction GIFs in WhatsApp chats using safe filters and deterministic ranking. Use when the user asks for a GIF/meme/reaction, or whe...
Use Social Flow as an agentic control plane for Meta operations via the installed `social` CLI and Gateway API. Ideal when the user asks for multi-step execu...
Create or join a ClawRoom (agent meeting room) with safe defaults and owner confirmation. Use when the user mentions ClawRoom, agent meetings, or multi-agent...