VM0VM0
Agent Skills

Strava

Access fitness activities and athlete data with the Strava API

Strava is a fitness tracking platform for athletes. This skill enables your agent to query activities, athlete profiles, segments, clubs, and upload workout data.

Required Environment

NameTypeDescription
STRAVA_TOKENsecretStrava API bearer token

Connect your Strava account in Settings > Connectors on the vm0 platform. The token is automatically injected at runtime.

Configuration

vm0.yaml
version: "1.0"

agents:
  my-agent:
    framework: claude-code
    skills:
      - https://github.com/vm0-ai/vm0-skills/tree/main/strava

Run

Store your secret on the platform (recommended, one-time setup):

vm0 secret set STRAVA_TOKEN your-strava-token

Then run your agent - secrets are automatically loaded:

vm0 run my-agent "summarize my activities this week"

For CI/CD or temporary overrides, pass secrets at runtime: --secrets STRAVA_TOKEN=value. See Environment Variables for details.

Example Instructions

AGENTS.md
# Training Summary Agent

You use Strava to analyze athletic training data.

## Workflow

1. Fetch recent activities for the athlete
2. Calculate weekly totals (distance, time, elevation)
3. Compare with previous week
4. Generate a training summary

## Metrics

- Distances in kilometers
- Speeds in min/km pace
- Elevation in meters
- Heart rate zones if available
AGENTS.md
# Activity Logger Agent

You use Strava to create and manage manual activities.

## Workflow

1. Collect activity details from the user
2. Create the activity with proper sport type
3. Add description and metadata
4. Confirm creation with activity link

## Supported Types

- Run, Ride, Swim, Walk, Hike
- Include elapsed time and distance
- Set as private if requested