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
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,
settings.json, andCLAUDE.mdvia~/.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,settings.json, and user CLAUDE.md.
--bare, it opts out of that shared layout on purpose.
