git, and a terminal. Exact Node.js/CLI version requirements — check the documentation of the CLI build you use.claude-pro-pool dispatcher (aaronyi97/claude-pro-pool, subtitle: “Dispatch Claude Code sub-agents across your own Pro/Max accounts”) that hands sub-agents to whichever of your accounts has the most remaining limit.git clone https://github.com/aaronyi97/claude-pro-pool.git
cd claude-pro-pool
cat README.md
claude --versionDetails and verification — in the steps below.

git for cloning the repository.A sub-agent is a separate Claude Code worker that the main agent spawns to do a slice of the job (for example, “refactor module X”). A quota is the usage limit that a Pro/Max subscription allows in a period; the pool’s whole job is to notice that one subscription has hit its limit and move the next sub-agent to another subscription.
Prepare the baseline and confirm each tool answers:
git --version
node --version
claude --versionExpected: one line per command. git version 2.x and a Node.js version the CLI documentation lists as supported. If claude --version prints command not found, install the CLI and authenticate before continuing.
What to do: list every Claude Pro/Max subscription you own and give each one its own config directory. Claude Code keeps credentials per config directory; separating them is what lets the pool pick a different account instead of reusing one login.
mkdir -p ~/.claude-profiles/work
mkdir -p ~/.claude-profiles/personal
ls -1 ~/.claude-profilesExpected output:
personal
workWhy: if both accounts share one config directory, the second /login overwrites the first set of credentials, and the pool has nothing to switch to — you stay stuck on a single subscription and hit the same limit.
How to check: after logging in to each profile (Step 2), ls -la ~/.claude-profiles/<profile> must show credential files, not an empty directory.
Log in to the first profile:
export CLAUDE_CONFIG_DIR="$HOME/.claude-profiles/work"
claudeInside the session type /login, finish the browser flow, then exit. Claude Code reads CLAUDE_CONFIG_DIR so each profile is isolated — confirm the exact variable name against the documentation for your CLI version. Repeat with ~/.claude-profiles/personal.
Write the inventory down, because you will need it during triage:
| Profile directory | Subscription | Status |
|---|---|---|
| `~/.claude-profiles/work` | Pro/Max | logged in |
| `~/.claude-profiles/personal` | Pro/Max | logged in |

What to do: clone the dispatcher and follow its README to register the profiles you created in Step 1.
cd ~
git clone https://github.com/aaronyi97/claude-pro-pool.git
cd claude-pro-pool
less README.mdWhy: the pool does not create accounts — it dispatches sub-agents across the accounts you already own, choosing by remaining limit. The README of aaronyi97/claude-pro-pool is the authoritative source for the registration command, the config file name, and the environment variables it expects. Copy those names from the README rather than guessing; the repository evolves and flag names change.
Example: if the README asks for a list of profile paths, the value you feed it is exactly the two directories from Step 1:
/Users/<you>/.claude-profiles/work
/Users/<you>/.claude-profiles/personalLaunch Claude Code through the dispatcher command documented in the README rather than from a bare shell. A sub-agent started outside the dispatcher is invisible to the pool and will keep hammering the exhausted account.
How to check: run the README’s status or doctor command (if it has one — otherwise re-read the “usage” section). You should see both profiles listed as available, each with a remaining-limit figure, and no “0 accounts” line. If you work with a team that shares accounts and sub-agents, the wiring in Claude Code for Teams: Setting Up Subagents and a Shared AI Superagent applies to the same sub-agent concept and helps you decide what belongs in a shared pool and what should stay personal.

What to do: run a task big enough to consume one account’s limit, and watch the pool’s output while it runs. Use a real, disposable job — for example, ask the main agent to split a refactor across several sub-agents so quota is consumed quickly.
cd /path/to/your/project
# start Claude Code with the dispatcher command from the READMEExpected sequence on screen: the first sub-agent starts on profile A, the session prints a limit message from that account, the pool moves the next sub-agent to profile B, and the task text continues where it stopped instead of restarting from the first file.
Why: the whole promise of the project — auto-switch on quota exhaustion with the work continuing from the same place — is only true if the dispatcher, not your shell, launched the sub-agents. Watching one real switch is the only proof that your wiring is correct.
How to check: tick every line:
claude --version answers in the same terminal used for the task.ls -la ~/.claude-profiles).git status).If the fourth box never gets ticked, go to Troubleshooting.
Problem. The task stops on a quota error and no switch happens
Claude AI usage limit reached. Your limit will reset at <time>.claude session with a single CLAUDE_CONFIG_DIR, so the dispatcher never saw it and had only one account in scope.ls -1 ~/.claude-profilesIf only one directory is listed, repeat the /login step for the missing account.
Problem. A profile refuses to start
Error: Invalid API key · Please run /loginexport CLAUDE_CONFIG_DIR="$HOME/.claude-profiles/work"
claude
# inside the session: /loginThen re-run the pool’s status command and check that the profile is no longer marked unavailable.
Problem. The clone fails
fatal: repository 'https://github.com/aaronyi97/claude-pro-pool.git/' not foundaaronyi97/claude-pro-pool).git ls-remote https://github.com/aaronyi97/claude-pro-pool.git HEADA commit hash means the URL is correct and the earlier failure was local (proxy, credentials, or an outdated git).
You now have a dispatcher that spreads Claude Code sub-agents over your own Pro/Max subscriptions and moves the work to the next account when one runs out. Next, cap the blast radius: pair the pool with explicit budgets from How to Set Spending Limits and Budgets for AI Agents, and if you ever want a cheaper fallback than a subscription, see How to connect a local LLM to Claude Code: llama-server and an OpenAI-compatible API.
Does claude-pro-pool give me extra quota beyond my subscriptions?
No. It dispatches sub-agents across your own Pro/Max accounts and picks the one with the most remaining limit; the total limit stays the same.
What happens to a sub-agent that was running when the account hit its limit?
According to the project description, the account changes automatically and the work continues from the same place — you do not restart the task.
How many accounts do I need for the rotation to be useful?
At least two, otherwise there is nothing to switch to. Each needs its own config directory and its own /login.
Does it work if I only use the CLI, without the desktop app?
The pool targets Claude Code sub-agents; the desktop app is a separate client. For differences between the two, check the desktop guide linked above. Exact supported CLI versions — check the repository README and the CLI documentation.
Status: practical guide. Some statements come from vendors; verify in your environment.
Time to complete: about 20 minutes (plus one test task long enough to touch a quota limit) Difficulty: Intermediate
Machine data: Citation Map JSON · JSON-LD · Semantic Embeddings — separate stage.
| Entity | Type | Role |
|---|---|---|
| claude-code-unlimited | тема/инструмент | упоминается в заголовке, TL;DR или разделах гайда |
| ротация сессий Claude Code | тема/инструмент | упоминается в заголовке, TL;DR или разделах гайда |
| лимиты Claude Code | тема/инструмент | упоминается в заголовке, TL;DR или разделах гайда |
| Windows | платформа/технология | упоминается в заголовке, TL;DR или разделах гайда |
| Linux | платформа/технология | упоминается в заголовке, TL;DR или разделах гайда |
| macOS | платформа/технология | упоминается в заголовке, TL;DR или разделах гайда |
| GitHub | платформа/технология | упоминается в заголовке, TL;DR или разделах гайда |
| Node.js | платформа/технология | упоминается в заголовке, TL;DR или разделах гайда |
| Git | платформа/технология | упоминается в заголовке, TL;DR или разделах гайда |
| claude | тема/инструмент | упоминается в заголовке, TL;DR или разделах гайда |
No independent confirmation is provided; source claims and editorial conclusions are separated below.
| Source | Type | Role |
|---|---|---|
| github.com | внешний источник | ссылка из тела гайда |
Cite as: AI Release. Как настроить claude-code-unlimited: автоматическая ротация сессий Claude Code без упора в лимиты. ai-release.org.