Get the FREE Ultimate OpenClaw Setup Guide →
n

Strava Skill

Scanned

@nftechie

npx machina-cli add skill @nftechie/strava-skill --openclaw
Files (1)
SKILL.md
3.5 KB

Strava Skill

Chat with your Strava data using AI. Ask about your activities, fitness trends, personal records, training load, and more. Powered by Transition, which syncs with Strava to give AI agents access to your training data.

Setup

  1. Download Transition and connect your Strava account
  2. Go to Settings > API Keys and tap Generate New Key
  3. Set the environment variable:
export TRANSITION_API_KEY="tr_live_xxxxxxxxxxxxxxxxxxxxx"

No Auth Required

Workout of the Day

Generate a random structured workout — no account needed.

curl "https://api.transition.fun/api/v1/wod?sport=run&duration=45"

Parameters:

  • sportrun, bike, swim, or strength (default: run)
  • duration — minutes, 10-300 (default: 45)

Authenticated Endpoints

Base URL: https://api.transition.fun Auth: Pass X-API-Key header on every request.

AI Coach Chat

Ask questions about your Strava data. The AI coach has full context on your activities and performance.

curl -X POST -H "X-API-Key: $TRANSITION_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"message": "How did my long run this week compare to last week?"}' \
  "https://api.transition.fun/api/v1/coach/chat"

Example questions:

  • "What's my weekly mileage trend over the last month?"
  • "How is my cycling FTP progressing?"
  • "Am I running more or less than usual this week?"
  • "What was my fastest 5K effort recently?"
  • "Should I rest or train today based on my recent activity?"

Get Workouts

Retrieve scheduled workouts for a date range.

curl -H "X-API-Key: $TRANSITION_API_KEY" \
  "https://api.transition.fun/api/v1/workouts?start=2026-02-09&end=2026-02-15"

Parameters:

  • start — Start date (YYYY-MM-DD, required)
  • end — End date (YYYY-MM-DD, required)
  • Maximum range between start and end is 90 days.

Performance Management Chart (PMC)

Get CTL (fitness), ATL (fatigue), and TSB (form) calculated from your Strava activities.

curl -H "X-API-Key: $TRANSITION_API_KEY" \
  "https://api.transition.fun/api/v1/performance/pmc"

Performance Stats

Get FTP, threshold paces, heart rate zones, and other metrics derived from your Strava data.

curl -H "X-API-Key: $TRANSITION_API_KEY" \
  "https://api.transition.fun/api/v1/performance/stats"

Athlete Profile

curl -H "X-API-Key: $TRANSITION_API_KEY" \
  "https://api.transition.fun/api/v1/profile"

Chat History

curl -H "X-API-Key: $TRANSITION_API_KEY" \
  "https://api.transition.fun/api/v1/coach/history"

Rate Limits

TierRead EndpointsAI Endpoints
Free100/day3/day
Paid10,000/day100/day

Tips for Agents

  1. Use coach chat as the primary interface. It has full context on the user's Strava activities, training load, and performance — just ask natural questions.

  2. Check fatigue before recommending hard workouts. Call GET /api/v1/performance/pmc and look at TSB. If TSB is below -20, the athlete is fatigued.

  3. Use the free WOD endpoint for quick workouts. No auth needed — great for users who just want a workout suggestion.

  4. Date format is always YYYY-MM-DD for all date parameters.

Source

git clone https://clawhub.ai/nftechie/strava-skillView on GitHub

Overview

Talk to your Strava data with AI. Powered by Transition, which syncs with Strava, it lets you ask about activities, fitness trends, PRs, and training load, unlocking AI-driven coaching insights.

How This Skill Works

Set up by connecting Transition to Strava and generating an API key. Use the AI Coach Chat endpoint to ask questions with full context on your activities. Access workouts, PMC, stats, and profile data through the authenticated endpoints (e.g., /api/v1/coach/chat, /workouts, /performance/pmc, /performance/stats, /profile, /coach/history).

When to Use It

  • What's my weekly mileage trend over the last month?
  • How is my cycling FTP progressing?
  • Am I running more or less than usual this week?
  • What was my fastest 5K effort recently?
  • Should I rest or train today based on my recent activity?

Quick Start

  1. Step 1: Download Transition and connect your Strava account
  2. Step 2: Go to Settings > API Keys and tap Generate New Key
  3. Step 3: Set the environment variable: export TRANSITION_API_KEY="tr_live_xxxxxxxxxxxxxxxxxxxxx"

Best Practices

  • Use coach chat as the primary interface to leverage full context of your Strava data.
  • Check fatigue before hard workouts by reviewing PMC/TSB values.
  • Use the free WOD endpoint for quick workouts (no auth required).
  • Date format for requests is always YYYY-MM-DD.
  • Authenticate with the X-API-Key header on every request.

Example Use Cases

  • What's my weekly mileage trend over the last month?
  • How is my cycling FTP progressing?
  • Am I running more or less than usual this week?
  • What was my fastest 5K effort recently?
  • Should I rest or train today based on my recent activity?

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers