Agent-usage-guard adds a Claude Code mod that holds runaway usage before it happens
AIAgent-usage-guard is a Claude Code mod that checks agent spawns, heavy prompts, and tool calls before they run to prevent a session from exhausting its five-hour usage window. It reads plan usage percentages, asks the user for approval when they are at the keyboard, and refuses actions when no one can answer.
Source details
Hacker News · Show HN, AI (20+ points) · zzyyxx332211 · github.comPublished · added here
Original title: Show HN: agent-usage-guard – a Claude Code mod to protect your usage window