cd /news/large-language-models/claude-code-as-a-claude-coach · home topics large-language-models article
[ARTICLE · art-48653] src=lesswrong.com ↗ pub= topic=large-language-models verified=true sentiment=↑ positive

Claude Code as a Claude Coach

A developer created a personalized AI fitness coach using Anthropic's Claude Code, storing workout programs and logs in a git repository. The system adapts to user feedback, tracks progress, and generates exercise plans based on available equipment and energy levels. The bootstrapping skill is shared publicly for others to replicate the setup.

read4 min views1 publishedJul 6, 2026

Exercise is hard but it's even harder if you have to use your brain and muscles at the same time. I wish a personal trainer would just teleport into my house whenever I work out, tell me exactly what to do, and then record my progress (and complaints) to improve the program going forward. Apps are too rigid or too complicated; personal trainers are expensive and require scheduling; but using Claude Code [1] as a personal trainer has worked out well for me.

I drag myself out of bed, drink some coffee and electrolytes (separately, I'm not a monster), and then walk down to the gym in the basement. I open the Claude Code tab in the Claude Android app, select the brendanlong/claude-coach

repo, and ask:

What should I do today?

Claude reads the repo's instructions and logs and asks about:

I tell it I'm at home and have minimal energy, so it proposes that we deal with the two most out-of-date workouts (Romanian deadlift and squats), and then gives me a program:

A short lower-posterior day built around the hinge test.

  • RDL - test 55 lb DBs, 3x5. Last time 50 was RPE 6/6/7 (clearly easy, trigger met). If 55 moves at RPE ≤ 8 with a clean back, that's your new working weight.

  • Squat (DBs at sides) - 3x8 @ 2x30, owning that new variant clean (goal is control, not load). I grudgingly agree, working through sets, telling Claude what I did and how hard it was ("First of 8 at 30 lbs, RPE 8"). At the end, it logs everything, and makes a PR. I merge it and then collapse into a chair for the next 8 hours.

The day above went smoothly, but sometimes I want changes. I've told Claude that certain exercises are harder than it expects or painful, and switched them to alternates (update the repo instructions). I also sometimes tell it I don't feel like doing the proposed exercise and do something else. Or sometimes the stars will align and I'll have more energy and I can ask for extra workouts.

I also have it add workouts as needed to help with my goals. For example, I had trouble with leg balance exercises in yoga, and it added lunges and calf raises to make that easier going forward.

No matter what comes up, I don't have to look anything up or think about it [2], I just tell Claude what I do/don't feel like doing and the program gets updated.

Since LLMs are stateless but a workout program needs to keep track of things, I used a git repo with Claude Code (via the Android app). I told Claude I wanted to use it as a personal trainer, and it walked me through the setup. Some of the early decisions didn't work very well (Claude wanted a very rigid program that didn't match my laziness schedule; and it really wanted to use heart rate zones from my fitness band, which don't seem to be accurate for me), but since everything is code, I just told it what I wanted and had it update CLAUDE.md.

My current program tracks all of the equipment in my home gym (including adjustable dumbbell increments), the exercises in the program and when I last did them (plus a script to find the oldest ones), and logs for every session in case we need them. I also have a script to check the weather (for running) and some validation to keep data in a consistent format.

If this sounds helpful, you could just create a git repo and ask Claude to set it up, but to save time, I also created a bootstrapping skill to help avoid the problems I had originally. Just create a git repo, open it in Claude Code, and tell it:

Run this skill:

[https://gist.github.com/brendanlong/1d86d44963327bc00fb5d845f04770ab]

It should interview you and then set everything up. After that, just open the app whenever you want to can tolerate working out and ask it what to do. And if you don't want to do what it proposes, tell it you want to do something else. It's your repo, customize it for you!

I assume this whole setup would work with non-Claude AIs as well, as long as you have a way to run the coding agent mode from your phone, but my only experience using this is with Claude.

I know, I know, we're not supposed to outsource all of our thinking to AI, but I hate exercise and the options are "don't think about it and don't do it" or "don't think about it but do what Claude says".

── more in #large-language-models 4 stories · sorted by recency
── more on @claude code 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/claude-code-as-a-cla…] indexed:0 read:4min 2026-07-06 ·