Blog · September 25, 2026 · 7 min read

Desk Exercises for Programmers: 15 Moves to Do While Your AI Agent Codes

Programming used to mean long stretches of typing. With AI coding agents like Claude Code and OpenAI Codex, it increasingly means something else: you write a prompt, the agent works for one to ten minutes, and you wait. Most of us spend that wait hunched over the same keyboard, watching output scroll or reaching for a phone.

That wait is the best exercise window a developer has ever had. It's short, it repeats all day, and it doesn't cost you any focus — the agent is doing the work. Below are 15 desk exercises for programmers that fit neatly into one agent run. None need equipment beyond your desk, a wall or a chair, and none will make you sweat through your shirt before a standup.

Before you start

  • Move gently and within a comfortable range. These are movement breaks, not max-effort training. Nothing should hurt.
  • Check your chair. If it rolls, don't use it for squats or dips — use a wall or a fixed desk edge instead.
  • Injuries or health conditions? Talk to a professional before starting a new routine and skip anything that doesn't feel right.

Neck and shoulders: undo the "terminal hunch"

1. Neck tilts

Sit or stand tall. Slowly bring your ear toward your shoulder, hold for a breath or two, then switch sides. Keep it slow and gentle — don't pull on your head. 30 seconds total is plenty.

2. Chin tucks

Looking straight ahead, glide your chin straight back as if making a double chin, hold for two seconds, release. Great counterpoint to leaning toward a monitor. 10 reps.

3. Shoulder rolls

Lift your shoulders toward your ears, roll them back and down, and repeat in big slow circles. Reverse direction halfway through. 10 each way.

4. Arm circles

Stand up, arms out to the sides, and draw small circles that gradually get bigger. 30 seconds forward, 30 seconds back. It wakes up the shoulders after an hour of mouse work.

Wrists and hands: for keyboard-heavy days

5. Wrist flexor and extensor stretch

Extend one arm, palm up, and gently pull the fingers back with the other hand. Hold a few breaths, then turn the palm down and gently press the back of the hand. Switch arms.

6. Finger spreads and fists

Spread your fingers as wide as they go, then close them into a soft fist. Alternate slowly for 20 reps. Simple, and it feels great after a long review session.

Upper body: push-ups that fit in an office

7. Wall push-ups

Hands on a wall at shoulder height, feet a step back, body in a straight line. Lower your chest toward the wall and press back. The easiest push-up variation and a perfect first move. 10–15 reps.

8. Incline push-ups at your desk

Same idea, harder angle: hands on the edge of a sturdy desk, feet back, lower with control. Make sure the desk won't slide. 8–12 reps.

9. Chest opener

Clasp your hands behind your back (or hold a towel), squeeze your shoulder blades together, and lift your chest. Hold for 20–30 seconds. It's the opposite shape to typing.

Back and hips: fix the sitting posture

10. Standing cat-cow

Stand with hands on your thighs, knees soft. Round your back and tuck your chin (cat), then lift your chest and gently arch (cow). Move slowly with your breath. 8 reps.

11. Seated spinal twist

Sit tall, place your right hand on the outside of your left knee, and turn gently to the left. Hold a few breaths, then switch. Keep the twist easy — let your breath do the work.

12. Hip circles

Stand with hands on hips and draw slow, wide circles with your pelvis, like a hula hoop in slow motion. 30 seconds each direction. Hips get stiff fast when you sit all day.

Legs and cardio: get the blood moving

13. Bodyweight squats

Feet shoulder-width apart, sit back as if onto a chair, and stand up tall. If you're new to squats, actually touch a (non-rolling) chair at the bottom. 10–15 reps.

14. Calf raises

Stand behind your chair or next to your desk for balance, rise onto your toes, pause, lower slowly. 15–20 reps. You can do these while reading a diff.

15. High-knee march or step jacks

March in place bringing your knees up toward hip height, or do step jacks (a low-impact jumping jack where you step one foot out at a time). 45 seconds lifts your heart rate without making you breathless on your next call.

How to fit these into an AI coding day

The hard part of desk exercise was never the exercises. It's remembering to do them, and knowing when to stop. AI coding agents solve half of that problem: every prompt you send creates a natural break of a few minutes. A simple pattern:

  1. Send a prompt. Give Claude Code or Codex a task that will take a few minutes.
  2. Do one or two moves from the list. Pick one upper body and one lower body move, or one mobility move if you're stiff.
  3. Come back when the agent needs you — not before. Watching the terminal is exactly the habit you're replacing.

Rotate through the list across the day and you'll have touched every major area of the body by lunchtime without ever "going to work out". We go deeper on the habit side in turning Claude Code wait time into micro-workouts.

Let your notch run the routine

We built NotchFit to handle the remembering and the timing for you. While Claude Code or Codex is working, your MacBook's notch expands into a small panel: an animated exercise with a rep or time countdown on the left, and the agent's live progress on the right. When the AI is done or needs permission, NotchFit tells you — and if you're mid-set, the alert waits until you finish.

Many of the moves above — neck tilts, arm circles, wall and incline push-ups, cat-cow, hip circles, squats, high-knee marches and step jacks — are in its library of 239 animated exercises. You can also run /notchfit:plan in Claude Code and it will build a weekly plan around your fitness level, equipment and any injuries, using only exercises the notch can show.

A sample 10-prompt day

If you want a starting point, here's one rotation that covers the whole body in ten agent runs:

  1. Neck tilts + shoulder rolls
  2. Wall push-ups
  3. Bodyweight squats
  4. Wrist stretches + finger spreads
  5. High-knee march
  6. Standing cat-cow + chest opener
  7. Incline push-ups at your desk
  8. Calf raises
  9. Hip circles + seated spinal twist
  10. Step jacks + arm circles

That's it. No gym bag, no schedule, no willpower spent deciding when to move — the agent decides for you every time you hit Enter.

Keep reading

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

8 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