Repository navigation
First release of usage-guard: a Claude Code plugin that warns Claude before you run out of plan usage, so it can wrap up cleanly instead of stopping mid-task.
- Warn and wind-down alerts for the 5-hour and weekly limits on claude.ai Pro and Max, and for spend limits behind a Claude apps gateway. Each session and subagent is told once per usage period.
/usage-guard:setupadds a status line relay in front of your existing status line, with backups./usage-guard:setup uninstallrestores it exactly./usage-guard:setup thresholdsviews and changes thresholds without a restart./usage-guard:statusshows usage, thresholds and what the session has been told.
Install:
/plugin marketplace add alexmoras/usage-guard-plugin
/plugin install usage-guard@usage-guard
Then start a new session and run /usage-guard:setup. See the README for supported plans and settings.