Claude Accounts with Shared Memory
Switch between several Claude subscriptions in the Claude Code extension for VS Code with one click, without signing in again. Handy when you have, say, a personal Max plan and a company Team plan and want to spend the limits of the right one.
How it works
- A status bar button (bottom right) shows the active account, e.g.
Claude: Max. Click it to pick another account or add a new one.
- Each account has its own Claude config folder. You sign in once per account; after that you only switch.
- Switching sets
CLAUDE_CONFIG_DIR in the official extension's claudeCode.environmentVariables setting, which the extension supports. Nothing is patched.
- After switching, reload the window and open sessions continue on the new account.
By default all accounts share:
- conversation history and memory, so a session started on one account can be continued on another,
- skills and plugins.
The shared folders are links to ~/.claude. When you switch, CLAUDE.md, settings.json, settings.local.json and your MCP servers are copied from the account you leave to the account you switch to. Only the login and the usage limits stay separate. You can turn both behaviours off in the settings.
Quick start
- Install the extension. The status bar shows
Claude: Default for your current login.
- Click it and choose Add account…. Give it a name, e.g.
Team, and accept the suggested folder (~/.claude-team).
- Reload the window when asked, then sign in to the second account once in the Claude panel. If the browser asks for an organization, pick the right one.
- From now on, click the status bar button to switch.
You can rename accounts in the settings (claudeAccountSwitcher.accounts):
"claudeAccountSwitcher.accounts": [
{ "name": "Max", "configDir": "" },
{ "name": "Team", "configDir": "~/.claude-team" }
]
An empty configDir means the default ~/.claude.
Settings
| Setting |
Default |
What it does |
claudeAccountSwitcher.accounts |
[] |
Your accounts: name and config folder. |
claudeAccountSwitcher.shareHistoryAndMemory |
true |
Share history, memory, skills and plugins between accounts. |
claudeAccountSwitcher.syncSettings |
true |
Copy CLAUDE.md, settings and MCP servers when switching. |
Good to know
- The switch applies to all VS Code windows, like a user setting.
- Shared memory means that what you tell Claude on one account is known on the other. If your company plan has data-protection terms that your personal plan does not, keep company work on the company account, or turn sharing off.
- Tested on Windows with Claude Code extension 2.1.333. macOS and Linux use ordinary symlinks and should work the same way; please report issues.
- The Claude CLI in a terminal can use the same accounts:
CLAUDE_CONFIG_DIR=~/.claude-team claude.
Disclaimer
This is an independent, community project. It is not made, endorsed or supported by Anthropic. Claude and Claude Code are trademarks of Anthropic PBC.
Po polsku
Przełączanie między kilkoma subskrypcjami Claude (np. prywatny Max i firmowy Team) w rozszerzeniu Claude Code jednym kliknięciem, bez ponownego logowania. Interfejs wtyczki jest po polsku, gdy VS Code jest po polsku.
- Kliknij przycisk
Claude: … na pasku stanu i wybierz Dodaj konto….
- Podaj nazwę (np.
Team) i zaakceptuj folder (~/.claude-team).
- Przeładuj okno i zaloguj się raz na drugie konto w panelu Claude.
- Potem już tylko przełączasz.
Historia rozmów, pamięć, skille i pluginy są domyślnie wspólne, a ustawienia i serwery MCP kopiowane przy przełączeniu. Osobne są tylko logowanie i limity.