ride-power-curve

Compute mean-max power curves from cycling rides with watts streams.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/AlvaroLaraFF/strava-coach --skill ride-power-curve
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ride-power-curve
Source: https://github.com/AlvaroLaraFF/strava-coach/tree/main/.claude/skills/ride-power-curve
Command: npx skills add https://github.com/AlvaroLaraFF/strava-coach --skill ride-power-curve

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

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".

Core Features & Use Cases

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. Present results as two columns: window and best watts; mention which activity each best comes from; end with the implied 20-min FTP.

Quick Start

Run the power_curve.py script to compute your mean-max power curve from recent rides.

Frequently Asked Questions about ride-power-curve

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate my cycling mean-max power curve from Strava rides?

A mean-max power curve shows your highest average power sustained over specific durations. This Skill calculates your best rolling means for standard windows from 1 second to 60 minutes across recent cycling activities using your wattage data.

Can I estimate my 20-minute FTP from my cycling power data?

You can estimate your 20-minute FTP from your power data because the Skill reports your best 20-minute rolling mean. It presents results as a two-column table of windows and best watts, ending with the implied 20-minute FTP value.

What's the best way to find my critical power across recent cycling activities?

To find your critical power, this Skill aggregates all-time best rolling means across activities and attributes each peak to a specific ride. It processes up to 30 rides within a default 180-day window using local Strava streams.

Do I need Strava streams to compute my best 5-minute cycling power?

Yes, you need local Strava streams synced on demand to compute your best 5-minute power. The Skill requires a watts stream from your cycling rides and handles syncing your history, which may take a few minutes for large datasets.

Are there limitations when computing a power curve from a large cycling history?

A limitation when computing a power curve is that the Skill processes a maximum of 30 rides within a 180-day window. Large Strava histories may take a minute or two to sync initially, but the Skill handles common errors with defined recovery steps.