Blog · November 7, 2026 · 7 min read · by Vilva Athiban P B
Why Your Legs Go Dead After a Long Claude Code Session: A Two-Minute Standing Calf, Glute and Hamstring Routine Between Agent Runs
Three hours into a pairing session with Claude Code, you stand up to get water and your legs are not quite yours. Nothing is injured; nothing has moved. The other routines in this series worked the hips and lower back and the upper body. This one is for the three muscle groups below the hip that do nothing at all while you sit: calves, glutes and hamstrings. It is standing, it needs a chair back or the edge of the desk, and it fits inside one agent run.
Why your legs go dead after a long session
Sitting asks almost nothing of the lower body. The calves, which work every time you walk, sit still. The glutes are being sat on rather than used. The hamstrings are held in one shortened position with the knees bent. Stand up after hours of that and the first thing you notice is stiffness. The fix is not a gym session; it is asking those three groups to do their job for two minutes, a few times a day, at the moments you are not typing anyway.
Where the moves come from
Every move below is taken from one public page: the NHS strength exercises guide (last reviewed 28 February 2024). It is written for general strength at home, not for developers, and it says to build up slowly, to gradually increase repetitions over time, and to try to do the exercises at least twice a week. We kept its instructions and counts; we added only the order, the timings and the idea of attaching the set to an agent run. There is no rep science here beyond what the NHS page states.
The two-minute standing routine
The NHS page says to choose a solid, stable chair that does not have wheels, so use the back of a non-rolling chair or the edge of the desk for balance, not your office chair. Shoes on or off is up to you. Move slowly; every move on the page is described as slow and controlled.
- Calf raises, 5 reps, about 20 seconds. Rest your hands on the back of a chair for stability. Lift both heels off the floor as far as is comfortable; the page says the movement should be slow and controlled. Lower and repeat 5 times. The stated progression: perform the exercise without support. This is the one for the calves that have been still for three hours.
- Mini-squats, 5 reps, about 30 seconds. Rest your hands on the back of the chair and stand with your feet hip-width apart. Slowly bend your knees as far as is comfortable, keeping them facing forwards and aiming to get them over your big toe, back straight at all times. Gently come up to standing, squeezing (clenching) your buttocks as you do so. Repeat 5 times. That squeeze on the way up is the glute work.
- Standing leg extension, 5 reps each leg, about 50 seconds. Hands on the chair back, standing upright, raise your left leg backwards keeping it straight, and avoid arching your back as you take the leg back. The page says to hold the lift for up to 5 seconds and repeat 5 times with each leg, and that you should feel it in the back of the thigh and buttock, which is the hamstring and glute pair this routine is for.
- Sideways leg lift, 5 reps each leg, about 20 seconds. Hands on the chair back. Raise your right leg to the side as far as is comfortable, keeping your back and hips straight, and avoid tilting to the right. Return, then raise your left leg. Raise and lower each leg 5 times. It wakes up the side of the hip that the other three skip.
That is roughly two minutes. On a longer run, add the page’s sit-to-stand move. Sit on the edge of the chair, feet hip-width apart, lean slightly forward, stand up slowly using your legs not your arms, then slowly sit down; aim for 5 repetitions, and the slower the better. Do not add reps beyond the page’s counts on day one; it says to increase gradually over time.
Attaching it to agent runs
The hard part of any desk routine is remembering to start. The cue that works for developers is the one that already interrupts you: the agent going off to work. The moment Claude Code or Codex starts a task you will not read line by line, stand up and put your hands on the chair back. For a short run, do calf raises and mini-squats. For a long one, do all four. If the agent finishes mid-set, finish the set; a diff that has waited eight minutes can wait twenty seconds.
Where NotchFit fits
NotchFit is the $20 one-time macOS menu bar and notch app (macOS 14 or later, Apple Silicon and Intel, sold on Whop) for developers who use Claude Code or OpenAI Codex CLI. It turns the cue above into something the Mac does for you: when your AI agent starts a task, the MacBook notch expands into a panel with a guided, animated workout on the left and the AI’s live progress on the right, with a rep and time countdown ring and Done, Skip and Pause. Every set starts only when you tap Start set, and a “Claude is done” or “needs permission” notification that arrives mid-set waits until the set ends, so the twenty-second rule above is enforced rather than hoped for. Macs without a notch get a top-centre pill.
The plan is written by your own agent: run /notchfit:plan in Claude Code or $notchfit-plan in Codex, answer its questions about goal, equipment, days, minutes and injuries, and it writes a weekly plan using only the 239 exercises the notch can animate. We have not checked whether the library carries these four moves under the NHS names, so treat this routine as something you tell the planner about (a lower-body goal, a bad knee) rather than something it ships verbatim. The user guide covers install, the Claude Code plugin and Codex hooks, and the daily flow. It runs locally with no account and no telemetry, and the hooks run async so they never slow your AI down. It is a workout guide, not medical advice.
Honest trade-offs
- Open-plan offices. Calf raises behind a chair pass unnoticed; standing leg extensions do not. In a shared space do the first two and save the leg lifts for home, or go with the standing desk routine from earlier in the series.
- Knee trouble. The NHS page says to bend the knees only as far as is comfortable. If a mini-squat hurts, skip it and keep the other three; the leg extension and sideways lift load the hip, not the knee.
- It is not a workout. Five reps of four moves is a reminder to the legs that they exist. Strength comes from the twice-a-week the NHS page asks for, which an agent run does not replace.
- Not medical advice. If you have a recent injury, pain that builds as you hold, or numbness that does not fade when you walk, see a GP or physiotherapist first. We are not clinicians.
FAQ
How many times a day?
Once per long agent run is plenty. The point is breaking up sitting, so little and often beats one big set.
Should it hurt?
No. Every move on the page is cued “as far as is comfortable”. Stop at the first sharp pain.
Keep reading
Desk Exercises for Programmers: 15 Moves to Do While Your AI Agent Codes
7 min read
Exercise While Coding: Turn Claude Code Wait Time Into Micro-Workouts
7 min read
Claude Code Notch Notifications on Mac: See When Claude Is Done Without Watching the Terminal
7 min read
Claude Code Tips and Tricks: 12 Ways to Use Claude Code Effectively
8 min read
Claude Code Multiple Sessions: How to Run Agents in Parallel Without Losing Track
6 min read
A Claude Code Workflow That Doesn't Involve Watching the Terminal
5 min read
Claude Code Hooks: A Practical Guide to Automating Your Agent Workflow
7 min read
Claude Code Auto Mode: Fewer Permission Prompts Without Living Dangerously
7 min read
Claude Code Subagents: How to Delegate Work to Specialized Agents
7 min read
Claude Code Context Management: Treat the Context Window Like a Budget
6 min read
Per-Subagent Model Selection: Route the Grunt Work Down, Keep the Judgment Up Top
7 min read
Skills and Plugins: How to Teach Claude Code Your Way of Working
7 min read
Claude Code Background Tasks: Run Long Commands Without Blocking Your Session
6 min read
Codex CLI Notifications: How to Get a Ding When Codex Is Done or Needs Input
7 min read
Cursor Notification When Done: Every Way to Get Notified When Cursor Finishes
6 min read
Claude Code Notifications: How to Get Notified When Claude Code Finishes or Needs Your Input
6 min read
Want to Be Notified When Claude Responds? How Claude Notifications Work on Web, Desktop, and Mobile
5 min read
Claude Code Notification Scripts: Copy-Paste Recipes for Every Platform
6 min read
Get a Ding the Moment Codex Needs Your Response
6 min read
Get Notified the Moment Claude Code Is Waiting for Your Input
6 min read
“Notifications Are Turned Off for Claude” — Here Is the Fix
6 min read
Codex Sound When Done: Make Codex CLI Play a Sound When It Finishes
6 min read
terminal-notifier + Claude Code: Native macOS Alerts When Your Agent Finishes
6 min read
Gemini CLI Notifications: How to Get a Sound or Alert When Gemini Finishes
6 min read
Get Claude Code Notifications on Your Phone
6 min read
Claude Code Remote Control, Explained
7 min read
preferredNotifChannel: Claude Code's Built-In Notification Setting
6 min read
Claude Code Notifications in tmux and Over SSH
7 min read
Claude Code Effort Levels: Why Your Setting Keeps Getting Ignored
8 min read
Codex vs Claude Code Notifications: How Each One Tells You It Is Done
8 min read
Claude Code Notifications Not Working: A Diagnostic Checklist
10 min read
Claude Code Notifications Inside Your Editor's Terminal
7 min read
CLAUDE_CODE_DISABLE_BACKGROUND_TASKS Explained
7 min read
CLAUDE_CODE_DISABLE_BG_SHELL_PRESSURE_REAP Explained
8 min read
Cursor Alerts Explained: Every Alert Cursor Raises, and How to Control Them
7 min read
Claude Code Environment Variables: The Groups That Actually Matter
10 min read
Claude Code Notifications on WSL and Windows
9 min read
Claude Code Checkpoints and /rewind
8 min read
Claude Remote Control: How It Works, Turning It Off, and Auto Mode
7 min read
Claude Code /loop: Poll a Deploy, Babysit a PR, and Get Told When It's Done
8 min read
Setting Up NotchFit With OpenAI Codex CLI: Hooks, $notchfit-plan, and the Daily Flow
7 min read
Claude Mods Explained: What the New Plugin Layer Can Do, and How to Turn On 'You Should Know'
9 min read
NotchFit vs Mac Break Reminder Apps: A Clock or a Signal From Your Coding Agent?
8 min read
Claude Code Headless Mode: Running claude -p in Scripts and CI, and the Three Signals That It Finished
10 min read
Building a Movement Habit at a Desk: Use the Agent Run as the Cue, One Set as the Unit, and Streaks Carefully
8 min read
Claude Code MCP Servers Explained: Adding Servers, Choosing a Scope, Handling Secrets, and Why Long Tool Calls Go to the Background
10 min read
/notchfit:plan Explained: How Claude Code or Codex Writes a Weekly Workout Plan the Notch Can Actually Run
8 min read
Claude Code Spinner Verbs Explained: What “Pondering” and “Brewing” Mean, How to Change Them, and Why You Should Stop Watching the Spinner
7 min read
Why NotchFit's Done and Permission Alerts Wait Until Your Set Ends, When That Costs You, and How to Turn the Workout Off
7 min read
How to Resume a Claude Code Session: --continue vs --resume, Naming Sessions, the Session Picker, Branching, and What Comes Back
9 min read
NotchFit on a Mac Without a Notch: How Pill Mode Works on Mac mini, iMac, Mac Studio and a MacBook With the Lid Closed
6 min read
How to Run a Claude Code Session in the Background: /background, claude --bg, Agent View, and Getting Back to It
9 min read
What a Notch App Can See: NotchFit's Local-First Design, What the Claude Code and Codex Hooks Send, and What Stays on Your Mac
7 min read
Why Codex CLI Asks for Permission Every Time, and How to Tune the Sandbox and Approval Policy Without Going Full Access
8 min read
What to Do While Claude Code or Codex Works: A Simple Protocol for the Two-to-Twenty-Minute Gap in Every Agent Run
7 min read
Is It Possible to Get a Notification When Claude Code or Codex Hits a Reset? Yes for Claude Code: the quota_auto_resume Hooks, Explained
8 min read
What a MacBook Notch App Can Actually Do: The Five Kinds of Notch Utility, Their Trade-offs, and Where NotchFit Fits
7 min read
How to Make MCP Servers Not Take Up as Much Context in Claude Code: Tool Search, alwaysLoad, Scopes and Output Caps
8 min read
The notchfit Command Line: Drive Your Workout, Read Status as JSON, Validate Plans and Test the Notch Without Leaving the Terminal
7 min read
How to Audit MCP Tool Calls Made by Claude Code: A Five-Minute Hook Audit Log, OpenTelemetry Tool Events, and the Transcript for Investigations
9 min read
Exercise Snacks: What the Research Actually Says About One-Minute Vigorous Breaks, What It Does Not, and How NotchFit's Agent-Run Sets Compare
8 min read
How Long Until a Claude Code MCP Tool Call Times Out? The Four Timers (Startup, Two-Minute Backgrounding, Idle, Wall-Clock), Their Defaults, and Which One to Change
8 min read
Sitting Too Long as a Developer: The Posture Problems Coding Agents Made Worse, What the Research Says About Breaking Up Sitting, and How NotchFit Turns an Agent Run Into the Break
8 min read
Claude Code .mcp.json Explained: Where Project-Scoped MCP Servers Are Read From, What Happens in Subfolders and Monorepos, and Why a Committed Server Shows Pending Approval
8 min read
Standing Desk Exercises for Developers: Why Standing Still Is Not the Goal, Eight Movements That Fit a Thirty-Second Agent Run, and How NotchFit Cues Them From the Notch
8 min read
The claude mcp Command Reference: add Syntax by Transport, What --scope local, project and user Actually Mean, add-json and add-from-claude-desktop, list, get, remove, login and serve
9 min read
Your First Week With NotchFit: Install and Simulate, Run Real Tasks, Write a Smaller Plan Than You Want, Tune the Alerts, Survive the First Skipped Day, and Decide What Stays
8 min read
How to Stop a Running Claude Code Task: Esc vs Ctrl+C, Background Tasks, Subagents, and Disconnecting Remote Control
8 min read
Pomodoro vs Agent-Driven Breaks: Timing Movement to Claude Code and Codex Runs Instead of a Timer
7 min read
Claude Desktop MCP Configuration: claude_desktop_config.json, Logs, Extensions, and the Difference From Claude Code
9 min read
The 20-20-20 Rule for Developers: Eye Strain, the Evidence, and Agent Runs as the Cue
8 min read
Claude Agent SDK + MCP Servers: mcpServers, allowedTools, Status Checks and Auth
9 min read
Discreet Desk Exercises for an Open-Plan Office While Claude Code Runs
7 min read
claude remote-control Server Mode: Run Claude Code as a Session Server
9 min read
Wrist and Forearm Stretches for Developers: A 60-Second Routine for Every Claude Code Run
7 min read
Claude Remote Control vs Claude Code on the Web: Which to Use and How They Differ
9 min read
Neck and Shoulder Stretches for Developers: A 90-Second Routine Between Agent Runs
7 min read
What Happens When You Step Away From a Claude Code Session: Prompt Cache Expiry, Idle Compaction, and When to Come Back
8 min read
Hip Flexor and Lower Back Stretches for Developers: A Two-Minute Standing Routine Between Agent Runs
7 min read
Claude Code's Monitor Tool: Watch Logs, CI Runs and PRs (Even a WebSocket) and Let Claude React While You Keep Working
7 min read
Hunched Over the Keyboard? Upper-Back (Thoracic) Stretches for Developers: A Two-Minute Seated Routine Between Agent Runs
6 min read
Claude Code Ultrareview: The 15–25 Minute Cloud Review, What to Do While It Runs, and How the Findings Come Back
8 min read
claude --teleport: Pull a Cloud Session Into Your Terminal, Start One With --cloud, Send Follow-Ups From the CLI, and the Requirements That Trip People Up
8 min read
Rounded Shoulders From Typing? A Two-Minute Chest Opener, Chair Twist and Wall Press Desk Routine for Developers Between Agent Runs
7 min read
Claude Code ultrathink Explained: It Now Runs the Turn at xhigh Effort, How It Differs From /effort, What It Costs in Time, and What to Do While It Runs
7 min read
Best Break Reminder Apps for Mac in 2026: Time Out, Stretchly, BreakTimer, LookAway and NotchFit Compared
7 min read
Claude Code 2.1.319: denyInsteadOfPrompting, MCP Background Tasks and What Changes for Unattended Runs and Notifications
8 min read
Drink Water and Stand Up Cues for Developers: Use Claude Code Agent Runs as Hydration and Standing Reminders
7 min read
Claude Code 2.1.323: Code Mode, Progress Heartbeat, Auto-Mode Fallback and 1M Context — What Changed for Unattended Runs
9 min read
Notch Media Controls on a Mac: What the MacBook Notch Can and Cannot Do, Dynamic Island-Style Apps vs NotchFit
7 min read