Skip to main content
Pythondvcrn

strava-python

Query Strava activities, stats, and workout data using Python/stravalib with interactive setup

Stars
15
Source
dvcrn/openclaw-skills-marketplace
Updated
2026-05-29
Slug
dvcrn--openclaw-skills-marketplace--strava-python
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/dvcrn/openclaw-skills-marketplace/HEAD/plugins/abclark--strava-python/skills/strava-python/SKILL.md -o .claude/skills/strava-python.md

Drops the SKILL.md into .claude/skills/strava-python.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

Strava Python

Query your Strava activities, stats, and workout data through OpenClaw using Python and stravalib.

Why this skill vs others: Uses Python/stravalib with an interactive setup wizard (vs curl-based skills requiring manual JSON configuration).

Requirements

  • Python 3.7+
  • stravalib package
  • Strava API credentials (free)

Setup

  1. Install dependencies:

    pip install stravalib
    
  2. Run setup:

    python3 setup.py
    

    This will:

    • Guide you through creating a Strava API app
    • Handle OAuth authentication
    • Save credentials to ~/.strava_credentials.json

Commands

Recent activities:

python3 strava_control.py recent

Weekly/monthly stats:

python3 strava_control.py stats

Last activity:

python3 strava_control.py last

Examples

Ask OpenClaw:

  • "Show my recent Strava activities"
  • "What are my Strava stats this week?"
  • "What was my last Strava workout?"

Files

  • strava_control.py - Main controller script
  • setup.py - Interactive setup wizard
  • SKILL.md - This file
  • ~/.strava_credentials.json - Credentials (auto-generated)

Notes

  • Requires Strava account (free)
  • API credentials are personal and should not be shared
  • Rate limits: 100 requests per 15 minutes, 1,000 daily