← 返回 Skills 市场
swang62

Strava Api

作者 Steve Wang · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
108
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install strava-api
功能描述
Official Strava OAuth integration for OpenClaw. Use to connect/authorize Strava, store+refresh tokens, and fetch workout/activity data (runs/rides/etc.) for...
安全使用建议
The code appears to do exactly what it says: perform Strava OAuth, store/refresh tokens, and fetch activities. Before installing: 1) Verify the skill source/owner (homepage is missing and owner ID is unknown). 2) Be prepared to provide STRAVA_CLIENT_ID, STRAVA_CLIENT_SECRET, and STRAVA_REDIRECT_URI — these are sensitive credentials used for OAuth. 3) Note the default token file (~/.config/openclaw/strava/token.json) will be created/overwritten; review or change STRAVA_TOKEN_PATH if you want it elsewhere. 4) If using loopback mode, the script will run a local HTTP listener on the specified port (only binds to 127.0.0.1/localhost). 5) As a precaution, inspect the included scripts locally and consider running them in a constrained environment (container or dedicated account) if you're unsure about the unknown publisher despite the code looking consistent with Strava's OAuth flow. Also be aware of the metadata discrepancy: registry metadata omitted required env vars even though SKILL.md and the scripts require them.
能力标签
requires-oauth-tokenrequires-sensitive-credentials
能力评估
Purpose & Capability
Name/description (Strava OAuth + fetch activities) align with the included Python scripts which implement OAuth login, token refresh, and activity fetching. One inconsistency: registry metadata listed no required env vars, but SKILL.md and the scripts clearly require STRAVA_CLIENT_ID, STRAVA_CLIENT_SECRET, and STRAVA_REDIRECT_URI.
Instruction Scope
SKILL.md instructs running the included scripts to perform OAuth or loopback login and to fetch activities into a JSON file. The instructions only reference Strava endpoints, the declared env vars, and an on-disk token file. The scripts may open a local loopback HTTP listener (only when loopback mode is used) and will read/write the token JSON — both are expected for OAuth flows.
Install Mechanism
No install spec / no remote downloads. This is an instruction-only skill delivered with source files (two Python scripts). No external packages or installers are pulled in by the skill itself.
Credentials
The skill requires Strava-specific secrets (client id, client secret, redirect URI) and optionally a token path and timezone — these are proportionate to performing OAuth and API calls. The code only reads/writes the declared token file path and does not request unrelated credentials. Note that STRAVA_CLIENT_SECRET is sensitive; providing it is necessary for this skill to function.
Persistence & Privilege
The skill does not request permanent 'always' inclusion and does not modify other skills or system-wide settings. It persists tokens to a user-scoped config path (~/.config/openclaw/strava/token.json by default) and attempts to set secure file permissions (0600). Loopback mode binds only to localhost as expected.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install strava-api
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /strava-api 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Removed normalization and rendering scripts and documentation, focusing the skill on fetching activity data only. - Updated instructions: now fetch activities directly as JSON output. - Cleaned up references and removed output schema documentation. - Renamed skill from openclaw-strava to strava-api.
v1.0.0
Initial release of Strava OAuth integration for OpenClaw. - Enables secure Strava account connection and authorization via OAuth. - Stores and refreshes access tokens automatically. - Fetches and normalizes workout/activity data (runs, rides, etc.) for specific dates or ranges. - Provides tools to generate training summaries, weekly mileage, and activity lists. - Output is formatted for use in the OpenClaw Wellness hub or for generic channel delivery.
元数据
Slug strava-api
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Strava 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 插件,目前累计下载 108 次。

如何安装 Strava Api?

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

Strava Api 是免费的吗?

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

Strava Api 支持哪些平台?

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

谁开发了 Strava Api?

由 Steve Wang(@swang62)开发并维护,当前版本 v1.0.1。

💬 留言讨论