← Back to Skills Marketplace
swang62

Strava Api

by Steve Wang · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
108
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install strava-api
Description
Official Strava OAuth integration for OpenClaw. Use to connect/authorize Strava, store+refresh tokens, and fetch workout/activity data (runs/rides/etc.) for...
Usage Guidance
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.
Capability Tags
requires-oauth-tokenrequires-sensitive-credentials
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install strava-api
  3. After installation, invoke the skill by name or use /strava-api
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug strava-api
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 108 downloads so far.

How do I install Strava Api?

Run "/install strava-api" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Strava Api free?

Yes, Strava Api is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Strava Api support?

Strava Api is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Strava Api?

It is built and maintained by Steve Wang (@swang62); the current version is v1.0.1.

💬 Comments