skills$openclaw/strava-cycling-coach
ericrosenberg5.6k

by ericrosenberg

strava-cycling-coach – OpenClaw Skill

strava-cycling-coach is an OpenClaw Skills integration for coding workflows. Track and analyze cycling performance from Strava. Use when analyzing ride data, reviewing fitness trends, understanding workout performance, or providing insights on cycling training. Automatically monitors new rides and provides performance analysis.

5.6k stars674 forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namestrava-cycling-coach
descriptionTrack and analyze cycling performance from Strava. Use when analyzing ride data, reviewing fitness trends, understanding workout performance, or providing insights on cycling training. Automatically monitors new rides and provides performance analysis. OpenClaw Skills integration.
ownerericrosenberg
repositoryericrosenberg/strava-cycling-coach
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @ericrosenberg/strava-cycling-coach
last updatedFeb 7, 2026

Maintainer

ericrosenberg

ericrosenberg

Maintains strava-cycling-coach in the OpenClaw Skills directory.

View GitHub profile
File Explorer
14 files
.
references
api.md
2.8 KB
scripts
analyze_and_notify.py
7.2 KB
analyze_rides.py
7.3 KB
auto_analyze_new_rides.sh
1.3 KB
cache_manager.py
2.1 KB
complete_auth.py
2.0 KB
get_latest_ride.py
2.1 KB
monitor_new_rides.py
2.9 KB
setup.sh
1.3 KB
_meta.json
299 B
README.txt
1.9 KB
SKILL.md
2.6 KB
SKILL.md

name: strava-cycling-coach description: Track and analyze cycling performance from Strava. Use when analyzing ride data, reviewing fitness trends, understanding workout performance, or providing insights on cycling training. Automatically monitors new rides and provides performance analysis.

Strava Cycling Coach

Track cycling performance, analyze rides, and monitor fitness progression using the Strava API.

Setup

1. Create Strava API Application

Visit https://www.strava.com/settings/api and create an application:

  • Application Name: Clawdbot (or your preferred name)
  • Category: Data Importer
  • Club: (leave blank)
  • Website: http://localhost
  • Authorization Callback Domain: localhost

Save your Client ID and Client Secret.

2. Run Setup Script

cd skills/strava
./scripts/setup.sh

You'll be prompted for:

  1. Client ID
  2. Client Secret
  3. Visit an OAuth URL to authorize
  4. Copy the authorization code and complete setup with:
./scripts/complete_auth.py YOUR_CODE_HERE

3. Configure Automatic Monitoring (Optional)

To receive automatic ride analysis after each workout:

# Set your Telegram chat ID
export STRAVA_TELEGRAM_CHAT_ID="your_telegram_chat_id"

# Add to your shell profile for persistence
echo 'export STRAVA_TELEGRAM_CHAT_ID="your_telegram_chat_id"' >> ~/.bashrc

# Set up cron job (checks every 30 minutes)
crontab -l > /tmp/cron_backup.txt
echo "*/30 * * * * $(pwd)/scripts/auto_analyze_new_rides.sh" >> /tmp/cron_backup.txt
crontab /tmp/cron_backup.txt

4. Test the Setup

Analyze your recent rides:

./scripts/analyze_rides.py --days 90 --ftp YOUR_FTP

Usage

Get latest ride:

scripts/get_latest_ride.py

Analyze specific ride:

scripts/analyze_ride.py <activity-id>

Monitor for new rides (runs in background):

scripts/monitor_rides.sh

Automatic Monitoring

The skill can automatically:

  1. Check for new rides every 30 minutes
  2. Analyze power, heart rate, and training load
  3. Send insights about performance and fitness trends
  4. Compare to recent training history

Metrics Analyzed

  • Power: Average, normalized, max, variability index
  • Heart rate: Average, max, time in zones
  • Training load: TSS estimation, intensity factor
  • Fitness progression: Trends over time
  • Segments: PR achievements and efforts
  • Comparative: vs recent rides, vs personal bests

Configuration

Edit ~/.config/strava/config.json to customize:

  • Monitoring frequency
  • Analysis preferences
  • Notification settings

API Reference

See references/api.md for complete Strava API documentation.

README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

Configuration

Edit `~/.config/strava/config.json` to customize: - Monitoring frequency - Analysis preferences - Notification settings

FAQ

How do I install strava-cycling-coach?

Run openclaw add @ericrosenberg/strava-cycling-coach in your terminal. This installs strava-cycling-coach into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/ericrosenberg/strava-cycling-coach. Review commits and README documentation before installing.