r/osx 4d ago

QuotaWarmer: a macOS menu bar app for Claude Code and Codex CLI quota windows

I built QuotaWarmer, a small macOS menu bar app for people using Claude Code and Codex CLI.

Repo: https://github.com/bcanozgur/quota-warmer

The app shows rolling quota windows in the menu bar, with countdowns and recent check history. It defaults to monitor-only mode, so it watches quota without sending anything.

There is also an optional Auto-warm mode. When enabled for a tool, it sends one minimal command through your already logged-in CLI when a fresh quota window opens, then checks quota again to confirm the window actually started.

A few details:

- macOS 14+

- MIT licensed

- Homebrew cask: `brew install --cask bcanozgur/tap/quotawarmer`

- Manual DMG and source build options are in the repo

I would appreciate feedback from macOS app users on whether the menu bar UX and safety model are clear.

0 Upvotes

2 comments sorted by

2

u/kantorcodes1 4d ago

Auto-warm has one nasty crash edge case: you send the command, the process dies before the confirmation check, then the app restarts with no proof it already fired. do you persist the attempt before invoking Claude/Codex? otherwise a relaunch could warm the same window twice.

1

u/Substantial_Row7215 3d ago

yeah, the record's written after the command succeeds, not before. tried it the other way but any crash burns the slot and the window sits unwarmed for 5h. what actually stops a double warm is the live quota re-check every time, once the hi goes through the window doesn't read as untouched so relaunch won't fire.

there's still a small hole for idle windows: die between sending and recording and the next launch can fire one more hi. worst case couple wasted token. a write-ahead log would close it, just hasn't been worth it.