Switchboard: Account Switcher for Claude Code
Use several Claude Code accounts in VS Code, for example Work, Personal and a client, and switch between them in one click. Each account keeps its own login, history and settings. Your setup (CLAUDE.md, commands, agents, skills) can be shared across all of them.
Unofficial. Switchboard is an independent open-source project. It is not made by, affiliated with, or endorsed by Anthropic. "Claude" and "Claude Code" are trademarks of Anthropic, PBC.

Features
- One-click switching from the sidebar, the status bar, or
Ctrl+Alt+A (Cmd+Alt+A on Mac).
- Side by side: open a Claude Code terminal per account and run them at the same time. Each terminal tab takes its account's color.
- Every terminal follows the active account: type
claude in any new terminal and it uses the account you picked.
- Per-project accounts: pin an account to a workspace, for example a client repo always uses the client's account.
- Live sign-in: add an account, finish the browser login, and the card updates as soon as it's done.
- Shared setup:
CLAUDE.md, commands/, agents/, skills/ and output-styles/ are linked into every account. Logins, history and settings.json stay separate.
- Problems shown where they are, with a fix: Claude Code not installed, the same login used on two accounts, hooks that point at the wrong folder.
- Claude Code chat panel (beta): optionally make Anthropic's Claude Code chat panel follow your active account.
- Works with bash, zsh, fish, PowerShell and cmd on Windows, macOS and Linux. Fits light, dark and high-contrast themes.
| Add an account |
Account menu |
Problems with fixes |
 |
 |
 |
Getting started
- Install Claude Code so that
claude runs in a terminal.
- Install Switchboard. The Get started walkthrough opens automatically.
- Click the Switchboard icon in the activity bar. Your current login is already listed as Default.
- Add account: name it, pick a color, then Create & sign in. Sign in with your other Claude login in the terminal that opens.
- Switch accounts from the status bar (Claude: …),
Ctrl+Alt+A, or by clicking a card.
How it works
Claude Code keeps its login, history and settings in a config folder (~/.claude by default) and supports the CLAUDE_CONFIG_DIR environment variable to use a different folder. Switchboard gives each account its own folder under ~/.claude-accounts/ and starts Claude Code with the right one.
- Default is your normal Claude Code setup. Switchboard never moves or changes it.
- Conversations stay with their account. Switching to another account shows that account's history; switch back and yours is still there.
Claude Code chat panel (beta)
Turn on Claude Code chat panel in the top card. Switchboard then sets CLAUDE_CONFIG_DIR in Anthropic's claudeCode.environmentVariables setting. It changes only that entry and leaves any other entries you have there alone.
- The chat panel reads this setting when it starts, so switching accounts asks once to reload the window. Terminals switch immediately.
- The chat panel uses one account per window. To use two accounts at once, use terminals, or open each project in its own window with its own pinned account.
- If the chat panel resets the setting, Switchboard puts it back on the next start.
Privacy and safety
Switchboard never:
- reads, copies or uploads login tokens or passwords. You sign in through Claude Code's own login.
- sends any data anywhere. There is no telemetry and no network access.
- switches accounts on its own.
- deletes anything without asking. Removing an account keeps its folder unless you choose to delete it, and it only ever deletes folders inside its own profiles folder.
Switchboard reads and writes:
~/.claude-accounts/<account>/: one folder per account, created by Switchboard.
- the non-secret account details (email, organization) that Claude Code records in
.claude.json, to show who's signed in.
- symlinks to your shared items from
~/.claude.
claudeCode.environmentVariables in VS Code settings, only when the chat panel option is on.
Use accounts that are yours. Each Claude account is subject to Anthropic's terms. Switchboard is for keeping separate accounts apart (for example work and personal); it is not designed to get around usage limits.
Settings
| Setting |
Default |
What it does |
switchboard.profilesRoot |
~/.claude-accounts |
Where account folders are created |
switchboard.claudeCommand |
claude |
Command used to start Claude Code |
switchboard.applyToAllTerminals |
true |
New terminals use the active account |
switchboard.sharedSource |
~/.claude |
Where shared items come from |
switchboard.sharedItems |
CLAUDE.md, commands, agents, skills, output-styles |
What gets shared |
switchboard.autoSyncShared |
true |
Share items when an account is created |
switchboard.syncChatPanel |
false |
Make the Claude Code chat panel follow the active account |
FAQ
Will my conversations be lost when I switch?
No. Each account keeps its own history. Switch back to see it again.
Hooks don't seem to work in my other account.
Hooks that use paths like ~/.claude/hooks/x.sh always point at the Default account. Switchboard flags this on the account's card. Use $CLAUDE_CONFIG_DIR/hooks/x.sh instead.
macOS: I removed an account but it's still logged in somewhere.
On macOS, Claude Code keeps login tokens in Keychain. Run /logout in that account before removing it.
Windows: are shared items linked or copied?
Folders are linked with junctions. A single file is copied if Windows doesn't allow file symlinks (turn on Developer Mode to allow them).
Does it work in Cursor, Windsurf or Antigravity?
Yes. Switchboard is published on Open VSX, which those editors use.
Contributing
Issues and pull requests are welcome. To run from source:
npm install
npm test # unit + end-to-end tests
# press F5 in VS Code to launch the extension in a new window
MIT licensed.