Agent skill

Account Rotator for Usage Limits

by domanski-ai in domanski-ai/headroom

Switches to the next connected Claude or Codex account that has proven capacity when a session or weekly usage limit is hit, using the headroom CLI.

MITAuto-check passedProductivity & Automation

Install Account Rotator for Usage Limits

skills CLI
$ npx skills add domanski-ai/headroom --skill rotator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install domanski-ai/headroom rotator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/domanski-ai/headroom.git skills-src && mkdir -p .claude/skills && cp -r skills-src/integrations/claude-code/skills/rotator .claude/skills/rotator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
rotator
GitHub stars
107
Token cost
~483 tokens
SKILL.md length
221 words
Files
1
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Switches to the next connected Claude or Codex account that has proven capacity when a session or weekly usage limit is hit, using the headroom CLI.

  • Works in 4 steps: Run headroom rotate (default model… → Relay the one-line result to the user… → If it exits 2, every account is limited.… → …
  • Hitting a session or weekly usage limit on one connected account
  • SKILL.md covers When to fire, What to do and Guardrails
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

When a command or session fails with a session, weekly or usage-limit error, or you ask which account has capacity, the agent runs headroom rotate for the chosen model family (claude by default). The tool cools the exhausted account down until its window resets, picks the next login with proven headroom in your configured preference order and prints the export line for it. The agent relays the one-line result as it is.

If every account is limited, the command exits with code 2 and the agent reports the earliest reset time instead of failing silently or switching to a weaker model. A status view is available through headroom status. Account changes go through headroom connect and setup, never by editing the config file by hand. The new account applies to new sessions that inherit CLAUDE_CONFIG_DIR or CODEX_HOME, so the current session needs a restart to move.

When your agent uses it

  • Hitting a session or weekly usage limit on one connected account
  • Checking which of your accounts still has capacity
  • Seeing when an exhausted account becomes usable again

Example prompts

  • “I hit my weekly limit. Rotate to the next account.”
  • “Run /rotator codex, since the Codex session just hit its limit.”
  • “Which of my connected accounts has headroom left right now?”

Requirements

  • The headroom CLI with connected accounts configured

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Run headroom rotate (default model family: claude).
  2. Relay the one-line result to the user exactly
  3. If it exits 2, every account is limited. Report the earliest reset time it
  4. For a status view first, run headroom status and show the table.

What it can do on your machine

Read from SKILL.md and the folder at commit 4cdc772. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Account Rotator for Usage Limits loads about 483 tokens when it runs. Until then it costs about 99 tokens; SKILL.md has 221 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~99
When it runs · the whole SKILL.md, loaded when a task matches
~483

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from domanski-ai/headroom at commit 4cdc772, republished under its MIT licence (© domanski-ai). 221 words, ~483 tokens.

Download SKILL.mdSave it as .claude/skills/rotator/SKILL.md (or your agent's skills folder).
name
rotator
description
Rotate to the next connected account with proven headroom when a usage limit hits. Triggers: /rotator, rotate the account, hit my session limit, hit the weekly limit, out of usage, switch account, no headroom left, which account has capacity. Uses the headroom CLI to pick the next eligible login in your configured preference order and cool the exhausted one down until its window resets.

rotator

Rotate BETWEEN connected logins for the same provider when one hits a usage limit. Powered by the headroom CLI (https://github.com/domanski-ai/headroom).

When to fire

  • The user types /rotator (optionally /rotator <model>, default claude).
  • A command or session fails with a session/weekly/usage-limit or 429 error.
  • The user asks which account has capacity, or says they are out of usage.

What to do

  1. Run headroom rotate <model> (default model family: claude). It cools the current account down until its window resets, picks the next login with PROVEN headroom, and prints the export line for the new account.
  2. Relay the one-line result to the user exactly: rotated <old> -> <new> (<family>); <old> cools until <reset>.
  3. If it exits 2, every account is limited. Report the earliest reset time it printed — never silently fail, never downgrade the model.
  4. For a status view first, run headroom status <model> and show the table.

Guardrails

  • Never edit ~/.headroom/config.json by hand from this skill; account changes go through headroom connect / headroom setup.
  • Cooldowns are fail-closed: if headroom says nobody has proven capacity, believe it. Do not retry the limited account "just in case".
  • The new account takes effect for NEW sessions/processes that inherit CLAUDE_CONFIG_DIR (or CODEX_HOME). The current interactive session keeps its own login; tell the user to restart the session if they want it moved.

© domanski-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in integrations/claude-code/skills/rotator of domanski-ai/headroom.

Open the folder on GitHubat commit 4cdc772

Compare with similar skills

Account Rotator for Usage Limits next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Account Rotator for Usage Limits compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Account Rotator for Usage Limits this skilldomanski-ai/headroom107—~483Automated safety check: PassMIT
Agent Browser CLIvercel-labs/agent-browser44k24 repos~864Automated safety check: PassApache-2.0
Dev Browser AutomationMemTensor/MemOS12k3 repos~1.7kAutomated safety check: PassApache-2.0
Electron App Automationvercel-labs/agent-browser44k5 repos~1.7kAutomated safety check: PassApache-2.0
Next Dev Loopvercel/next.js143k9 repos~2.3kAutomated safety check: PassMIT
Skyvern Browser AutomationSkyvern-AI/skyvern23k1 repos~2.9kAutomated safety check: PassAGPL-3.0

Similar skills

  • Agent Browser CLI

    vercel-labs/agent-browser

    Official

    Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking…

    44k GitHub starsUsed in 24 repos~864 tokens
    Productivity & AutomationAuto-check passed
  • Dev Browser Automation

    MemTensor/MemOS

    Automates a real browser through short TypeScript scripts that keep page state between runs, for navigating, filling forms, taking screenshots and extracting data.

    12k GitHub starsUsed in 3 repos~1.7k tokens
    Productivity & AutomationAuto-check passed
  • Electron App Automation

    vercel-labs/agent-browser

    Official

    Automates Electron desktop apps such as VS Code, Slack or Discord by connecting agent-browser to their Chrome DevTools Protocol port.

    44k GitHub starsUsed in 5 repos~1.7k tokens
    Productivity & AutomationAuto-check passed
  • Next Dev Loop

    vercel/next.js

    Official

    Verify Next.js runtime behavior after editing app code. An agent skill from vercel/next.js.

    143k GitHub starsUsed in 9 repos~2.3k tokens
    Productivity & AutomationAuto-check passed
  • Skyvern Browser Automation

    Skyvern-AI/skyvern

    Picks the right Skyvern CLI command for a web task, from quick yes/no checks to reusable multi-page workflows, instead of falling back to plain page fetching.

    23k GitHub starsUsed in 1 repo~2.9k tokens
    Productivity & AutomationAuto-check passed
  • Dependency Watch

    telegramdesktop/tdesktop

    Audit Telegram Desktop dependencies on freshly fetched origin/dev for releases and security fixes, including upstream lag and backport candidates in patched forks.

    33k GitHub stars~2.2k tokensUpdated today
    Productivity & AutomationAuto-check passed

Questions about Account Rotator for Usage Limits

What does Account Rotator for Usage Limits do?

Switches to the next connected Claude or Codex account that has proven capacity when a session or weekly usage limit is hit, using the headroom CLI. When a command or session fails with a session, weekly or usage-limit error, or you ask which account has capacity, the agent runs headroom rotate for the chosen model family (claude by default). The tool cools the exhausted account down until its window resets, picks the next login with proven headroom in your configured preference order and prints the export line for it.

When should I use Account Rotator for Usage Limits?

Account Rotator for Usage Limits fits situations like: hitting a session or weekly usage limit on one connected account; checking which of your accounts still has capacity; seeing when an exhausted account becomes usable again.

How do I install Account Rotator for Usage Limits in Claude Code?

Run `npx skills add domanski-ai/headroom --skill rotator -a claude-code`. Or copy the skill folder (integrations/claude-code/skills/rotator in domanski-ai/headroom) into .claude/skills/rotator in your project. Claude Code loads it when a task matches its description.

How do I install Account Rotator for Usage Limits in Codex?

Run `npx skills add domanski-ai/headroom --skill rotator -a codex`. Or copy the skill folder (integrations/claude-code/skills/rotator in domanski-ai/headroom) into .agents/skills/rotator in your project. Codex loads it when a task matches its description.

Can I use Account Rotator for Usage Limits in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add domanski-ai/headroom --skill rotator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rotator, .gemini/skills/rotator, .github/skills/rotator and .opencode/skills/rotator in your project.

What does Account Rotator for Usage Limits need to run?

SKILL.md names no scripts, command-line tools or credentials: Account Rotator for Usage Limits is instructions for the agent only. Our summary lists: The headroom CLI with connected accounts configured.

Does Account Rotator for Usage Limits access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Account Rotator for Usage Limits safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Account Rotator for Usage Limits use?

Account Rotator for Usage Limits is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Account Rotator for Usage Limits use?

About 483 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Account Rotator for Usage Limits?

Skills that share tags, products or a category with Account Rotator for Usage Limits: Agent Browser CLI (vercel-labs/agent-browser, 44k stars), Dev Browser Automation (MemTensor/MemOS, 12k stars), Electron App Automation (vercel-labs/agent-browser, 44k stars) and Next Dev Loop (vercel/next.js, 143k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Account Rotator for Usage Limits?

domanski-ai (a GitHub user) maintains it in domanski-ai/headroom, which has 107 GitHub stars. The repository was last updated on August 25, 2026.

Source: domanski-ai/headroom on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.