.claude/skills/weekly-log/SKILL.md
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".
npx skillsauth add AlvaroLaraFF/strava-coach weekly-logInstall 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.
Calendar-style weekly view of the user's training.
python3 .claude/skills/weekly-log/scripts/weekly_log.py --weeks 8
--weeks N controls how many weeks back to show (default 8).
Render a markdown table: Week | Activities | Run km | Ride km | Swim km | Other km | Time | Elev.
Highlight weeks with distance > 1.3× the trailing 4-week average.
| Error contains | Action |
|---|---|
| No token / StravaAuthError | Invoke strava-setup, retry |
| No activities / Sync first / No data | Invoke strava-sync --level summary, retry |
| anything else | Surface to the user |
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.
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".
data-ai
Persist a confirmed weekly training plan (one row per session with target HR range and pace range) and measure adherence against actual activities. Use when the user says "my plan this week", "what's on today", "save this plan", "how am I doing vs plan", "plan adherence", "did I complete this week", or any equivalent in Spanish.