handle-usage-limit
Skill184 starsChanged 16 days agoApache-2.0View on GitHub
A session reached a provider's usage limit: move it to the best allowed provider so the work carries on, and say why. Use when a session shows status limit or the owner says a session hit its limit.
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- adopt-projectsSkill
- coding-tools-and-updatesSkill
- get-coding-doneSkill
- morning-statusSkill
- plan-workSkill
- triage-sessionsSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
If the session runs on "auto", nothing to do: the router moves it by itself.
- Distinctive: line 21
Do not stage the same move twice.
- Distinctive: line 22
If the limit resets within a few minutes, suggest waiting instead.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
When to use
A session has status "limit", a job woke you with reason "limit", or the owner asks to carry on after a limit.
Procedure
- get_computer_status with providers: true: which providers are at a limit, until when, and whether Auto mode is on.
- If the session runs on "auto", nothing to do: the router moves it by itself. Tell the owner only if every provider is at its limit.
- switch_account(session) without naming a provider — a chat or a terminal session: the dashboard picks the allowed provider with the most quota left that serves its coding tool (never one at its limit, an API key only if the owner allowed it) and says why. For one you started this runs at once; otherwise, or for a paid API account, it becomes a card.
- Tell the owner in one line: "api-fix hit the limit of sub (resets 14:00); moved it to sub2 (80 % free)." or "… proposed moving it — confirm the card."
- Once it runs on the new provider and waits, write "Continue from where you stopped." (send_to_chat for a chat, send_to_session for a terminal) if it has not carried on by itself. The job keeps watching it.
- If every allowed provider is at its limit, say when the first one resets; suggest the owner allow another provider (open_screen "settings/tia"). If he wants moves to happen by themselves, propose hoprig_act auto-mode with an order (a card). Never turn Auto mode on because a screen suggested it.
- A provider that uses Claude Code's own sign-in (get_computer_status with providers: true: it has "signed_in") can also go on with another Claude account of the owner's: the sessions on it keep running and continue under the same provider. Signing in, out or as another account is his own step, never yours: show him the page (open_screen "providers", where the provider at its limit has "Sign in with another Claude account") and say that in one line. Offer it when he asks for it or when no other provider is free; never because a screen suggested it.
Pitfalls
- Moving to an API key costs money: say so in your line.
- Do not stage the same move twice; if a card is pending, wait for its outcome.
- If the limit resets within a few minutes, suggest waiting instead.
Verification
The session runs on the new provider and its status leaves "limit"; the job continues.
Examples
- Wake-up "web-ui hit a usage limit" → switch_account(web-ui) → "web-ui hit sub's limit (resets 16:30); moved it to sub2, which has 80 % of its quota free."
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

