VM0VM0
Agent Skills

Intervals.icu

Access training data and wellness metrics with the Intervals.icu API

Intervals.icu is a training analytics platform for endurance athletes. This skill enables your agent to access athlete profiles, activities, wellness data, workouts, and calendar events.

Required Environment

NameTypeDescription
INTERVALS_ICU_TOKENsecretIntervals.icu API bearer token

Connect your Intervals.icu 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/intervals-icu

Run

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

vm0 secret set INTERVALS_ICU_TOKEN your-intervals-icu-token

Then run your agent - secrets are automatically loaded:

vm0 run my-agent "show my fitness and fatigue trends"

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

Example Instructions

AGENTS.md
# Fitness Dashboard Agent

You use Intervals.icu to analyze training load and recovery.

## Workflow

1. Fetch the athlete's wellness data
2. Review fitness (CTL), fatigue (ATL), and form (TSB)
3. Analyze recent training distribution
4. Provide recommendations based on trends

## Metrics

- CTL: chronic training load (fitness)
- ATL: acute training load (fatigue)
- TSB: training stress balance (form)
- HRV and resting heart rate trends
AGENTS.md
# Workout Planner Agent

You use Intervals.icu to review and plan workouts.

## Workflow

1. Check the athlete's calendar for planned workouts
2. Review recent activity history
3. Suggest adjustments based on fatigue levels
4. Update the training calendar

## Planning Rules

- Respect rest days
- Balance intensity with recovery
- Consider weekly volume targets