Allowance
A Windows tray drawer that shows how much of your Claude plan is used and when it resets.
C# · WinUI 3 · .NET · WSL
Brief
Checking how much of my Claude plan was left meant opening the usage page or running a command, usually in the middle of something else. I wanted it one click away in the Windows tray.
Build
Click the tray icon and a drawer shows the current session and weekly limits with their reset times. A tick on each bar marks how much of that window has passed, so you can tell whether you're ahead of pace. It notifies you when a window you'd nearly used up refills, and shows what has been using the allowance from Claude Code's own breakdown. The tray shows the logo, or your two percentages if you prefer.
Key decisions
- The numbers come from running Claude Code's own /usage command inside WSL. Allowance never reads a login or a token, and the command reports zero cost.
- That output isn't a documented format, and its exit code stays 0 even when you're logged out. So the parser treats a missing usage line as the failure, and when something breaks the drawer says so and keeps the last numbers, marked stale.
- It reuses the tray and drawer code from Spare Hand, which is why it went from first notes to a released installer in a single day.
- Release builds are trimmed, taking the install from 171 MB down to 92 MB. A Rust rewrite is planned.
Outcome
Released as v1.0.1 with a Windows installer and 40 passing tests. It's an independent personal tool, unsigned and not affiliated with Anthropic, and there are no outside usage numbers to report.