返回资讯中心
外部精选
软件工程
#开发者实时流

Show HN: Movement breaks that only show up while Claude Code is working

A Claude Code mod that turns the time you spend waiting on Claude into short movement breaks. Every 45 minutes, the next time a turn runs longer than 15 seconds, a break shows above the prompt: something for your neck, …

Hacker News 最新imohammadreza2026/11/10 · 7 天前11 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

A Claude Code mod that turns the time you spend waiting on Claude into short movement breaks. Every 45 minutes, the next time a turn runs longer than 15 seconds, a break shows above the prompt: something for your neck, shoulders, back, hips, legs, wrists, eyes or lungs, acted out by a little pixel character. Press Done, In 5 min or Skip. It all happens in the terminal and runs locally: no network, no model calls, no tokens.

Chin tucks 10 reps: slide your head straight back, hold for 2 seconds. Resets your neck over your spine. Skip it and your head keeps drifting toward the monitor.

The character is an unofficial fan take on Clawd, Claude Code's character; this mod is not made or endorsed by Anthropic.

All of them are done standing or sitting next to the desk, with no equipment.

Each move is animated and framed on the part of the body it works (chin tucks are a close-up of the head and neck), with reps counted, holds counted down and a progress bar. Breaks are picked at random from the moves you have on, one at a time, never the same move twice in a row. Terminals narrower than 54 columns get words and buttons only, and NO_COLOR is respected.

/plugin marketplace add https://github.com/mamrezme/30yr-uptime.git /plugin install 30yr-uptime@30yr-uptime

Then /reload-plugins (or restart Claude Code). The HTTPS link works with or without SSH keys for GitHub; the short form mamrezme/30yr-uptime may try SSH first. Or run it from a clone without installing:

git clone https://github.com/mamrezme/30yr-uptime.git claude --plugin-dir ./30yr-uptime

To update: /plugin marketplace update 30yr-uptime, then /plugin update 30yr-uptime@30yr-uptime. To remove it: /plugin uninstall 30yr-uptime@30yr-uptime.

Needs Claude Code 2.1.287 or newer (mods are on by default from there); tested on 2.1.319. The animation needs a terminal at least 54 columns wide; narrower, the break shows as words and buttons only.

Command What it does

/break Starts a break now, with its animation: a random move among the ones you have on. If a break is already on show, it stays and the command says so.

/break off Turns the reminders off, in this session and the next ones, until /break on. A snoozed break is dropped. /break still starts a break when you ask for one.

/break on Turns the reminders back on. The wait starts over from that moment, so no reminder shows straight away.

/break config Lists the settings as they apply now.

/break moves Lists every move, its key, and whether it is on.

/break set <key> <value> Changes a setting, e.g. /break set waitSeconds 30 or /break set squat off.

/break reset [key] Puts one setting back to its default, or all of them with no key.

/break runs at once, even while Claude is working. The mod's store holds only whether reminders are off and the settings you changed; Done, Skip and In 5 min keep no record.

Installing asks nothing: every setting has a default and the mod works as it is. To change one, use /break set (see the /break command); it applies at once and is kept for later sessions.

Turn off the moves you can't or don't want to do (/break set squat off); with every move off, no breaks are shown. /break set refuses a value that is not a number (or a negative one) and a move value other than on or off (on/off, true/false, yes/no, 1/0), and clamps a number to its range. Changing a setting keeps the break on show and a snoozed one.

The settings are not in /config: Claude Code counts every /config option of a plugin as "not yet set" after install, even one with a default, and asks you to configure it.

hooks/register.tsx hooks six events. It reads them and draws; it never changes what Claude sees or sends:

While a scene is on screen, a timer repaints it about 12 times a second; it stops as soon as the break is answered.

None. The mod makes no network requests and no model calls, so it uses none of your tokens. It doesn't read your prompts, Claude's replies, your files or your code: it only sees when a turn starts and ends, the terminal size, and NO_COLOR. Every line of text is written into the mod; none is generated. It stores two things in Claude Code's own plugin store: whether you ran /break off (paused) and the settings you changed with /break set (settings). It keeps no record of the breaks you took or skipped. There is no server, so there is no privacy policy to link.

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →