Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Claude Quick SwitchNew to Visual Studio Code? Get it now.
Claude Quick Switch

Claude Quick Switch

proPublisher

|
232 installs
| (0) | Free
Switch between multiple Claude Code accounts in two clicks from the status bar.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Claude Quick Switch

Switch between multiple Claude Code accounts in two clicks, right from the VS Code status bar.

Personal and work subscriptions, several organizations, a second account for when you hit your usage limit: no more /logout → /login → browser → back again.

Features

  • One-click switch: click ✨ Claude: <profile> in the status bar and pick an account. Claude Code picks it up right away, in every window — no reload needed.
  • Usage at a glance: the status bar shows how much of its limits the active account has used (✨ Claude: work · 42%), turning yellow then red near the limit; the tooltip details the 5-hour session and weekly limits with their reset times, and the plan (Pro, Max 5x/20x, Team…).
  • Know which account has room left: the account list shows each account's plan and last known usage.
  • Never get stuck at the limit: when the active account reaches 90% of a limit, you're offered to switch to the least used account in one click.
  • Back and forth in one keystroke: Ctrl+Alt+Shift+C (Cmd+Alt+Shift+C on macOS) switches back to the previous account.
  • Add an account without leaving VS Code: Add account… runs claude auth login in a terminal, detects when you're signed in in the browser, and saves the new profile.
  • Tokens stay secure: saved accounts are stored in VS Code's SecretStorage (your OS keychain / Windows Credential Manager), never in plain text.
  • Tokens stay fresh: before each switch, the active profile is re-saved so tokens refreshed by Claude Code are not lost.
  • Expiry at a glance: each saved account shows how long its sign-in stays valid; switching to an expired one offers to sign in again.
  • Protects against stale sessions: if another Claude Code session (another window, a terminal) still signed in to the previous account overwrites the sign-in, you're warned, its fresh tokens are saved to the right profile, and you choose which account to keep.
  • Non-intrusive: only the sign-in data is swapped; the rest of your Claude Code configuration is untouched.
  • English and French interface (follows VS Code's display language).

Usage

  1. Click ✨ Claude: … in the status bar (bottom right).
  2. The first time, choose Save current account… to save the account you're signed in with.
  3. Choose Add account… to sign in with another account in your browser. It is saved automatically once signed in.
  4. From then on, pick any profile in the list to switch, or press Ctrl+Alt+Shift+C (Cmd+Alt+Shift+C on macOS) to go back to the previous account.
  5. Use the ✏️ and 🗑 buttons next to an account in the list to rename or delete it.

Commands (Ctrl+Shift+P):

Command Description
Claude: Switch Account Pick a saved account
Claude: Switch to Previous Account Go back to the account used before the last switch (Ctrl+Alt+Shift+C / Cmd+Alt+Shift+C)
Claude: Add Account Sign in with a new account and save it
Claude: Save Current Account Save (or update) the signed-in account
Claude: Rename Profile Rename a saved account
Claude: Delete Profile Remove a saved account

Settings

Setting Default Description
claudeQuickSwitch.reloadAfterSwitch never ask, always or never reload the window after switching. Not needed with current versions of Claude Code.
claudeQuickSwitch.showUsageInStatusBar true Show the active account's usage (highest of the 5-hour and weekly limits) in the status bar.
claudeQuickSwitch.usageRefreshMinutes 5 How often to refresh the active account's usage while VS Code is focused. 0 = never contact the service, only read the usage cached by Claude Code.
claudeQuickSwitch.usageAlertThreshold 90 Percentage of a limit that triggers the switch suggestion. 0 = off.
claudeQuickSwitch.claudePath (empty) Path of the claude CLI used by Add account. Empty = the binary shipped with the Claude Code extension, otherwise claude from the PATH.

How it works

Claude Code keeps its sign-in in two files:

  • ~/.claude/.credentials.json: OAuth tokens (on macOS: the Claude Code-credentials item of the login Keychain)
  • ~/.claude.json: the oauthAccount key (account information)

Each profile keeps a copy of this data in SecretStorage and restores it when you switch.

Usage: like Claude Code's /usage, the extension asks api.anthropic.com for the usage of the active account, with that account's current access token — every 5 minutes at most, only while VS Code is focused. Tokens are never refreshed by the extension and never sent anywhere else. The usage of other accounts is the last value seen while they were active. Set claudeQuickSwitch.usageRefreshMinutes to 0 to make no network request at all (the usage cached by Claude Code is then used). Only the oauthAccount key of ~/.claude.json is modified. CLAUDE_CONFIG_DIR is supported.

Limitations

  • A saved sign-in expires if the account isn't used for a while (about a week): the account list shows how long each one remains valid, and Sign in again renews it.
  • Should an older Claude Code session (e.g. an old claude in a terminal) keep the previous account and overwrite the sign-in, the extension detects it and helps you fix it.
  • Relies on Claude Code's internal file format, which may change in future versions.

Disclaimer

This is an unofficial extension. It is not affiliated with, endorsed by, or sponsored by Anthropic. "Claude" and "Claude Code" are trademarks of Anthropic, PBC.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft