Back to browse
GitHub Repository

A pixel-art exercise companion that nudges you to move during long Claude Code runs

43 starsGo

Claude Gym – a tiny CLI that nudges you to move while Claude Code runs

by mosesxu·Mar 3, 2026·3 points·0 comments

AI Analysis

●●●BangerCozyEye CandySolve My Problem

Watches Claude Code logs to detect human idle windows—pixel-art motivation with zero network.

Strengths
  • Parses Claude Code's local JSONL for clean state signals (tool calls, turn boundaries) instead of fuzzy polling
  • Dismisses automatically when AI needs input—zero friction, exactly when it's useful
  • Pixel-art animations + named characters (Luca, Cookie) make it delightful, not clinical
Weaknesses
  • Only works if you run Claude Code locally with JSONL logging enabled—ecosystem lock-in
  • No analytics on actual compliance—unclear if nudges actually change behavior vs novelty
Category
Target Audience

Developers using Claude Code for long multi-agent runs who want movement reminders

Post Description

I’ve been using Claude Code pretty heavily lately (plan mode, multi-agent runs, long tool streaks), and I noticed a pattern:

When the AI is busy running tools, I’m usually just… sitting there.

Forty-five minutes later I realize I haven’t moved at all.

So I built a small side project called Claude Gym.

It watches Claude Code’s local JSONL logs and uses them as a signal for “AI is busy vs AI needs input.” The JSONL logs expose structured events (tool calls, agent transitions, turn boundaries), which makes them a surprisingly clean signal for detecting human idle windows.

When Claude doesn’t need me, it pops up short movement prompts (squats, stretches, wall sits). When Claude needs input again, it gets out of the way. There’s also a small pixel-art cat that jumps when a turn finishes.

No network, no telemetry — it just tails the local logs. Written in Go, runs in a separate terminal tab.

It’s intentionally small and a bit playful, but it’s been surprisingly effective at getting me to move during long sessions.

Repo (MIT): https://github.com/477-Studio/claude-gym

Curious whether others have experimented with tying human breaks to agent activity instead of timers.

Similar Projects