Concurrent Sessions
Run multiple Claude CLI instances simultaneously. Different account profiles normally use different Claude config directories, while launching the same profile twice reuses the same directory and shared state.Overview
Architecture
CCS usesCLAUDE_CONFIG_DIR to select the Claude config directory for each account profile:
ccs work "task":
- Sets
CLAUDE_CONFIG_DIR=~/.ccs/instances/work/ - Claude loads credentials from that directory
- That session reuses the
workprofile’s state directory
- Different profiles such as
workandpersonalnormally use different directories - The same profile such as
work+workreuses one directory - If you configure continuity inheritance, different profile names can intentionally reuse the same directory too
Instance Structure
Each account profile gets its own default directory:Performance
| Metric | First Use | Subsequent |
|---|---|---|
| Activation | ~20-35ms | ~5-10ms |
| Memory | ~3-5 KB per activation | - |
| Disk | ~200-700 KB per profile | - |
Limitations
This is not a special CCS-only restriction. Any two launches that point at the same Claude config directory share mutable state.
Other Limitations
CLAUDE_CONFIG_DIRis undocumented (keep Claude CLI updated)- Same-profile launches share history, todos, logs, and other mutable artifacts
- Non-bare profiles share commands, skills, agents, plugins, and
settings.jsonvia~/.ccs/shared/ - Sessions/logs accumulate (manual cleanup if needed)
Shared Resources
By default, non-bare account profiles reuse the shared CCS layout for commands, skills, agents, plugins, andsettings.json.
--bare, it opts out of that shared layout on purpose.
