What to Do When Claude Code or Codex Hits Its Usage Limit
Last updated
When an agent runs out of usage, switch the task to another one instead of waiting for the reset. Gnomcode watches each agent's limits, warns you before one runs out, and continues the conversation in Claude Code, Codex or Antigravity with a short local briefing of your goal and changed files.
How does Gnomcode know a limit is close?
It reads each agent's own usage windows, such as the session and weekly limits, and shows what is left in the agent menu and in Insights. Run-out times are estimates at your current pace and are labelled that way. Gnomcode can warn you 30 minutes before a limit runs out, and it can also see when an agent rejects a message because the limit was reached.
What are the three switching modes?
Ask me shows a suggestion and a Switch button and waits for you. Automatically switches for you when another agent has fresh, known headroom. Never keeps every conversation on its own agent. Automatic switching only picks an agent that is signed in and has quota Gnomcode could actually read, and it never turns on a more permissive mode of the new agent.
What does the new agent receive?
A compact briefing built locally with no AI call: your objectives, the paths of files that changed in the project, and recent activity, with secrets redacted. It does not receive the old agent's private reasoning or a full transcript. The original chat stays exactly as it was, so you can go back to it after the limit resets.
Can I choose which model each agent switches to?
Yes. In Settings, Agents, Fallback order, choose the order of agents and a model for each one. Suggestions, the Switch button and automatic switching all use those choices, and you can still change the model in any chat.
What if no other agent has quota left?
Gnomcode tells you that no eligible agent has fresh known headroom and does nothing. It will not guess. You can wait for the reset, which Gnomcode can resume for you, or pick a model by hand.
Related reading
Try Gnomcode
Download it for Windows, macOS, Linux or Android, open a project and start an agent.