Claude Swap — Development skill for Claude Code
Switch between multiple Claude Code accounts, with automatic rate-limit rotation, usage dashboard, and parallel sessions.
How to install Claude Swap
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open realiti4/claude-swap and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Swap does
Switch between multiple Claude Code accounts, with automatic rate-limit rotation, usage dashboard, and parallel sessions.
Alternatives in Development
- Claude Balancer — A load balancer proxy for multiple Claude OAuth accounts with automatic failover, request tracking, and web da 910 ★
- Opslane Old — Run multiple Claude Code sessions in parallel 772 ★
- Claude Code Agent Farm — A powerful orchestration framework that runs multiple Claude Code (cc) sessions in parallel to systematically 704 ★
README
claude-swap
Multi-account switcher for Claude Code. Easily switch between multiple Claude accounts without logging out, or let it switch for you before you hit a rate limit. Track usage for every account in a live dashboard, and run accounts in parallel. Works with both the Claude Code CLI and the VS Code extension.
Installation
Using uv (recommended)
uv tool install claude-swap
Using pipx
pipx install claude-swap
From source
git clone https://github.com/realiti4/claude-swap.git
cd claude-swap
uv sync
uv run cswap help
Updating
cswap upgrade # uv/pipx installs on macOS/Linux: auto-detects and upgrades
# or run your installer directly:
uv tool upgrade claude-swap
pipx upgrade claude-swap
Usage
Add your first account
Log into Claude Code with your first account, then:
cswap add
Add more accounts
Log in with another account, then:
cswap add
Do not run `/logout` first: current Claude Code may revoke the refresh token stored for the account you are leaving.
Switch accounts
Rotate to the next account:
cswap switch
Or switch to a specific account:
cswap switch 2
cswap switch user@example.com
cswap switch dev # or by alias, once set with `cswap alias 2 dev`
Not sure which one? `cswap list` is the dashboard — every account's 5-hour and 7-day usage and reset times at a glance:
cswap list
Or let claude-swap auto-pick by remaining quota — `cswap switch --strategy best` (most quota left) or `--strategy next-available` (skip rate-limited accounts).
**Note:** You usually don't need to restart — on Linux/Windows the new account is picked up automatically, and on macOS after the Keychain cache expires. To apply it instantly, restart Claude Code or reopen the VS Code extension tab. See [Tips](#tips) for the per-platform details.
Automatic switching
Let claude-swap watch your usage and s
Related Skills
Swisscode
Run Claude Code with multiple Claude Pro/Max accounts: usage limits, one-command switching, a localhost proxy
Swapdex
Switch between multiple Claude Code and Codex login accounts, locally and safely. A switcher, not a rotator.
Ccswitch
Switch between multiple Claude Code accounts with one command — MCP servers, plugins, skills and session histo
Cam
macOS menu bar app to switch between multiple Claude Code accounts and track 5-hour / 7-day usage limits. 一键切换
Agent Manager
macOS menu-bar app + CLI for juggling multiple Claude Code and Codex accounts on one machine — isolated logins
Big Brain Claude
Native macOS dashboard (GPUI) for many parallel Claude Code sessions across accounts: who works, who waits for
Related Agents
Deeplink Clipboard Auditor
Audits deep link / Universal Link / App Link handling for parameter trust and hijack risk, and clipboard usage
API Platform Reviewer
API platform / dev-API pre-implementation reviewer. Specialises in rate-limit design (token-bucket / sliding-w
API Attacker
API security testing specialist for REST, GraphQL, gRPC, and WebSocket APIs. Handles BOLA/IDOR, mass assignmen