.claude/skills/gear-mileage/SKILL.md
Show cumulative mileage on each piece of gear (shoes, bikes). Use when the user asks how many km their shoes / bike have, gear status, when to retire.
npx skillsauth add AlvaroLaraFF/strava-coach gear-mileageInstall 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.
Aggregates distance per gear_id from the local activity history and queries Strava once per gear to get the official name and lifetime distance.
python3 .claude/skills/gear-mileage/scripts/gear_mileage.py
Markdown table: Gear | Type | Distance (km) | Activities | Status. Status
flags shoes >700 km as "REPLACE SOON", >1000 km as "RETIRE NOW".
| Error contains | Action |
|---|---|
| No token / StravaAuthError | Invoke strava-setup, retry |
| No activities / No gear_id / No data | Invoke strava-sync --level details --limit 50, 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".