Tray app forecasts when you'll hit your weekly Claude Code usage limit

Claude Code subscriptions have a 5-hour session limit and a weekly cap, and the weekly one is hard to track because it is not obvious how a week's work is pacing. A developer built Claude Code Tray, a Windows tray app that shows usage as the icon and turns red when the current pace would exhaust the limit before reset. The app uses different logic for the short session window, which reacts quickly via a rolling slope, and the weekly window, which compares usage against an even-burn baseline to avoid false alarms from bursts of work. For a more realistic forecast, its Statistics view maps the remaining quota onto the user's typical active hours, and it suggests the earliest resume time that would still keep the week under the limit. The app reads the local OAuth token and makes minimal API calls to read rate-limit headers, a practice the developer acknowledges is a gray area under Anthropic's terms.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in