You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: Account priority order and switch back to a higher-ranked Claude account when its usage resets #33193
Summary: with automatic account switching (#28044), let me rank my Claude accounts and have Orca switch back to a higher-ranked account once its usage window resets.
My accounts aren't interchangeable. One is my main subscription, and the others are backups I only want to use when the main one is out. #28044 switches to the account with the most room left, and then it stays there. So after the main account's 5-hour window resets, I'm still burning a backup until that one runs out too. By then the backup is drained for no reason, and it may not be there the next time I need it.
Priority order. In Settings › Accounts › Claude, let me drag the accounts into an order. When auto-switch fires, it picks the highest-ranked account under the threshold instead of the one with the most room. With no order set, it keeps feat(claude-accounts): switch accounts before a usage limit #28044's behavior.
Switch back when a higher-ranked account recovers. While Orca is on a lower-ranked account, it checks the higher-ranked accounts' usage (reusing the existing inactive-account refresh, so no extra polling). When one drops back under the threshold, for example after its window resets, Orca switches to it with the same notification and the same "when you switch accounts while Claude is running" handling as any other switch.
The cooldown and the "at least N points better" rule from #28044 would still apply, so this can't ping-pong.
Alternatives or additional context
I've been running this behavior for a few days with a homemade wrapper around claude on Windows + WSL2 (3 managed subscription accounts). The order lives in a config file. The wrapper switches when the current account crosses its threshold or hits a rate limit. While it isn't on the first account, it checks every 5 minutes and switches back once that account has room again. Switching back has been the most useful part, because the main account is used whenever it can be and the backups stay full.
Doing this outside Orca is fragile, though. Orca rewrites the selected account on every launch, and there's no CLI to select a Claude account (#8770, #31476). So I'd rather have it built in.
Activity