/hermitd-fitness:weekly-load-reviewfrom hermitd-fitness
Reviews weekly Strava training load against a 4-week rolling baseline, computes load-adjusted run distance with elevation multipliers, and delivers a coaching summary with RPE notes.
Ships in hermitd-fitness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Pull the last 14 days of Strava activities and compute weekly training load summaries for this week (Mon–Sun) and the prior week (Mon–Sun). Compare against the 4-week rolling baseline stored in state/strava-weekly-baselines.json (create if missing).
Call mcp__strava__check-strava-connection. If disconnected, alert the operator via the configured channel and stop. If no channel is configured, pipe the disconnection into .hermit/bin/hermitd-run task note .hermit <id> only inside an open record's turn (otherwise skip the note) and stop.
Call mcp__strava__get-recent-activities with perPage: 30 to cover 14+ days.
Determine the two week boundaries: this week is the most recent Mon–Sun period ending today (Sunday); the prior week is the Mon–Sun before that. Compute the exact date ranges from today's date.
For each week compute:
strength_minutes (sum moving_time over WeightTraining/Workout activities: already in the Step 2 payload, no extra call; moving_time is in seconds, so divide the sum by 60)adjusted_km): for each run activity, derive
elev_gain_per_km = elevation_gain_m / distance_km and apply a heuristic multiplier to account
for the higher mechanical load of gradient (descents especially):
< 10 m/km → 1.0× · 10 to < 25 m/km → 1.2× · 25 to < 40 m/km → 1.35× · ≥ 40 m/km → 1.5×.
Sum the adjusted distances to get the week's adjusted_km.Read state/strava-weekly-baselines.json and state/activity-notes.json (or {} if absent) in the same turn. The baselines file is used in step 6; the activity notes will be used in step 8.
Compare this week's adjusted_km to the 4-week rolling average of adjusted_km from the
baseline file. If any historical week lacks adjusted_km, use
that week's raw km as its adjusted value for the rolling average.
25% above average → 🔴 "Load spike: [Y]km (adj) vs [avg]km average"
25% below average → 🟡 "Load dip: [Y]km (adj) vs [avg]km average"
Update state/strava-weekly-baselines.json: append this week's totals, including adjusted_km
alongside the existing raw km, and strength_minutes. Keep only the last 8 weeks.
From the activity list fetched in step 2, collect the IDs of this week's activities. Filter the activity-notes.json read in step 5 to those IDs. If 2 or more RPE entries exist, compute the average (one decimal place) and prepare the line: 💬 Avg RPE: X.X/10 (N=<count>). Otherwise prepare no RPE line.
Send a message via the configured channel. If no channel is configured, pipe the summary into .hermit/bin/hermitd-run task note .hermit <id> only inside an open record's turn (otherwise skip the note) instead and skip the notification.
Compose in the operator's configured voice, covering the weekly totals, load flag, available RPE, and next-week recommendation. Example shape:
📅 Weekly review: w/e [date]
🏃 Run: [X]km ([N] sessions, [E]m elev) → load-adj [Y]km [flag]
🚴 Bike: [X]km ([N] sessions)
💪 Strength: [N] sessions ([M] min)
💬 Avg RPE: X.X/10 (N=3) ← omit this line if fewer than 2 rated
Next week: [one-sentence recommendation based on load]
Write the load summary to .hermit/compiled/weekly-summary-<YYYY-MM-DD>.md (today's date) with frontmatter:
---
title: "Weekly Summary: w/e <date>"
type: weekly-summary
created: <ISO 8601>
task: <T-... for the open record in this turn; omit this field otherwise>
tags: [weekly-summary, training]
load_flag: <spike|dip|consistent>
---
Body: the full week totals, load flag, and recommendation from Steps 4–6.
Pipe one line into .hermit/bin/hermitd-run task note .hermit <id> only inside an open record's turn (otherwise skip the note) and finish this workflow.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub gtapps/hermitd --plugin hermitd-fitness9 skills in this plugin
/activity-deep-divePer-activity coaching analysis from Strava. Detects interval vs steady-state sessions and road vs trail terrain, branching the metrics accordingly. Computes zone breakdown and recovery estimate; saves a compiled artifact and returns a compact summary. Run after a workout or to retro-analyze a specific activity./capture-activity-rpeCaptures RPE (1-10) and subjective notes when the operator replies to a daily fitness-brief notification on any configured channel. Triggers on inbound channel messages matching RPE grammar while state/strava-pending-rpe.json has a sync from the last 24h. Channel-agnostic./domain-brainstormOn-demand fitness-voice brainstorm — reads Strava history and training-goal signals to surface at most 2 coverage-gap or imbalance ideas, each gated by proposal-triage before becoming a proposal task. Invoke when the operator asks "what am I neglecting?", "anything off with my training?", or "brainstorm training gaps". Never runs autonomously./fitness-briefComposes and delivers the daily fitness brief — a forward-looking morning read (readiness + today's plan) or a backward-looking evening read (today's training, or an earned-rest note, + tomorrow's setup) — in the operator's configured voice. Invoke with /hermitd-fitness:fitness-brief --morning|--evening|--slot <name>. Becomes the plugin's two daily beats — the morning Strava connectivity check and the evening activity sync, RPE binding, and Run deep-dive./hatchOne-time fitness hermit setup. Configures Strava MCP access, wires domain skills as routines into config.json. Run once per project after /hermitd:hatch./monday-planningSuggest a weekly training structure from recent load and deliver the plan.Other plugins' skills for the same job