05 · Accounts & CLI Identity
Switch the CLI account itself, not just a label.
Claude Statistics keeps managed accounts for Claude, Codex and Gemini, then switches the live account that the CLI uses when you pick another identity.
01
Managed account roster
Every Claude, Codex and Gemini account you've added shows up as a row, with current status and a one-click switch. Auth files are written atomically.
02
Live identity swap
Switching identity rewrites the active token / refresh credential the CLI reads — your next claude / codex / gemini invocation runs as the new user.
03
Independent of provider switch
Changing provider home in the menu bar is one axis; changing CLI identity is another. The two don't collide.
How it works
Each provider exposes a different auth layout — Claude's OAuth file, Codex's JWT, Gemini's settings. The app abstracts them behind a managed-account model.
- 01 Capture When you log into a CLI, the app captures the credential file as a managed snapshot.
- 02 Activate Selecting a saved account writes the corresponding credential atomically to the live path the CLI reads.
- 03 Verify After activation, the menu bar refreshes the identity badge so you can confirm the switch took.
Where it shines
-
✦
Personal vs. work Claude Swap from your personal Max account to a team account in one click — without losing the personal one or copying tokens by hand.
-
✦
Test against multiple Codex tiers Keep a Plus and a Pro account; switch to whichever has the cleaner quota window before starting a long-running session.