Turn OpenClaw into a Strava-aware running coach in minutes.
This community plugin connects your Strava account to OpenClaw so your agent can review activities, track trends, and answer training questions with your own data.
strava_auth_statusto check whether your Strava account is connectedstrava_activitiesto list recent activitiesstrava_activity_detailto inspect a single activity in depthstrava_statsto summarize recent, year-to-date, and all-time totals
- Personalized coaching context from your real Strava history
- Fast setup with OAuth linking through your OpenClaw gateway
- Practical tools for weekly reviews, progress checks, and activity deep dives
- ClawHub:
https://clawhub.ai/plugins/%40alexd10s%2Fopenclaw-strava
Recommended (ClawHub):
openclaw plugins install clawhub:@alexd10s/openclaw-stravaAlternative (npm spec):
openclaw plugins install @alexd10s/openclaw-stravaLocal development install:
openclaw plugins install /path/to/openclaw-strava-plugin- Create a Strava API app at
https://www.strava.com/settings/api. - Set the Authorization Callback Domain to
localhost(or your gateway domain). - Configure credentials:
openclaw config set plugins.entries.strava.config.clientId "YOUR_CLIENT_ID"
openclaw config set plugins.entries.strava.config.clientSecret "YOUR_CLIENT_SECRET"- Restart your gateway.
- Ask the agent for auth status, open the returned connect URL, and approve access.
- Create a Strava API app at
https://www.strava.com/settings/api. - Set the Authorization Callback Domain to
localhostfor local use, or your gateway hostname if you use a public tunnel/domain. - Configure the plugin:
openclaw config set plugins.entries.strava.config.clientId "YOUR_CLIENT_ID"
openclaw config set plugins.entries.strava.config.clientSecret "YOUR_CLIENT_SECRET"- Restart the gateway.
- Ask the agent for Strava auth status. It will return a gateway connect URL. Open that URL in a browser already signed into your OpenClaw gateway to complete OAuth.
- "Show my last 7 Strava activities and summarize pace trends."
- "Compare this week vs last week total distance and elevation."
- "Give me a short coaching note based on my last long run."
This scaffold assumes:
- package name:
@alexd10s/openclaw-strava - repo:
AlexD10S/openclaw-strava-plugin
If you change either of those, update package.json before publishing.
npm i -g clawhub
clawhub login
clawhub package publish AlexD10S/openclaw-strava-plugin --dry-run
clawhub package publish AlexD10S/openclaw-strava-plugin- OAuth tokens are stored with
0600permissions. - OAuth state nonces are used to prevent CSRF during account linking.
- The tool returns a gateway-authenticated connect URL instead of a raw Strava OAuth URL.
pnpm install
pnpm test
pnpm typecheck