talira

Run multiple Claude Code accounts as one

open sourceGPL-3.0-onlyself-hostablefree

cux is a Go CLI that pools several Claude Code Pro or Max accounts behind one live session. You launch Claude Code through cux; Claude Code hooks it installs signal a rate limit, a usage threshold or a /switch command, and the wrapper swaps the stored credentials, relaunches Claude Code with --resume and continues the same conversation (for threshold swaps it waits for the current turn to finish). It stores credentials in the macOS Keychain, Windows Credential Manager or 0600 files on Linux, and has drain and balanced strategies, projects that bind directories to accounts, a model fallback for per-model caps, waiting for a reset when every account is exhausted, swap history, and attaching to running sessions.

Problems it solves

  • when one Claude Max account hits its limit, carry on the same Claude Code conversation on another
  • a rate limit blocks my Claude Code session, swap accounts and resume without losing context
  • type a command inside Claude Code to change to another of my accounts
  • sleep until a Claude account resets and then continue my overnight run
  • keep client projects on certain Claude accounts and personal projects on others
  • attach to a Claude Code session running in another terminal and type into it
  • fall back to another model on the same Claude account when I hit a model-specific limit
  • find and resume a Claude Code session that ended while I was away
  • a history of when and why my Claude accounts were swapped
  • switch Claude Code accounts on native Windows with credentials kept in Credential Manager
  • move an idle Claude session off an account that's over its threshold

Features

  • swap on rate limit, threshold or /switch, then resume the same conversation
  • threshold swaps wait for the current turn to finish
  • drain, balanced and manual strategies
  • /switch and /cux:* slash commands inside Claude Code
  • projects that bind directories to subsets of accounts
  • model fallback before rotating accounts
  • wait for reset when every account is exhausted
  • retry after non-rate-limit API errors
  • cux sessions and cux attach for running sessions
  • swap history with reasons
View 2 more
  • per-project token stats from Claude Code transcripts
  • credentials in Keychain, Credential Manager or 0600 files

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what cux does.

  1. Claude account rotator Claude Code mod: rotates between your Claude logins as their usage limits fill
  2. claude-swap Multi-account switcher for Claude Code
  3. clauth Claude Code multi-account manager, usage monitor (CLI, TUI & cross-account delegation via MCP)
  4. cc-account-switcher Account Switcher for Claude Code
  5. Claude account rotator (Nathan Broadbent's fork) The account rotator with one coordinator for every session, a menu bar app and weekly-limit rotation
  6. claude-multi-desktop Run multiple Claude Desktop accounts at the same time on a Mac

Compare cux with the top 3