Feature: Auto-switch accounts when rate limited
Resolved 💬 3 comments Opened Feb 19, 2026 by federicodeponte Closed Feb 22, 2026
Problem
When using Claude Code with multiple accounts (personal, work, etc.), hitting a rate limit on one account requires manually:
- Running
/logout - Running
claudeagain - Logging in with a different account
- Losing conversation context
Proposed Solution
Automatic account rotation when rate limited:
- Store multiple account credentials (securely in keychain)
- On rate limit, automatically switch to next account with available quota
- Continue the conversation seamlessly
Configuration
{
"accounts": ["personal", "work", "client"],
"autoRotateOnRateLimit": true
}
Implementation Ideas
- Use
CLAUDE_CONFIG_DIRenv var to isolate account configs - Store OAuth tokens per account in separate config directories
- On rate limit response, try next account automatically
Prior Art
- CCS (Claude Code Switch) attempts this but has reliability issues
- cc-account-switcher provides manual switching
User Benefit
- Uninterrupted workflow for heavy users with multiple accounts
- Better utilization of available quota across accounts
- No manual intervention needed when hitting limits
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗