← 返回 Skills 市场
gavinchengcool

Strava (Official API)

作者 Gavin C. · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ✓ 安全检测通过
435
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install openclaw-strava
功能描述
Official Strava OAuth integration for OpenClaw. Use to connect/authorize Strava, store+refresh tokens, and fetch workout/activity data (runs/rides/etc.) for...
安全使用建议
This skill appears to do exactly what it claims: perform Strava OAuth, store/refresh a token, and fetch/normalize activities. Before installing: 1) verify you trust the skill source (homepage is missing and registry metadata omitted required env vars), 2) keep your STRAVA_CLIENT_SECRET private and set STRAVA_TOKEN_PATH if you prefer a different storage location, 3) note the skill will create ~/.config/openclaw/strava/token.json and set restrictive permissions when possible, and 4) review the included scripts (they are small and readable) before running. Also correct the metadata mismatch (registry vs SKILL.md) if you will publish or reuse the skill.
功能分析
Type: OpenClaw Skill Name: openclaw-strava Version: 0.1.1 The openclaw-strava skill is a standard implementation of a Strava API integration using OAuth2. It includes scripts for authentication, activity fetching, and data normalization, all of which use Python's standard library (urllib) to avoid third-party dependency risks. Security best practices are observed, such as setting restrictive file permissions (0o600) on the stored OAuth tokens in scripts/strava_token.py, and there is no evidence of data exfiltration, obfuscation, or malicious intent.
能力评估
Purpose & Capability
Name/description match the included Python scripts: OAuth login, token management, activity fetch, normalization, and rendering. The env vars and file paths the scripts use (STRAVA_CLIENT_ID, STRAVA_CLIENT_SECRET, STRAVA_REDIRECT_URI, optional STRAVA_TOKEN_PATH/STRAVA_TZ) are appropriate for a Strava integration.
Instruction Scope
Runtime instructions are narrowly scoped to: run included scripts, perform OAuth against https://www.strava.com, read/write a token file under ~/.config/openclaw/strava/, and write activity JSON outputs. The only minor discrepancy: the SKILL.md lists STRAVA_TOKEN_PATH and STRAVA_TZ as optional but does not document STRAVA_SCOPES (the code reads STRAVA_SCOPES if present). Otherwise the instructions do not access unrelated files, env vars, or external endpoints.
Install Mechanism
No install spec (instruction-only) and all network calls originate from the included code to official Strava endpoints. There are no downloads from third‑party URLs or archive extraction. Including runnable scripts in the skill is expected for a source-only integration.
Credentials
Requested credentials (client id, client secret, redirect URI) are proportionate to OAuth usage. Minor metadata inconsistency: the registry metadata at the top reported 'Required env vars: none', but SKILL.md and the code require STRAVA_CLIENT_ID/SECRET/REDIRECT_URI. That mismatch is a bookkeeping issue to correct but not an evidence of malicious intent.
Persistence & Privilege
Skill does write a token file to the user's home (~/.config/openclaw/strava/token.json) and will refresh tokens when expired — this is expected behavior for an OAuth integration. always:false and normal autonomous invocation defaults are used. The skill does not modify other skills or system-wide agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-strava
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-strava 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
OAuth UX: default remote copy/paste mode; add optional --loopback fast path for same-machine browser authorization.
v0.1.0
Initial release: OAuth login, token refresh, fetch activities by day with pagination, normalize for Wellness hub, and channel-aware rendering.
元数据
Slug openclaw-strava
版本 0.1.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

Strava (Official API) 是什么?

Official Strava OAuth integration for OpenClaw. Use to connect/authorize Strava, store+refresh tokens, and fetch workout/activity data (runs/rides/etc.) for... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 435 次。

如何安装 Strava (Official API)?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-strava」即可一键安装,无需额外配置。

Strava (Official API) 是免费的吗?

是的,Strava (Official API) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Strava (Official API) 支持哪些平台?

Strava (Official API) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Strava (Official API)?

由 Gavin C.(@gavinchengcool)开发并维护,当前版本 v0.1.1。

💬 留言讨论