Ccswitch
Description
Switch between multiple Claude Code accounts with one command — MCP servers, plugins, skills and session history stay shared.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
ccswitch
Switch between multiple Claude Code accounts with one command — without re-running `/login` every time, and without splitting your setup into isolated copies.
$ ccswitch list
ACCOUNT EMAIL TOKEN
* work you@example.com valid 8h 12m
personal you@example.net valid 6h 40m
client you@example.org expired 3h ago
$ ccswitch personal
switched to personal (you@example.net) valid 6h 40m
$ claude # runs as personal
Why
Claude Code stores one signed-in account at a time. The usual workaround is to give each account its own `CLAUDE_CONFIG_DIR`, but that isolates *everything* — your MCP servers, plugins, skills, agents, slash commands, session history and `CLAUDE.md` all get duplicated per account, and each copy drifts.
ccswitch takes the opposite approach. One `~/.claude`, shared by every account. Only the credential and the identity it belongs to are swapped.
Separate CLAUDE_CONFIG_DIR |
ccswitch | |
|---|---|---|
| MCP servers | duplicated per account | shared |
| Plugins & marketplaces | duplicated per account | shared |
| Skills, agents, commands | duplicated per account | shared |
| Session history | duplicated per account | shared |
settings.json, CLAUDE.md |
duplicated per account | shared |
| Accounts active at once | many | one |
That last row is the trade-off. If you need two accounts running *simultaneously* in different terminals, use `CLAUDE_CONFIG_DIR` instead — ccswitch changes which account `claude` runs as, globally.
Install
curl -fsSL https://raw.githubusercontent.com/2hmad/ccswitch/main/install.sh | bash
Or manually:
git clone https://github.com/2hmad/ccswitch
cd ccswitch && ./install.sh
Requires `bash`, `python3`, and Claude Code. Linux is supported today; see [Platform support](#platform-support).
Usage
Sign each account in once:
ccswitch login work #
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11