AI tooling · Android · Wear OS · 2025–26
Claude Usage Widget
A home-screen widget that shows how much of my Claude plan I have used, and when it resets.
ScopeAn unofficial personal tool. It is not affiliated with or endorsed by Anthropic.
Problem
Plan limits reset on a rolling five-hour window and a weekly one. Checking meant opening a settings page in a browser, usually after I had already hit the limit.
Constraints
- There is no public API for plan usage, so the widget reads the figures the web app shows and has to survive that format changing without notice.
- Home-screen widgets cannot run live UI. Every update is a rendered snapshot with a tight refresh budget.
- Background polling has to stay sparse enough not to show up in battery stats.
What I built
A size-responsive widget, as bars or rings, with session and weekly use, reset times and a pace marker that shows whether I am ahead of an even burn rate.
A seven-day history chart in the app and notifications at 90% and 100%.
A Wear OS tile that mirrors the same numbers. Phone and watch share one set of renderers, so they always agree.
Result
- Shipped through 28 builds and running on my phone and watch.
- Unit tests cover the pace and peak-hour calculations.
Next
- Tests around the response parser, which is where the fragility lives, plus backoff when the source is unavailable.
- Designed empty, stale and signed-out states, so an old number is never shown as if it were current.