Claude Code warns you when you're close to your limit. The problem is that by then the damage is usually done: you've already burned half your 5-hour window on something that could have waited.

So I built usage-guard, a small local plugin that does one thing: it reads the real 5-hour and weekly quota percentages Claude Code exposes, and tells you whether your current pace will actually last until the reset — before you hit the wall.

It's free, it's local (nothing leaves your machine), and it stays free.

What it actually does

Reads the real rate_limits data from the status line, not a guess.