Claude Gains app icon

Turn Claude Code tokens into reps

Claude Gains

Claude Gains watches your Claude Code sessions through hooks, scores the work Claude does, and drops a quick workout (squats, pushups, a plank) at natural breaks. It runs locally on your Mac and never interrupts Claude mid-response.

npx claude-gains init
How Claude Gains works
Platform
macOS
Price
Free
Account
None needed

What you get

Seven async hooks

Installs into ~/.claude/settings.json with a backup. Hooks run async with a 300 ms budget, so Claude never waits on them.

Workload Points

Tokens, tool calls, active minutes and finished tasks roll up into one daily score that decides how much you owe.

Drops at natural breaks

A workout lands only after Claude stops (or every session has been idle 2 minutes), 30 to 90 active minutes apart.

Randomized sets

Squats, pushups, lunges, sit-ups, planks and more, sized to the workload you banked. Swap any exercise you can't do.

Menu bar app

Daily progress in the menu bar, the open workout one click away, and native notifications with Done, Snooze and Skip.

Local only

Prompt text and tool payloads are stripped to sizes. Everything lives in a SQLite file in ~/.claude-gains.

FAQ

Frequently asked questions

Does Claude Gains slow down Claude Code?+
No. Its hooks are async, so Claude Code does not wait for them, and each one gives up after 300 ms. If the daemon is down, events are written to a local spool file and replayed later.
Does it send my code or prompts anywhere?+
No. Hooks strip prompt text and tool payloads down to their sizes before anything is recorded, and all data stays in a SQLite database in ~/.claude-gains on your Mac. There is no account and no server.
Will a workout interrupt Claude mid-response?+
No. A drop only lands when Claude has just stopped, or when every session has been idle for 2 minutes, and never more often than every 30 to 90 active minutes.
How are tokens counted?+
Hooks carry no token counts, so when a turn ends Claude Gains reads the session transcript from where it left off and adds up input, output and cache-write tokens by message. Cache reads are excluded so long sessions are not over-counted.
What do I need to install it?+
Node 22.18 or later and Claude Code. The menu bar app is built on install with Swift, which comes with the Xcode Command Line Tools (xcode-select --install). Without Swift, everything else still works from the terminal and the local dashboard.
How do I uninstall it?+
Run claude-gains uninstall. It removes only its own hook entries from ~/.claude/settings.json and the login service, and keeps your history in ~/.claude-gains in case you come back.
Is Claude Gains made by Anthropic?+
No. Claude Gains is an independent tool from AI Drops. It is not affiliated with or endorsed by Anthropic.

More in AI Drops

One app, every tool you use

AI Drops app icon

AI Drops

Every Claude, OpenAI & Cursor release

  • Follow the labs you use
  • Push alerts + plain-language summaries
  • Every new AI model release
/cards app icon

/cards

Master every slash command

  • 110+ slash commands, always current
  • Two quiz modes plus Mixed
  • Full searchable command library
Claude Prep app icon

Claude Prep

Pass the Claude Certified Architect exam

  • 1,000 exam-style practice questions
  • Full timed mock exams, scored like the real thing
  • Daily 5 challenge + built-in certification guide
Cooldown app icon

Cooldown

Your Claude limits, and when they reset

  • Session and weekly limits at a glance
  • Countdowns and alerts for every reset
  • Widgets, Apple Watch and a Mac menu bar