Configuration
CCS uses a simple JSON configuration system. The installer auto-creates config and profile templates during installation.Configuration Files
- macOS / Linux
- Windows
Configuration Format
Basic Setup
Advanced Setup (Multiple Profiles)
Profile Configuration
GLM Profile Example
Location:~/.ccs/glm.settings.json
Claude (Default) Profile
- Uses
~/.claude/settings.json(your existing Claude CLI config) - CCS never modifies this file (non-invasive approach)
How Configuration Works
No magic. No file modification. Pure delegation.
Environment Variables
CCS_CONFIG
Override default config location:NO_COLOR
Disable colored terminal output:- CI/CD pipelines
- Log files
- Terminals without color support
- Accessibility preferences
CCS_CLAUDE_PATH
Override Claude CLI location (for non-standard installations):Dashboard Configuration
For visual configuration, use the dashboard:
- Managing profiles
- Setting API keys
- Configuring OAuth providers
- Viewing analytics
Advanced Environment Variables
CCS supports additional environment variables for advanced configuration and remote proxy setups.Remote Proxy Configuration
Configure remote CLIProxy server connections:| Variable | Description | Example |
|---|---|---|
CCS_PROXY_HOST | Remote proxy hostname | proxy.example.com |
CCS_PROXY_PORT | Remote proxy port number | 8317 |
CCS_PROXY_AUTH_TOKEN | Remote proxy authentication token | your-secret-token |
CCS_PROXY_PROTOCOL | Proxy protocol (http/https) | https |
CCS_PROXY_TIMEOUT | Health check timeout in milliseconds | 5000 |
CCS_PROXY_FALLBACK_ENABLED | Enable fallback to local proxy if remote fails | true |
CCS_ALLOW_SELF_SIGNED | Accept self-signed SSL certificates | true |
Debug and Migration
| Variable | Description | Default |
|---|---|---|
CCS_DEBUG | Enable verbose debug logging | false |
CCS_MIGRATE | Trigger automatic migration on startup | false |
CCS_SKIP_MIGRATION | Skip automatic migration | false |
CCS_UNIFIED_CONFIG | Enable unified config mode (config.yaml) | false |
Integration Options
| Variable | Description | Use Case |
|---|---|---|
CCS_WEBSEARCH_SKIP | Skip WebSearch hook integration | Disable WebSearch in specific environments |
CCS_SKIP_PREFLIGHT | Skip API key validation checks | Faster startup in trusted environments |
CCS_PROFILE_TYPE | Signal profile type to WebSearch hook | Internal use by providers |
Configuration Priority: Settings are resolved in this order:
- CLI flags (
--proxy-host,--proxy-port, etc.) - Environment variables (
CCS_PROXY_HOST,CCS_PROXY_PORT, etc.) config.yamlsettings- Built-in defaults
