Session Management
Sessions are the core unit of work in SCC. Each session is a Claude Code environment running in a Docker container, tied to a specific workspace.
Session Lifecycle
Section titled “Session Lifecycle”Starting Sessions
Section titled “Starting Sessions”Smart Start (Recommended)
Section titled “Smart Start (Recommended)”cd ~/projectsccThis auto-detects your workspace and shows Quick Resume if sessions exist.
Explicit Start
Section titled “Explicit Start”scc start ~/projectStart Options
Section titled “Start Options”| Option | Description |
|---|---|
--resume | Resume most recent session |
--select | Interactive session picker |
--fresh | Force new container |
--team TEAM | Use specific team profile (session-only) |
--session NAME | Name this session |
--dry-run | Preview config without launching |
Listing Sessions
Section titled “Listing Sessions”scc sessionsBy default, this shows sessions for your active team. Use --all to see
sessions across teams, or --team <name> to filter explicitly.
Session Workspace Last Used Teamfeature-auth /Users/dev/project-a 2h ago ai-teametbugfix-login /Users/dev/project-a 1d ago ai-teametmain /Users/dev/project-b 5h ago ai-teamet# Show sessions for all teamsscc sessions --all
# Show sessions for a specific teamscc sessions --team drakenResuming Sessions
Section titled “Resuming Sessions”Resume Most Recent (Team-Scoped)
Section titled “Resume Most Recent (Team-Scoped)”scc start --resumePick from List
Section titled “Pick from List”scc start --selectResume Specific Session
Section titled “Resume Specific Session”scc start --session feature-authStopping Sessions
Section titled “Stopping Sessions”Stop Specific Container
Section titled “Stop Specific Container”scc stop <container-name>Find the container name using scc list or docker ps.
Stop All SCC Containers
Section titled “Stop All SCC Containers”scc stopThis stops all running SCC containers at once.
Session Naming
Section titled “Session Naming”Name your sessions for easier identification:
scc start --session "feature-payments" ~/projectWhen you have multiple features in progress, named sessions help:
Recent sessions: 1. feature-payments (2h ago) 2. bugfix-auth (1d ago) 3. spike-new-api (3d ago)Quick Resume
Section titled “Quick Resume”Quick Resume appears when you run scc and always includes New session as the
default selection:
Quick Resume — Team: ai-teamet
➕ New session (ai-teamet) 👥 Switch team ⚫ ai-teamet · project-a · main 2h ago
[Enter] Select [n] New session [a] All teams [t] Teams [q] QuitSession Context
Section titled “Session Context”SCC tracks context for each session, including:
- Last working directory
- Active files
- Session duration
Clear stale context:
scc context clearSession Timeouts
Section titled “Session Timeouts”Sessions can be configured to timeout after inactivity:
session: timeout_hours: 8 auto_resume: true| Setting | Default | Description |
|---|---|---|
timeout_hours | 24 | Hours before session expires |
auto_resume | true | Automatically resume on scc start |
Container Cleanup
Section titled “Container Cleanup”View Running Containers
Section titled “View Running Containers”scc list
# orscc containerPrune Stopped Containers
Section titled “Prune Stopped Containers”scc prunePrune with Dry Run
Section titled “Prune with Dry Run”scc prune --dry-runShows what would be removed without actually removing.
Troubleshooting Sessions
Section titled “Troubleshooting Sessions”Session Won’t Resume
Section titled “Session Won’t Resume”Cause: Container was pruned or crashed.
Solution: Start fresh:
scc start --freshQuick Resume Not Showing
Section titled “Quick Resume Not Showing”Cause: Running from a different path than the original session, or viewing a different team.
Solution: Navigate to the exact workspace root and (if needed) show all teams:
cd ~/project # Not ~/project/srcscc
# In Quick Resume, press 'a' to show all teams# Or list sessions across teamsscc sessions --allSession Stuck
Section titled “Session Stuck”Cause: Container in bad state.
Solution: Stop container and restart:
# Find the container namescc list
# orscc container
# Stop the specific containerscc stop <container-name>
# Start freshscc start --fresh