clawdbod ~ $ /plugin install clawdbod --marketplace khur/clawdbod

How to add exercise breaks to Claude Code

Updated , 4 min read

Claude Code is very good at keeping you in the chair. You type a prompt, it works, you read the result, you type another. Nothing in that loop ever tells you to stand up, so four hours pass and the only thing that moved was your scroll wheel.

ClawdBod is a free Claude Code plugin that fixes this from inside the loop. Every so often, after Claude finishes a reply, it hands you one quick exercise, asks how many you did, logs the number to a file on your machine, and gets out of the way. This guide covers installing it, tuning how often it shows up, and the commands worth knowing.

What you need

  • Claude Code, any recent version. The one-line install below needs 2.1.275 or newer; older versions use a two-step install.
  • Node.js on your PATH. The hooks and scripts are plain Node with no dependencies to install.
  • About one minute.

There is no account to create and nothing to sign in to. The plugin makes no network requests.

Install the plugin

Run these two commands inside a Claude Code session:

install
/plugin install clawdbod --marketplace khur/clawdbod
/reload-plugins

On Claude Code older than 2.1.275, add the marketplace first:

older versions
/plugin marketplace add khur/clawdbod
/plugin install clawdbod@fgalabs-clawdbod
/reload-plugins

The first time the plugin runs it prints a short welcome with the default break settings. You can accept them and keep working.

Run setup (optional)

terminal
/clawdbod:setup

Setup asks two things. First, whether you want to change the break cadence. Second, whether you want to add a profile: height, weight, age and gender, all optional. Weight is what makes calorie estimates possible, so if you skip the profile your breaks are still logged, just without a calorie number. The profile is written to a local JSON file and goes nowhere else.

What a break looks like

A break is two or three messages. Claude picks one exercise at random from a pool of 54, you do it, and you type a number.

a break
⏸️ BREAK TIME — PUSH-UPS!

Drop and give me as many push-ups as you can before you quit.
No judgment, no minimum. Just move.

👉 How many did you get?

> 18

Solid set. Logged 18 push-ups (~8 cal). Alright, back to it.

If you answer "not now" or just carry on with your work, that is the end of it. The plugin does not nag, repeat the request, or keep score of skipped breaks.

Change how often breaks happen

A break needs two things to be true at once: you have sent enough prompts, and enough time has passed since the last break. Both are counted per session.

Setting Default Command
Prompts between breaks 8 /clawdbod:config prompts 12
Minimum minutes between breaks 20 /clawdbod:config minutes 30
Profile for calorie estimates not set /clawdbod:config profile

Requiring both conditions matters. A prompt count on its own would fire every few minutes during a burst of quick questions. A timer on its own would fire in the middle of a long agent run you are not even watching. Together they land breaks at the moments you were about to pause anyway.

Some starting points:

  • Fast back-and-forth work: raise prompts to 15 or 20 and leave minutes at 20.
  • Long agentic tasks with few prompts: drop prompts to 3 or 4 and set minutes to 30 or 45.
  • You want more movement: minutes to 15, prompts to 5.

To try a cadence for one session without saving it, set CLAWDBOD_PROMPTS or CLAWDBOD_MINUTES in the environment before starting Claude Code. Running /clawdbod:config with no arguments shows the current values, and /clawdbod:config reset returns to the defaults without touching your workout history.

Pause breaks when you need to focus

terminal
/clawdbod:pause 45m
/clawdbod:pause 2h
/clawdbod:pause
/clawdbod:resume

A pause with a duration ends on its own. A pause with no duration lasts until you run /clawdbod:resume. Pausing applies to every Claude Code session on the machine, which is what you want during a call or a screen share.

You rarely need to pause for a deploy. Claude is told to skip a break when you are mid-deploy, chasing an error, or resolving a merge conflict, and it skips silently.

Every command

Command What it does
/clawdbod:fitness An exercise right now. Add hiit 5 or hiit 10 for a timed workout, or summary for today's totals.
/clawdbod:setup Guided cadence and profile setup.
/clawdbod:config Show or change settings.
/clawdbod:history Recent sets and overall totals.
/clawdbod:export Write your whole log to a CSV or JSON file.
/clawdbod:pause and /clawdbod:resume Mute and unmute breaks.
/clawdbod:status A local health check of config, log and pause state.
/clawdbod:help The command list.

The on-demand workouts are covered in the 5-minute desk HIIT guide, and the log format in the workout log and export guide.

What it runs on your machine

Two small hooks and a handful of scripts. A Stop hook decides when a break is due. A PreToolUse hook approves only the plugin's own logging and stats scripts, so a break never stalls on a permission prompt. Data lives in ~/.claude/clawdbod/ as plain JSON. If you want the details before installing, the Stop hook walkthrough goes through the code, and the home page lists everything the plugin touches.

Update or remove it

update
/plugin marketplace update fgalabs-clawdbod
/plugin update clawdbod
/reload-plugins
uninstall
/plugin uninstall clawdbod
/plugin marketplace remove khur/clawdbod
/reload-plugins

Uninstalling leaves ~/.claude/clawdbod/ in place, so your history survives a reinstall. Delete that folder if you want it gone.

FAQ

Is ClawdBod free?

Yes. It is MIT licensed and open source, with no paid tier and no account.

Does it work with several Claude Code sessions at once?

Yes. Each session counts its own prompts and keeps its own cooldown, so parallel terminals do not steal each other's breaks, and subagents do not use up your counter. Pause and resume apply to all sessions.

Will it interrupt a deploy or a debugging session?

It is designed not to. Claude is instructed to skip the break silently when you are mid-deploy, debugging an error, or in a multi-step flow. For guaranteed quiet, run /clawdbod:pause with a duration.

Does it send my workout data anywhere?

No. Every set is appended to a local file under ~/.claude/clawdbod and the plugin never opens a network connection.

Does it work on Windows?

Yes. The hooks and scripts are plain Node.js and run on macOS, Linux and Windows.

Install ClawdBod

ClawdBod is a free, open-source Claude Code plugin that turns these breaks into a habit. Run this inside Claude Code:

install
$ /plugin install clawdbod --marketplace khur/clawdbod
$ /reload-plugins

No account, no telemetry, MIT licensed. Update and uninstall commands are on the home page, and the source is on GitHub.