Strava
sundial-org/awesome-openclaw-skills
Load and analyze Strava activities, stats, and workouts using the Strava API
Complete guide for accessing and managing training data with the intervals.icu API.
$ npx skills add LeoYeAI/openclaw-master-skills --skill intervals-icu-api -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills intervals-icu-api --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/intervals-icu-api .claude/skills/intervals-icu-api && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "intervals-icu-api" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/intervals-icu-api into .claude/skills/intervals-icu-api/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "intervals-icu-api", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/intervals-icu-apiType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add LeoYeAI/openclaw-master-skills --skill intervals-icu-api -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills intervals-icu-api --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/intervals-icu-api .agents/skills/intervals-icu-api && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "intervals-icu-api" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/intervals-icu-api into .agents/skills/intervals-icu-api/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "intervals-icu-api", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeoYeAI/openclaw-master-skills --skill intervals-icu-api -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills intervals-icu-api --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/intervals-icu-api .cursor/skills/intervals-icu-api && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "intervals-icu-api" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/intervals-icu-api into .cursor/skills/intervals-icu-api/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "intervals-icu-api", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/LeoYeAI/openclaw-master-skills.git --path skills/intervals-icu-api--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add LeoYeAI/openclaw-master-skills --skill intervals-icu-api -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills intervals-icu-api --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/intervals-icu-api .gemini/skills/intervals-icu-api && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "intervals-icu-api" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/intervals-icu-api into .gemini/skills/intervals-icu-api/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "intervals-icu-api", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install LeoYeAI/openclaw-master-skills intervals-icu-apiInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add LeoYeAI/openclaw-master-skills --skill intervals-icu-api -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/intervals-icu-api .github/skills/intervals-icu-api && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "intervals-icu-api" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/intervals-icu-api into .github/skills/intervals-icu-api/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "intervals-icu-api", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeoYeAI/openclaw-master-skills --skill intervals-icu-api -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills intervals-icu-api --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/intervals-icu-api .opencode/skills/intervals-icu-api && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "intervals-icu-api" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/intervals-icu-api into .opencode/skills/intervals-icu-api/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "intervals-icu-api", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
intervals-icu-apiComplete guide for accessing and managing training data with the intervals.icu API.
Intervals Icu API is an agent skill from LeoYeAI/openclaw-master-skills. Complete guide for accessing and managing training data with the intervals.icu API. Use when working with Intervals.icu athlete profiles, activities, workouts, events, wellness data, and training plans. Covers authentication, retrieving activities with combined data fields, managing calendar events with planned workouts, and creating/updating training data. Includes curl examples for all major operations.
Its SKILL.md is about 5.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `README.md` and `_meta.json`).
It sits in Productivity & Automation, covering Health and fitness tracking. The repository describes itself as: 🧠 Curated collection of 1209+ best OpenClaw skills — weekly updated by MyClaw.ai. The licence is MIT.
Read from SKILL.md and the folder at commit e5199b5. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
curljqFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
intervals.icuAlso links to:
forum.intervals.icuFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Intervals Icu API loads about 5.5k tokens when it runs. Until then it costs about 107 tokens; SKILL.md has 486 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from LeoYeAI/openclaw-master-skills at commit e5199b5, republished under its MIT licence (© LeoYeAI). 486 words, ~5,508 tokens.
.claude/skills/intervals-icu-api/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Comprehensive guide for interacting with the intervals.icu API to manage athlete training data, activities, workouts, and calendar events.
Get your Athlete ID and API Key from intervals.icu settings page.
# Using API Key header
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID# Using Bearer token
curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_IDBase URL: https://intervals.icu/api/v1
Date Format: ISO-8601 (e.g., 2024-01-15 or 2024-01-15T10:30:00)
Your unique identifier in Intervals.icu. Used in all API endpoints as {id} path parameter.
/athlete/{id}/activities/athlete/{id}/eventsActivities and events can return different fields. Use the fields query parameter to include/exclude specific data points for more efficient queries.
Retrieve all activities between two dates, sorted newest to oldest.
# Basic activity list
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/activities?oldest=2024-01-01&newest=2024-01-31"
# With limit
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/activities?oldest=2024-01-01&limit=10"
# Specific fields only (more efficient)
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/activities?oldest=2024-01-01&fields=id,name,start_date_local,type,distance,moving_time,icu_training_load"
# For specific activity type (Ride, Run, Swim, etc.)
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/activities?oldest=2024-01-01&newest=2024-01-31" | jq '.[] | select(.type == "Ride")'Use fields parameter to combine activity data with contextual information:
# Power, HR, and load data
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/activities?oldest=2024-01-01&fields=name,icu_weighted_avg_watts,average_heartrate,icu_training_load,icu_atl,icu_ctl"
# Include fatigue and fitness metrics
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/activities?oldest=2024-01-01&fields=id,name,type,icu_training_load,icu_atl,icu_ctl,perceived_exertion"
# Combine power zones and zone times
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/activities?oldest=2024-01-01&fields=id,name,distance,moving_time,icu_zone_times,icu_weighted_avg_watts"
# HR zones + intensity data
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/activities?oldest=2024-01-01&fields=id,name,type,average_heartrate,max_heartrate,icu_hr_zone_times,trimp"# Get activity by ID with all data
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/activity/ACTIVITY_ID"
# Get activity with intervals
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/activity/ACTIVITY_ID?intervals=true"# Get activity streams as JSON
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/activity/ACTIVITY_ID/streams.json"
# Get activity streams as CSV (includes time, power, heart_rate, cadence, etc.)
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/activity/ACTIVITY_ID/streams.csv" \
--output activity_streams.csv
# Get specific stream types
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/activity/ACTIVITY_ID/streams.json?types=watts,heart_rate,cadence"Retrieve planned workouts, notes, and training targets from your calendar.
# Get all events in date range
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/events?oldest=2024-02-01&newest=2024-02-29"
# Get with specific fields
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/events?oldest=2024-02-01&newest=2024-02-29&fields=id,name,category,start_date_local,description"
# Filter by category (WORKOUT, NOTE, TARGET, FITNESS_DAYS, etc.)
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/events?oldest=2024-02-01&category=WORKOUT"
# Get workout targets for date range
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/events?oldest=2024-02-01&category=TARGET"# Get specific planned workout
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/events/EVENT_ID"Export planned workouts in various formats for your training device.
# Download as .zwo (Zwift format)
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/events/EVENT_ID/download.zwo" \
--output workout.zwo
# Download as .mrc (TrainerRoad format)
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/events/EVENT_ID/download.mrc" \
--output workout.mrc
# Download as .erg (Wahoo format)
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/events/EVENT_ID/download.erg" \
--output workout.erg
# Download as .fit (Garmin format)
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/events/EVENT_ID/download.fit" \
--output workout.fit
# Download multiple workouts as zip
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/workouts.zip?oldest=2024-02-01&newest=2024-02-29&ext=zwo" \
--output workouts.zipAdd a manually-logged activity to your training history.
# Basic manual activity
curl -X POST \
-H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Morning Run",
"type": "Run",
"start_date_local": "2024-01-15T06:00:00",
"distance": 10000,
"moving_time": 3600,
"description": "Easy morning run"
}' \
https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/activities/manual
# With power (cycling activity)
curl -X POST \
-H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Indoor Zwift",
"type": "Ride",
"start_date_local": "2024-01-15T18:00:00",
"moving_time": 3600,
"icu_joules": 900000,
"icu_weighted_avg_watts": 250,
"average_heartrate": 155,
"trainer": true
}' \
https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/activities/manual
# With external ID (for syncing with external systems)
curl -X POST \
-H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Strava Activity",
"type": "Run",
"start_date_local": "2024-01-15T07:00:00",
"distance": 5000,
"moving_time": 1800,
"external_id": "strava_12345"
}' \
https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/activities/manual# Bulk create activities
curl -X POST \
-H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"name": "Monday Easy Run",
"type": "Run",
"start_date_local": "2024-01-15T06:00:00",
"distance": 10000,
"moving_time": 3600
},
{
"name": "Tuesday Interval Ride",
"type": "Ride",
"start_date_local": "2024-01-16T18:00:00",
"moving_time": 5400,
"icu_weighted_avg_watts": 280
}
]' \
https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/activities/manual/bulkAdd a scheduled workout to your calendar for future training.
# Basic planned workout
curl -X POST \
-H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Vo2Max Intervals",
"category": "WORKOUT",
"start_date_local": "2024-02-15T18:00:00",
"description": "6x 4min at 110% FTP with 3min recovery"
}' \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/events?upsertOnUid=true"
# Planned workout with Intervals.icu format description
curl -X POST \
-H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Sweet Spot Build",
"category": "WORKOUT",
"start_date_local": "2024-02-16T18:00:00",
"description": "[Workout \"Sweet Spot\" \"\" Bike 300\n [SteadyState 600 88 92 \"\"]\n [SteadyState 600 88 92 \"\"]\n [SteadyState 600 88 92 \"\"]\n]"
}' \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/events?upsertOnUid=true"
# Create workout from .zwo file contents
curl -X POST \
-H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Zwift Structured Workout",
"category": "WORKOUT",
"start_date_local": "2024-02-17T19:00:00",
"file_contents": "<Workout_Instruction version=\"1\">\n<author></author>\n<name>My Workout</name>\n<description></description>\n<sportType>Bike</sportType>\n<tags></tags>\n<workout>\n<Warmup Duration=\"600\" PowerLow=\"0.5\" PowerHigh=\"0.75\"/>\n<SteadyState Duration=\"1200\" Power=\"0.85\"/>\n</workout>\n</Workout_Instruction>"
}' \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/events?upsertOnUid=true"# Bulk create planned workouts
curl -X POST \
-H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"name": "Easy Spin",
"category": "WORKOUT",
"start_date_local": "2024-02-15T18:00:00",
"description": "60min at 60-65% FTP"
},
{
"name": "Threshold Work",
"category": "WORKOUT",
"start_date_local": "2024-02-17T19:00:00",
"description": "3x 10min at 95-105% FTP"
},
{
"name": "Long Run",
"category": "WORKOUT",
"start_date_local": "2024-02-18T07:00:00",
"description": "90min easy run at conversational pace"
}
]' \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/events/bulk?upsertOnUid=true&updatePlanApplied=true"Set a specific training target for a date.
# Create power target
curl -X POST \
-H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "FTP Test Target",
"category": "TARGET",
"start_date_local": "2024-02-20T18:00:00",
"description": "Target power: 300W"
}' \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/events?upsertOnUid=true"
# Create duration target
curl -X POST \
-H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Daily Volume Target",
"category": "TARGET",
"start_date_local": "2024-02-21T00:00:00",
"description": "Target: 2 hours training"
}' \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/events?upsertOnUid=true"Modify an existing completed activity.
# Update activity notes and tags
curl -X PUT \
-H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Recovery Ride - Updated",
"description": "Felt great, good recovery",
"commute": false
}' \
https://intervals.icu/api/v1/activity/ACTIVITY_ID
# Update activity perceived exertion and feel
curl -X PUT \
-H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"perceived_exertion": 7,
"feel": 8,
"description": "Good session, felt strong"
}' \
https://intervals.icu/api/v1/activity/ACTIVITY_IDModify a scheduled event on your calendar.
# Update workout details
curl -X PUT \
-H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Modified VO2Max Session",
"description": "8x 3min at 130% FTP with 2min recovery - UPDATED"
}' \
https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/events/EVENT_ID
# Hide event from athlete view
curl -X PUT \
-H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"hide_from_athlete": true
}' \
https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/events/EVENT_ID
# Prevent athlete from editing event
curl -X PUT \
-H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"athlete_cannot_edit": true
}' \
https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/events/EVENT_ID# Hide all workouts for a week
curl -X PUT \
-H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"hide_from_athlete": true
}' \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/events?oldest=2024-02-15&newest=2024-02-22"Track sleep, fatigue, resting HR, and other wellness metrics.
# Get wellness data for date range
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/wellness?oldest=2024-01-01&newest=2024-01-31"
# Get wellness data as CSV
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/wellness.csv?oldest=2024-01-01&newest=2024-01-31" \
--output wellness.csv
# Get specific wellness fields
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/wellness?oldest=2024-01-01&fields=id,sleep_secs,soreness,fatigue,resting_hr,notes"Log wellness data for a specific date.
# Add sleep, HRV, and fatigue
curl -X PUT \
-H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "2024-01-15",
"sleep_secs": 28800,
"resting_hr": 52,
"fatigue": 3,
"soreness": 2
}' \
https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/wellness/2024-01-15
# Add notes
curl -X PUT \
-H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "2024-01-15",
"notes": "Great sleep, feeling recovered"
}' \
https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/wellness/2024-01-15# Update multiple wellness days at once
curl -X PUT \
-H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"id": "2024-01-15",
"sleep_secs": 28800,
"resting_hr": 52
},
{
"id": "2024-01-16",
"sleep_secs": 30600,
"resting_hr": 50
},
{
"id": "2024-01-17",
"sleep_secs": 27000,
"resting_hr": 54
}
]' \
https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/wellness-bulkRetrieve power zones, HR zones, and FTP settings for a sport.
# Get Ride settings
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/sport-settings/Ride"
# Get Run settings
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/sport-settings/Run"
# List all sport settings
curl -H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/sport-settings"Modify power zones, FTP, or HR zones.
# Update FTP and power zones
curl -X PUT \
-H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"ftp": 310,
"power_zones": [0, 114, 152, 191, 229, 267, 310]
}' \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/sport-settings/Ride?recalcHrZones=false"
# Update LTHR and HR zones
curl -X PUT \
-H "Authorization: ApiKey API_KEY:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"lthr": 165,
"hr_zones": [0, 123, 142, 160, 178, 197, 220]
}' \
"https://intervals.icu/api/v1/athlete/YOUR_ATHLETE_ID/sport-settings/Ride?recalcHrZones=true"#!/bin/bash
ATHLETE_ID="YOUR_ATHLETE_ID"
API_KEY="YOUR_API_KEY"
DATE="2024-01-15"
# 1. Get completed activities
ACTIVITIES=$(curl -s -H "Authorization: ApiKey $ATHLETE_ID:$API_KEY" \
"https://intervals.icu/api/v1/athlete/$ATHLETE_ID/activities?oldest=$DATE&newest=$DATE&fields=id,name,type,distance,icu_training_load")
# 2. Get planned workouts for today
EVENTS=$(curl -s -H "Authorization: ApiKey $ATHLETE_ID:$API_KEY" \
"https://intervals.icu/api/v1/athlete/$ATHLETE_ID/events?oldest=$DATE&newest=$DATE&category=WORKOUT")
# 3. Get wellness data
WELLNESS=$(curl -s -H "Authorization: ApiKey $ATHLETE_ID:$API_KEY" \
"https://intervals.icu/api/v1/athlete/$ATHLETE_ID/wellness/$DATE")
echo "Activities: $ACTIVITIES"
echo "Events: $EVENTS"
echo "Wellness: $WELLNESS"#!/bin/bash
ATHLETE_ID="YOUR_ATHLETE_ID"
API_KEY="YOUR_API_KEY"
# Define workouts for the week
WORKOUTS='[
{
"name": "Monday - Easy Spin",
"category": "WORKOUT",
"start_date_local": "2024-02-19T18:00:00",
"description": "60min at 60-65% FTP"
},
{
"name": "Tuesday - VO2Max",
"category": "WORKOUT",
"start_date_local": "2024-02-20T18:00:00",
"description": "6x 4min at 110% FTP with 3min recovery"
},
{
"name": "Wednesday - Recovery",
"category": "WORKOUT",
"start_date_local": "2024-02-21T18:00:00",
"description": "45min easy"
},
{
"name": "Thursday - Threshold",
"category": "WORKOUT",
"start_date_local": "2024-02-22T19:00:00",
"description": "2x 15min at 95-105% FTP"
},
{
"name": "Friday - Rest Day",
"category": "NOTE",
"start_date_local": "2024-02-23T00:00:00",
"description": "Rest and recovery"
},
{
"name": "Saturday - Long Ride",
"category": "WORKOUT",
"start_date_local": "2024-02-24T09:00:00",
"description": "150min at Zone 2"
},
{
"name": "Sunday - Easy Recovery",
"category": "WORKOUT",
"start_date_local": "2024-02-25T10:00:00",
"description": "60min easy spin"
}
]'
# Create all workouts at once
curl -X POST \
-H "Authorization: ApiKey $ATHLETE_ID:$API_KEY" \
-H "Content-Type: application/json" \
-d "$WORKOUTS" \
"https://intervals.icu/api/v1/athlete/$ATHLETE_ID/events/bulk?upsertOnUid=true&updatePlanApplied=true"#!/bin/bash
ATHLETE_ID="YOUR_ATHLETE_ID"
API_KEY="YOUR_API_KEY"
# Get activities with load and zone data for the week
curl -s -H "Authorization: ApiKey $ATHLETE_ID:$API_KEY" \
"https://intervals.icu/api/v1/athlete/$ATHLETE_ID/activities?oldest=2024-01-08&newest=2024-01-14&fields=name,type,distance,icu_training_load,icu_zone_times,average_heartrate" | \
jq '[.[] | {name: .name, load: .icu_training_load, zones: .icu_zone_times, hr: .average_heartrate}]'Be respectful with API calls. Don't hammer the API with rapid successive requests.
Use the fields parameter to request only the data you need. This improves performance and reduces payload size.
Always use ISO-8601 format: YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS
When creating events, use upsertOnUid=true to update existing events with matching UIDs instead of creating duplicates.
Use external_id when syncing data from other systems to avoid duplicates on re-sync.
For more detailed API information, see: API Access Forum Post
Check response headers for error details and rate limit information.
© LeoYeAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files in skills/intervals-icu-api of LeoYeAI/openclaw-master-skills.
Open the folder on GitHubat commit e5199b5
Intervals Icu API next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Intervals Icu API this skillLeoYeAI/openclaw-master-skills | 2.2k | — | ~5.5k | Automated safety check: Pass | MIT | |
| Stravasundial-org/awesome-openclaw-skills | 663 | — | ~1.5k | Automated safety check: Pass | None | |
| Fitness Analyzerhuifer/WellAlly-health | 961 | 6 repos | ~1.3k | Automated safety check: Pass | MIT | |
| Coachfelixrieseberg/claude-coach | 196 | 1 repos | ~4.9k | Automated safety check: Pass | MIT | |
| GhealthGoogle-Health-API/google-health-cli | 266 | 1 repos | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| Master Ajahn Chahxr843/Master-skill | 447 | 1 repos | ~2k | Automated safety check: Pass | CC-BY-NC-SA-4.0 |
sundial-org/awesome-openclaw-skills
Load and analyze Strava activities, stats, and workouts using the Strava API
huifer/WellAlly-health
分析运动数据、识别运动模式、评估健身进展,并提供个性化训练建议。支持与慢性病数据的关联分析. An agent skill from huifer/WellAlly-health.
felixrieseberg/claude-coach
Create personalized triathlon, marathon, and ultra-endurance training plans.
Google-Health-API/google-health-cli
Query Google Health API v4 — steps, heart rate, exercise, sleep, weight, SpO2, HRV, ECG, blood glucose, nutrition, and 40 total data types
xr843/Master-skill
A skill your agent uses when user asks about 南传佛教, 上座部, Theravada, 巴利经典, 正念 sati, 放下, 三法印, 四念处, 出入息念 anapanasati, 戒定慧, 毗婆舍那, 森林禅林派, 巴蓬寺, 阿姜查, 杜多行, 中道, or wants teaching in 阿姜查 Ajahn Chah's voice.
huifer/WellAlly-health
分析心理健康数据、识别心理模式、评估心理健康状况、提供个性化心理健康建议。支持与睡眠、运动、营养等其他健康数据的关联分析。
LeoYeAI/openclaw-master-skills
Manages pipelines on a DevOps quality and efficiency platform through its OpenAPI: list workspaces and templates, create, update, run and cancel pipelines, and read run records.
LeoYeAI/openclaw-master-skills
Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.
LeoYeAI/openclaw-master-skills
Multi-context memory management system for OpenClaw agents with group-isolated storage, global shared memory, workspace organization, and group-specific skills isolation.
LeoYeAI/openclaw-master-skills
Runs a brand's AI-search visibility work end to end: diagnosing how AI platforms represent it, repositioning it, producing AI-optimized content and monitoring ongoing mentions.
LeoYeAI/openclaw-master-skills
Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.
LeoYeAI/openclaw-master-skills
Runs four advisor roles, a fitness coach, nutritionist, data analyst and TCM practitioner, to build a health profile and track workouts, diet and wellness over time.
Categories
Complete guide for accessing and managing training data with the intervals.icu API. Intervals Icu API is an agent skill from LeoYeAI/openclaw-master-skills.icu API.
Intervals Icu API fits situations like: working with Intervals.icu athlete profiles; tasks that involve Health and fitness tracking.
Run `npx skills add LeoYeAI/openclaw-master-skills --skill intervals-icu-api -a claude-code`. Or copy the skill folder (skills/intervals-icu-api in LeoYeAI/openclaw-master-skills) into .claude/skills/intervals-icu-api in your project. Claude Code loads it when a task matches its description.
Run `npx skills add LeoYeAI/openclaw-master-skills --skill intervals-icu-api -a codex`. Or copy the skill folder (skills/intervals-icu-api in LeoYeAI/openclaw-master-skills) into .agents/skills/intervals-icu-api in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeoYeAI/openclaw-master-skills --skill intervals-icu-api -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/intervals-icu-api, .gemini/skills/intervals-icu-api, .github/skills/intervals-icu-api and .opencode/skills/intervals-icu-api in your project.
Going by SKILL.md and its folder, Intervals Icu API needs the command-line tools its instructions call (curl and jq) and credentials named API_KEY. Our summary lists: A credential in API_KEY; A credential in YOUR_API_KEY.
SKILL.md names 2 domains. In commands or code: intervals.icu; the agent is likely to contact it when it follows the instructions. As links in the text: forum.intervals.icu. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Intervals Icu API is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 5.5k tokens (SKILL.md is roughly 22k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Intervals Icu API: Strava (sundial-org/awesome-openclaw-skills, 663 stars), Fitness Analyzer (huifer/WellAlly-health, 961 stars), Coach (felixrieseberg/claude-coach, 196 stars) and Ghealth (Google-Health-API/google-health-cli, 266 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,159 GitHub stars. The repository holds 972 skills in this directory. The repository was last updated on July 20, 2026.
Source: LeoYeAI/openclaw-master-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.