# Garmin/WHOOP Recovery Coach Agent

> Finds what's hurting your recovery and plans your training week.

- **What it does:** Reads your Garmin, WHOOP, Oura or Strava data to show what's hurting your recovery, like poor sleep or late workouts. You get a ranked list of causes and a training and sleep plan for the next week.
- **Agents:** Claude Code and Codex (through orbit-connect), Claude and ChatGPT (through the Orbit connector)
- **Install:** `npx -y --loglevel=error orbit-connect@0.3.33 install skl_466b3507fb5a075b34c36c2d`
- **Creator:** @orbitinbox on Instagram
- **Posted by:** 2 creators: [@amalgama](https://www.youtube.com/watch?v=0h20HMP5GXw), [@dmitry lambert](https://www.youtube.com/watch?v=8BL0CAIMbTU)
- **Reach:** Creators' posts about it have 59,160 views
- **Safety:** Checked by Orbit: nothing risky found in what it runs or reads
- **Installs:** 1
- **Last updated:** 2026-11-14
- **Page:** https://orbitinbox.app/s/garmin-whoop-recovery-coach-agent

## Skill

---
name: coach
description: Use when you ask why your HRV or recovery is low, or want training and sleep advice from Garmin, WHOOP, Oura or Strava data; it ranks what drags recovery.
---

# Coach: your recovery drags and next week, from your own data

Generic fitness advice is useless because Claude has never seen the person's sleep, HRV or training. This skill
fixes that: get the data, compute the facts, rank what costs the most recovery, plan the week around it.

Rules that override everything else:
- **Only the user's data.** Every claim points to numbers from their files or tools. No generic tips.
- **Thin data is said out loud.** Fewer than ~3 weeks, a habit seen on 1-3 nights, or two habits that always happen
  together: say so ("your data can't separate basketball from the beer") instead of guessing.
- **Not medical advice.** Chest pain, fainting, a resting HR jump of 10+ bpm for several days, or illness: tell them to see
  a doctor, and plan rest.
- **Never write to the watch or calendar without an explicit yes** for that week's plan.

## Step 1: get the data (pick the path that fits)

**Garmin (connector).** If `garmin` MCP tools are available (for example `get_sleep_data`, `get_hrv_data`), use them.
If not, walk the user through `references/garmin-setup.md` (free, about 5 minutes, they type their own Garmin login into
the auth command; never ask for their password in chat). Then pull the last 8 weeks:
`get_sleep_summary_range` (per night: sleep score, duration, stages, HRV, resting HR; max 90 nights per call),
`get_hrv_trend` (daily HRV), `get_morning_training_readiness` per day (the 0-100 readiness, used as the "score";
`get_body_battery` if readiness is missing), `get_activities_by_date` (type, start, duration, training load).
Write them to `coach/daily.csv` and `coach/workouts.csv` in the format at the top of `scripts/recovery_stats.py`
(add 0/1 habit columns only if the user tells you their habits per day; Garmin has no journal).

**WHOOP (export).** WHOOP has no workout push, so this path ends with the plan. Ask for the export folder: in the WHOOP
app, More (bottom-right menu) > App Settings > Data Export, request it; WHOOP emails a link to a zip with
`physiological_cycles.csv`, `sleeps.csv`, `workouts.csv`, `journal_entries.csv` (WHOOP help: "How to Export Your Data").
Unzip it into a folder.

**Oura / Strava / anything else.** Convert what they have into `daily.csv` (+ `workouts.csv`) as above. Strava alone
has no sleep or HRV: say the ranking will cover training load only.

## Step 2: compute the facts (don't eyeball CSVs)

```
python3 -I <skill>/scripts/recovery_stats.py --whoop EXPORT_FOLDER --out coach/stats.md
python3 -I <skill>/scripts/recovery_stats.py --daily coach/daily.csv --workouts coach/workouts.csv --out coach/stats.md
```

It prints baseline, recovery/HRV by wake-up day, every habit's yes-vs-no gap (and on alcohol-free nights, because
alcohol confounds everything), late and hard workouts, late bedtimes, short sleep, which habits and workouts land on
which weekday, and a first ranking by points lost per week. It does no interpreting: that is your job. Open the CSVs
yourself to check anything surprising (for example the actual Thursday scores, one by one).

## Step 3: write the answer in this order (short, scannable, numbers everywhere)

1. **Open with the single biggest pattern, in exactly this shape:**
   "Your HRV drops every <day>: <x> ms vs <y> ms on other mornings. Here's why: <the cause, in plain words>."
   Example: "Your HRV drops every Thursday: 43 ms vs 59 ms on other mornings. Here's why: the Wednesday beer after
   basketball." Use HRV when it moves (swap in recovery or resting HR only if HRV doesn't), name the weekday and the
   cause the data actually shows, and say "(or the late game; your data can't split them)" when it can't.
2. **Baseline**: recovery, HRV, resting HR, sleep vs sleep need. One line each.
3. **Patterns**: a small table by wake-up day, a small table of the night-before factors (n, recovery, HRV, sleep).
   Use the alcohol-free rows to judge the non-alcohol habits.
4. **The top 5 things dragging your recovery down, ranked by what they cost** (points lost per week, or per
   occurrence when rarer). For each: a plain-English headline, the evidence (numbers, dates, how many weeks), and
   one specific fix. Flag confounding and small n right there. Merge duplicates (a late workout that is always followed
   by a beer is one drag, not two; say the data can't split them and make this week the test). Then one line:
   "Not worth fixing, based on your data:" for factors that cost nothing.
5. **Next 7 days (Mon-Sun)**: a table with each day's workout (type, length, intensity or HR zone), bedtime target and
   one habit rule. Keep their sports and their usual days where possible; move the hardest sessions onto their
   best-recovery mornings; put an easy day after the hardest one; target the top drags directly. Zones: from a tested
   max HR or their device's zones (`get_heart_rate_zones` on Garmin); otherwise from the highest recorded HR, and say so.
6. **What to watch**: the one or two numbers that will show next week whether the fixes worked.

Save it as `coach/plan.md` (and say where).

## Step 4 (Garmin only): put the week on the watch

Ask: "Want me to put these workouts on your Garmin?" Only after a yes:
- Build each structured session with the builders (`create_run_workout`, `create_run_interval_workout`,
  `create_strength_workout`, `create_walk_run_workout`) or `upload_workout` for other sports (HR-zone targets per
  `references/garmin-setup.md`), collecting the returned `workout_id`s.
- Schedule them on the plan's dates with `schedule_week` (a list of `{date, workout_id}`) or `schedule_workout`.
  Scheduled workouts reach the watch's calendar on their own at its next sync with Garmin Connect. Use
  `push_workout_to_device` only if they also want a workout in the watch's workout list (each call queues another copy).
- Report what was created and scheduled, with dates. Rest days and habits stay in the plan only.
- To undo: `unschedule_workout(s)` / `delete_workout(s)`.

## Weekly loop

Next week: pull or export again, rerun the stats, compare against last week's "what to watch", keep the fixes that
worked, then the next plan.

Shared by @orbitinbox, credited on Orbit.