A strength and nutrition coach for Claude Code. Every number comes with its reason. Your data stays in your folder.
For now CoAIch is built for iPhone and Apple Health users. Android (Health Connect) comes later.
Preview. "CoAIch" is a working name until the trademark search is done. The plugin is version 0.9 (preview). See the roadmap and the changelog.
Most training apps tell you what to lift next and never say why. Most AI chats forget your last session. CoAIch keeps your training in plain files in one folder. Every target comes with a reason you can check:
You did 100 kg × 7, 7, 7, 7 with two reps to spare, so next week is 102.5 kg.
The main skills, in plain words:
- Onboard and setup. Asks a few questions, runs a medical check first, writes your profile and builds your first program.
- Import. Brings in your workouts from Strong, Hevy or openGym. From Apple Health (a Health Auto Export file) it brings in your steps, weight, sleep and body measurements such as body fat and waist.
- Program build and audit. Builds a program and checks it against the evidence.
- Next targets. Grades last week and proposes next week's load and reps, each with its reason. You say yes first.
- Weekly review. Imports, grades, proposes, asks, applies, and writes a check-in. With Hevy connected, it can send next week's targets to your Hevy routines, after you say yes.
- Monthly check-in. Four weeks of trends. Grades past changes. Plans the next month.
- Roadmap and adapt. Lays out the year. Rebuilds the plan around pain, fewer days or travel.
- Feedback. Drafts a GitHub post. You read it and post it yourself.
Experimental, off until you turn them on: nutrition (calories, macros, meals) and physique (muscle ratings from your progress photos).
From inside Claude Code:
/plugin marketplace add cubetes/coaich
/plugin install coaich@coaich
From a clone of this repository, add the repository root instead: /plugin marketplace add ./coaich. You need
Python 3.9 or newer.
Then, in an empty folder for your training, run:
/onboard
/onboard starts with /setup. It asks where your workouts come from (Strong, Hevy, openGym or by hand) and
whether to read Apple Health for steps, weight and body measurements. Then it checks that it all works. Run
/setup again any time.
Try it first. Clone this repository and open examples/demo-athlete, a made-up athlete with 12 weeks of
training. Run claude inside it, then /weekly-review. When
asked for the week, say 2030-W13.
| Session | Exercise | Target | Did | Grade | Next | Why | Your OK |
|---|---|---|---|---|---|---|---|
| lower-a-1 | Barbell Squat | 95×10·10·9·8 | 95×10·10·9·8 | met | 95×10·10·10·8 | Target met: same weight, one more rep on set 3 (9 → 10). | |
| lower-b-1 | Romanian Deadlift | 85×10·10·10·10 | 85×10·10·10·10 | met | 90×6·6·6·6 | 10 reps on every set with 3 reps left: +5 kg, reps back to 6. Needs your OK: load goes up on a spine-loaded lift. | ask |
The plugin guide has the full list of skills, the folder layout and the demo's other steps.
CoAIch splits the work. Your Claude Code session orchestrates: it asks you, checks every result against the scripts, and applies only what you said yes to. Two helpers do the routine work on cheaper models: clerk on Haiku (imports, audits) and coach on Sonnet (drafting the weekly and monthly reviews). They read and draft, and never decide.
- Recommended:
/model opusfor the session. It verifies best. - Budget:
/model haiku. It passed the same safety checks at about a seventh of the cost.
Measured with the plugin's evaluations (9 cases × 3 runs, October 2026). Every safety case (the medical stop, the eating-disorder question, photo opt-in, asking before a heavier spine-loaded lift) passed in both:
| Session model | Runs passed | Cost per run | Time per run |
|---|---|---|---|
| Opus (helpers on Haiku and Sonnet) | 24/27 | about $0.22 | about 33 s |
| Haiku (helpers on Haiku and Sonnet) | 25/27 | about $0.03 | about 30 s |
The misses were a grader judging the wording of a long weekly-review reply, not a safety rule. Costs are API prices; on a Claude plan they count against your usage.
- CoAIch does not replace a doctor. Some health answers stop the plan until a doctor has cleared you.
- Your data goes through your own Claude Code session, so Anthropic processes it under your account's terms.
- There is no CoAIch server and no telemetry. Other services are used only when you turn them on.
- Your face never reaches Claude. Photo review removes it on your own Mac first, with Apple Vision (the face and body detection built into macOS, offline). It cuts below the chin, or covers the head on back photos, strips the location and camera data, and keeps only that copy. If a face can't be removed with confidence, nothing is filed.
- Photos and food tools are opt-in and experimental. Read the plugin guide before you switch them on.
- The full privacy policy.
The order is: plugin first (now), then a web companion, then the iPhone and Apple Watch apps.
- Web companion (next): see your plans and their reasons in any browser.
- iPhone and Apple Watch apps (last): in alpha today, not for other people yet.
They are built in their own repositories; this one is the plugin. Details in the roadmap.
CoAIch is free and open source, built by one person in the evenings. If it helps your training, you can support its development:
- GitHub Sponsors: monthly or one-off
- Buy Me a Coffee: a one-off thank-you
- Ko-fi: a one-off or monthly thank-you
Not a money thing? A star, a clear bug report or a shared link helps just as much.
Read CONTRIBUTING.md before opening an issue or a pull request. It also lists the repository
checks (tools/checks.sh). Report security or privacy problems privately: see SECURITY.md.
CoAIch is written with the help of Claude Code. A person decides what goes in, reviews every change and ships it.
The coaching rules are plain code with tests in scripts, so a number never depends on
what a model says that day. The instructions Claude follows in this repo are in CLAUDE.md.
AGPL-3.0. Contributions need the CLA in docs/CLA.md.
The code is AGPL-3.0. The CoAIch name and logo are not covered by the licence: forks are welcome under another name. See TRADEMARKS.md.