Fast Switch Accounts

Get it for macOS

Switch Claude Code or Codex logins when quota runs out, and start a new BB thread with a saved account. Check remaining limits before choosing an account, or add one through the provider's browser sign-in. Runs on macOS and Windows, with snapshots stored in Keychain or encrypted with Windows DPAPI; tokens go to Anthropic and OpenAI, while Cursor and other providers show limits only. Requires provider accounts; Codex switching also needs the Codex CLI signed in with ChatGPT, and saving Codex logins on macOS needs Xcode Command Line Tools.


Overview

View source

Who it is for

People who keep more than one Claude or ChatGPT account on the same computer and hit a limit mid-thread. The job is to look at remaining quota, pick an account that can still run, and continue without a terminal login dance.

Not a password manager. Cursor and other providers BB is logged into show limits only; their logins stay where BB put them.

What you get

A page in BB with a section for each provider you can switch.

  • Claude Code. This machine's current login and the accounts you saved. Limits are percent bars per window. Switch makes a saved account the machine login for new Claude threads. Forget drops a snapshot. Sign in another account opens Claude's own browser login and saves the result. A snapshot Anthropic no longer accepts is refused, and the current login stays put.
  • Codex. Save the current ChatGPT login under a label, switch between saved logins, read each saved account's session and weekly limits, forget one, or sign in to another account through the Codex CLI's browser login. A saved account left idle past its token lifetime shows Expired until you switch to it and start a thread.
  • Other providers. Limits for Cursor and the rest.

A switch applies to new threads. Running threads keep the session they started with.

CLI: bb claude-accounts covers the same actions, for example status, switch, usage, codex-status, codex-switch and codex-usage.

How it works

On macOS, Claude Code credentials live in the login Keychain and saved snapshots sit in a second Keychain service. On Windows, the live Claude login uses ~/.claude/.credentials.json (as Claude Code does), and snapshots are DPAPI-protected under %LOCALAPPDATA%\bb-claude-accounts. Codex snapshots use Keychain on macOS or DPAPI on Windows; a Codex switch atomically replaces the Codex CLI's auth file. Labels live in plugin host data. Only the host worker reads or writes tokens; the page and the CLI see labels, emails, plans and percentages. Tokens go only to Anthropic and OpenAI, for sign-in, refresh and limit reads.

Requirements

macOS or Windows. Codex switching needs the Codex CLI signed in with ChatGPT. On macOS, saving a Codex snapshot also needs the Xcode Command Line Tools. API-key logins are not supported. Finish running Codex threads before a Codex switch, otherwise an old thread can refresh its token and overwrite the shared auth file.

First step

Open Fast Switch Accounts and save the current login under a label. Press Limits on a saved account, then Switch to one that still has quota. Start a new thread.

More from Yuriy Egorov

Close TabKeep the preview down to the files you still need, and close each tab like in a browser instead of aiming at a tiny ×. Double-click or middle-click a tab you have read; on a Mac trackpad a three-finger click works too. Control+W and a palette command close the active tab, because ⌘W closes the window. A × at the right of the preview header hides the panel when you are back to the chat.19Compact RailMake more room on a small desktop screen with compact navigation and narrower window gutters. Use a 40 px navigation rail with full-size icons and frame gutters at 60% of their default size. Resize the thread sidebar while its list fills the available width. Requires BB 0.46+ and Plugin SDK 0.6.37+; applies to desktop widths with a fine pointer and uses internal layout selectors.24File TreeKeep project files in view while you move between BB threads. Pin a project source or thread workspace, search by name or path, and preview files. Send a file path to a chosen chat draft, create a blank markdown file, or delete a file after confirmation. Copy paths or files, and reveal files in Finder. Requires access to the files on the BB machine; Finder reveal is macOS-only.108Header PinsSwitch between your pinned threads in one click from the empty title bar strip at the top of the BB window. Each chip carries a status dot for the thread and its child threads: yellow waits for you, blue works, green finished and unread. A colored bar marks the thread with its project color when Chat Sidebar by Evgeniy Perin is installed, which we recommend, and with its provider's color otherwise. Hover a chip to unpin it in place. Needs the BB desktop app; no account or network access.22

More in Agents & Providers 82

Add, choose, configure, route, or coordinate who runs a thread.

View all