peloton-stats
by niemesrw
Coding Agents & IDEsBrief
Fetch and report Peloton cycling workout statistics.
Description
What This Skill Does
Fetches cycling workout data from the Peloton API using only Python stdlib. Pulls weekly stats including rides, duration, calories, output, power, resistance, and cadence, plus a recent rides table with instructor info.
Zero external dependencies means no virtual environment or package installs — just Python and your credentials.
When to Use It
- Check weekly cycling progress before a Monday review
- Compare power output across rides this week
- See which instructors you rode with recently
- Track total calories burned over the last 7 days
- Get a quick workout summary without opening the Peloton app
Example Workflow
User asks: Show me my Peloton stats for this week
- 1
Reads Peloton credentials from auth-profiles.json
- 2
Authenticates against api.onepeloton.com
- 3
Fetches cycling workouts from the last 7 days
- 4
Aggregates totals and averages across all rides
- 5
Formats results as a markdown report with a recent rides table
Markdown summary showing 4 rides, 210 min, 1,840 cal, 320 kJ output, avg 185W, 52% resistance, 84 RPM, with per-ride breakdown by date, class, and instructor
Requirements
- Peloton account credentials (username and password)
- Active Peloton subscription
Installation
clawhub install niemesrw/peloton-statsRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.