← 返回 Skills 市场
212
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-slug
功能描述
Connect to the WHOOP Developer Platform via official OAuth (authorization code flow), store and refresh tokens, and fetch WHOOP v2 data (recovery, sleep, cyc...
安全使用建议
This skill appears to be what it says: an official WHOOP OAuth client and data fetcher. Before installing, make sure you: (1) supply WHOOP_CLIENT_ID, WHOOP_CLIENT_SECRET, and WHOOP_REDIRECT_URI via environment variables (the registry metadata currently doesn't list these, so the omission is just a bookkeeping mismatch), (2) are comfortable storing OAuth tokens and refresh tokens on the host at the default token path (~/.config/openclaw/whoop/token.json) or set WHOOP_TOKEN_PATH to a secure location, (3) protect the client secret and token file (file permissions and host security), and (4) review the bundled scripts if you want to confirm there are no changes from an official source. If you plan to schedule cron pushes, ensure the cron job's destination channel parameter is correct and that you trust the machine running scheduled jobs. If any of these points are unacceptable, do not install or run the skill until addressed.
功能分析
Type: OpenClaw Skill
Name: openclaw-slug
Version: 0.1.0
The WHOOP skill bundle is a standard and well-implemented API integration. It facilitates OAuth 2.0 authorization, data fetching, and normalization for WHOOP health metrics. The scripts (whoop_fetch.py, whoop_token.py, etc.) use Python's standard library to interact exclusively with official WHOOP endpoints (api.prod.whoop.com), and token storage is handled securely using restricted file permissions (0o600). No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
The skill is clearly a WHOOP OAuth + data-fetcher/renderer: the code calls WHOOP endpoints and implements OAuth/token refresh, normalization, and rendering. However, the registry metadata declares no required environment variables while the SKILL.md and scripts require WHOOP_CLIENT_ID, WHOOP_CLIENT_SECRET, and WHOOP_REDIRECT_URI — an inconsistency in metadata (not a functional problem but worth correcting).
Instruction Scope
SKILL.md stays on-topic: it instructs OAuth login, fetching, normalizing, rendering, and optionally sending messages via the platform's message tool. The scripts only access WHOOP APIs and a local token file; there are no instructions to read unrelated system files or exfiltrate data to third-party endpoints.
Install Mechanism
No install spec or external downloads are present; all code is bundled in the skill and uses only the Python standard library (urllib, json, etc.). There are no third-party package installs or remote payloads, which keeps installation risk low.
Credentials
The environment variables requested by the scripts (WHOOP_CLIENT_ID, WHOOP_CLIENT_SECRET, WHOOP_REDIRECT_URI, optional WHOOP_TOKEN_PATH, WHOOP_TZ) are appropriate for an OAuth client. Note that the registry's required-env list is empty while SKILL.md and scripts require secrets; also the skill writes OAuth tokens (access/refresh) to a local file (~/.config/openclaw/whoop/token.json by default), so protecting that file and the client secret is necessary.
Persistence & Privilege
The skill does not request always:true and does not modify other skills or global agent settings. It persists tokens to its own config path and sets file mode 0600 when possible; this is normal for an OAuth integration. Autonomous invocation is allowed by default (platform norm) but not an extra privilege in this package.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install openclaw-slug - 安装完成后,直接呼叫该 Skill 的名称或使用
/openclaw-slug触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release: WHOOP OAuth login, token refresh, fetch with start/end + nextToken pagination, daily normalization using requested UTC day-range, and channel-aware rendering (discord/slack/whatsapp/telegram/generic).
元数据
常见问题
WHOOP (Official API) 是什么?
Connect to the WHOOP Developer Platform via official OAuth (authorization code flow), store and refresh tokens, and fetch WHOOP v2 data (recovery, sleep, cyc... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 212 次。
如何安装 WHOOP (Official API)?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-slug」即可一键安装,无需额外配置。
WHOOP (Official API) 是免费的吗?
是的,WHOOP (Official API) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
WHOOP (Official API) 支持哪些平台?
WHOOP (Official API) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 WHOOP (Official API)?
由 Gavin C.(@gavinchengcool)开发并维护,当前版本 v0.1.0。
推荐 Skills