.claude/skills/ride-power-curve/SKILL.md
Build the user's mean-max power curve from cycling activities with watts. Use when the user asks for "my power curve", "best 5 minutes", "best 20 min", "MMP", "what's my critical power".
npx skillsauth add AlvaroLaraFF/strava-coach ride-power-curveInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
For each ride with a watts stream, computes the best rolling-mean power for the standard windows (1s, 5s, 30s, 1min, 5min, 20min, 60min) and aggregates the all-time best across activities.
Streams are synced on demand the first time you run this — large histories may take a minute or two.
python3 .claude/skills/ride-power-curve/scripts/power_curve.py --days 180 --max-rides 30
Two columns: window | best watts. Mention which activity each best comes from.
End with the implied 20-min FTP (0.95 * MMP_20min).
| Error contains | Action |
|---|---|
| No token | Invoke strava-setup, retry |
| watts stream / No streams / Sync first | Invoke strava-sync --level streams --sport Ride --limit 30, retry |
| No rides | Invoke strava-sync --level summary, retry |
| anything else | Surface |
Chain at most ONCE.
Save a qualitative observation to memory — opinions, patterns, coaching notes. Never store raw numeric values (those are recomputable from the DB). Only write if the observation is NEW or CHANGED vs existing memory. See CLAUDE.md → Memory protocol.
data-ai
Show a weekly training log: activities grouped by ISO week and sport, with totals for distance, time and elevation. Use when the user asks "what did I do this week", "weekly summary", "training log".
tools
Cross-reference recent runs/rides with historical weather (temperature, humidity, wind) from Open-Meteo to find correlations with performance. Use when the user asks "do I run worse in the heat", "weather impact", "temperature vs pace".
testing
Show how the user's training time and volume distribute across run, ride and swim, and flag underweighted disciplines. Use when the user asks "am I balanced", "discipline balance", "which sport am I neglecting".
data-ai
Compute a combined CTL/ATL/TSB across run, ride and swim for triathletes. Use when the user asks "my combined load", "triathlon training load", "total TSS across sports".