Multi-account support with automatic rate-limit failover
Problem
Users with multiple Claude subscriptions (e.g., personal + company/team) must manually run /login and re-authorize through the browser every time they want to switch accounts. This is particularly painful when hitting rate limits — the workflow becomes:
- Hit rate limit on account A
/login→ browser opens → authorize with account B → wait for redirect- Continue working on account B
- Hit rate limit on account B
/login→ browser opens → authorize with account A (rate limit may have reset by now)- Repeat
This cycle happens multiple times per day for heavy users and breaks flow significantly.
Current behavior
- Claude Code stores a single active authentication token (macOS Keychain)
- Switching accounts requires
/login→ browser auth flow each time - No way to store multiple credentials or create "profiles"
- No awareness of rate limit status across accounts
Proposed solution
Multi-account profiles with optional automatic failover:
- Named profiles: Allow storing multiple authenticated accounts simultaneously
````
claude /login --profile personal
claude /login --profile work
claude --profile work # start session with specific account
- Quick switch (no re-auth): Switch between already-authenticated profiles within the same session
````
/switch personal
/switch work
- Automatic rate-limit failover (opt-in): When one account hits its rate limit, automatically switch to the next available profile and continue the session seamlessly — preserving conversation context in the same terminal tab.
``json``
// ~/.claude/settings.json
{
"profiles": {
"personal": { "priority": 1 },
"work": { "priority": 2, "fallback": true }
},
"autoFailover": true
}
Why this matters
- Power users with multiple subscriptions are paying for capacity they can't fully use
- The manual switching friction (~30-60 seconds each time) compounds across a workday
- Context is lost or disrupted every time you have to stop and re-auth
- This is a same-tab, same-session need — workarounds like separate terminals or
$HOMEhacks don't preserve conversation continuity
Environment
- macOS (Darwin), Claude Code CLI
- Two active Claude Pro/Team subscriptions on different accounts
🤖 Generated with Claude Code
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗