CCC CLI Reference
đ Quick Start - Version Management
Section titled âđ Quick Start - Version ManagementâCCC supports multiple installation modes for different use cases:
Check Current Version
Section titled âCheck Current Versionâccc versionConfig-Based Mode Management
Section titled âConfig-Based Mode ManagementâSet Preferred Mode:
# Configure preferred mode (stored in ~/.config/ccc/config.json)ccc config mode set dev # Development modeccc config mode set pipx # Production modeccc config mode set apt # System mode (future)
# Check current configurationccc config modeSwitch Between Versions:
Development Mode (Full Features + Session Management):
# Set and activate development modeccc config mode set devexport PATH=/usr/local/bin:$PATHccc version # â v0.3.2-dev, Mode: devProduction Mode (PyPI Package):
# Set and activate pipx modeccc config mode set pipxexport PATH=$HOME/.local/bin:$PATHccc version # â v0.3.2, Mode: pipxSystem Mode (Coming Soon):
# Future: apt install cccsudo apt install cccccc version # â Mode: aptConfiguration Management
Section titled âConfiguration Managementâccc config mode # Show current configurationccc config mode set <mode> # Set preferred modeccc config mode reset # Reset to auto mode
# Alternative: Legacy version switchingccc version dev # Quick switch to developmentccc version pipx # Quick switch to pipxGlobal Options
Section titled âGlobal Optionsâccc --version # Show versionccc --help # Show helpccc --config /path/to/config # Use custom configccc --verbose # Enable debug outputAgent Management
Section titled âAgent ManagementâAgent Commands
Section titled âAgent Commandsâ# Start agentsccc agent start <name> # Start specific agentccc agent start --all # Start all configured agentsccc agent start claude-1 --role=architect --temperature=0.3
# Agent statusccc agent status # Show all agent statusccc agent status <name> # Show specific agent statusccc agent list # List configured agents
# Stop agentsccc agent stop <name> # Stop specific agentccc agent stop --all # Stop all agentsccc agent restart <name> # Restart agentAgent Configuration
Section titled âAgent Configurationâccc agent config <name> # Show agent configccc agent config <name> --edit # Edit agent configccc agent create <name> # Create new agent profileTmux Integration
Section titled âTmux IntegrationâLayout Management
Section titled âLayout Managementâccc tmux init # Initialize default layoutccc tmux init --agents=4 # 4-pane layoutccc tmux init --layout=orchestra # Orchestra patternccc tmux init --layout=swarm # Swarm patternccc tmux init --layout=pipeline # Pipeline pattern
ccc tmux status # Show current tmux stateccc tmux kill # Kill all tmux sessionsSession Management
Section titled âSession Managementâccc tmux attach # Attach to sessionccc tmux detach # Detach from sessionccc tmux new --name=project-x # Create named sessionContext Management
Section titled âContext ManagementâContext Operations
Section titled âContext Operationsâccc context init "Project description" # Initialize contextccc context show # Show current contextccc context sync --all # Sync to all agentsccc context sync --agent=claude-1 # Sync to specific agent
ccc context save <name> # Save context snapshotccc context load <name> # Load context snapshotccc context list # List saved contextsContext Sharing
Section titled âContext Sharingâccc context export context.json # Export to fileccc context import context.json # Import from fileccc context merge <context-name> # Merge contextsWorkflow Management
Section titled âWorkflow ManagementâWorkflow Control
Section titled âWorkflow Controlâccc workflow start <pattern> # Start workflow patternccc workflow status # Show workflow statusccc workflow stop # Stop current workflowccc workflow list # List available workflows
ccc workflow create <name> # Create custom workflowccc workflow edit <name> # Edit workflow definitionPredefined Workflows
Section titled âPredefined Workflowsâccc workflow start orchestra # Start orchestra patternccc workflow start swarm # Start swarm patternccc workflow start pipeline # Start pipeline patternMonitoring & Logging
Section titled âMonitoring & LoggingâReal-time Monitoring
Section titled âReal-time Monitoringâccc monitor # Live dashboardccc monitor --agent=claude-1 # Agent-specific monitorccc monitor --export=metrics.json # Export metrics
ccc logs # Show all logsccc logs --agent=claude-1 # Agent-specific logsccc logs --follow # Follow logs in real-timeccc logs --level=error # Filter by log levelPerformance Metrics
Section titled âPerformance Metricsâccc metrics # Show performance metricsccc metrics --export=json # Export to JSONccc metrics --export=csv # Export to CSVccc metrics --timerange=24h # Metrics for last 24hConfiguration
Section titled âConfigurationâConfig Management
Section titled âConfig Managementâccc config show # Show current configccc config edit # Edit config in editorccc config reset # Reset to defaultsccc config validate # Validate config syntaxEnvironment Setup
Section titled âEnvironment Setupâccc setup # Interactive setup wizardccc setup --api-keys # Setup API keys onlyccc setup --tmux # Setup tmux integration onlySystem Commands
Section titled âSystem CommandsâHealth & Diagnostics
Section titled âHealth & Diagnosticsâccc doctor # System health checkccc test connection # Test agent connectivityccc test api --provider=anthropic # Test specific APIccc test tmux # Test tmux integrationMaintenance
Section titled âMaintenanceâccc cleanup # Clean temporary filesccc cache clear # Clear internal cacheccc update # Update CCC to latest versionExamples
Section titled âExamplesâQuick Start Sequence
Section titled âQuick Start Sequenceâ# 1. Setupccc init
# 2. Start 4-agent setupccc tmux init --agents=4ccc agent start --all
# 3. Initialize projectccc context init "Build web app with authentication"ccc context sync --all
# 4. Monitor progressccc monitor --liveCustom Workflow
Section titled âCustom Workflowâ# Create custom workflowccc workflow create my-workflow
# Start with specific contextccc workflow start my-workflowccc context init "Custom project requirements"
# Monitor and export metricsccc monitor --export=project-metrics.json