CCS Logo

CCS

Claude Code Switch

One command
Zero downtime
Perfect model match

Switch between Claude Sonnet 4.5 and GLM 4.6 instantly.
Stop hitting rate limits. Start optimizing costs.

$ npm install -g @kaitranntt/ccs

Universal package manager with cross-platform support and easy updates

ccs
$
ccs glm
$

Quick Model Switching

Use ccs for Sonnet 4.5 (complex tasks) β€’ ccs glm for GLM 4.6 (routine work)

Why Developers Love CCS

Built for the modern AI-assisted workflow. One command solves multiple pain points.

⚑

Instant Switching

Switch between Sonnet 4.5 and GLM 4.6.
Experience zero downtime transitions.

One command, no file editing
Confidence, control
πŸ”„

Zero Downtime

Continue working seamlessly.
Never interrupt your workflow.

Never interrupt your workflow
Reliability, consistency
🎯

Smart Delegation

Use /plan with Sonnet, /code with GLM.
Automatic task optimization.

Right model for each task automatically
Simplicity, ease
πŸ’°

Cost Control

Route simple tasks to GLM 4.6.
Complex work to Sonnet 4.5.

Use expensive models only when needed
Efficiency, savings
🌐

Cross-Platform

Identical behavior everywhere.
Works on all platforms seamlessly.

Works on macOS, Linux, Windows
Flexibility, portability
βœ…

Reliable

Production-ready with testing.
Zero security issues guaranteed.

100% test coverage, zero security issues
Trust, peace of mind

One command. Zero downtime. Right model, right task.

Get Started

Real-World Workflow

See how developers delegate tasks between Sonnet (planning) and GLM (execution) for optimal productivity and cost.

Planning Phase

Sonnet 4.5
$ ccs
// Detailed architectural planning
/plan "Build user authentication system"
// Explore complex patterns
/brainstorm "Multi-tenant database design"
// Deep analysis & reasoning
/debug "Performance bottleneck in query"
Why this model?

Sonnet excels at complex reasoning, system design, and architectural decisions.

Implementation Phase

GLM 4.6
$ ccs glm
// Execute well-defined plan
/code "Implement auth endpoints from plan"
// Quick routine fixes
/fix:fast "Type errors in user service"
// Stage & commit changes
/git:cm
Why this model?

GLM handles straightforward implementation efficiently when given clear plans.

πŸ’‘

Delegation Strategy

Developers use ccs (Sonnet) for /plan commands requiring deep analysis, then switch to ccs glm (GLM) for /code and /fix commands executing clear instructions. This optimizes both cost and quality.

Available skills: ccs-delegation (intelligent task routing based on complexity)

Installation & Removal

Install via npm or one command. Zero downtime, perfect model match.

bash
npm install -g @kaitranntt/ccs

Universal package manager with excellent compatibility. Works on all platforms. Installs to global npm directory with automatic PATH setup.

Why Choose npm Installation?

  • Cross-platform: Works identically on macOS, Linux, and Windows
  • Easy updates: npm update -g @kaitranntt/ccs
  • Version pinning: Install specific versions with @kaitranntt/[email protected]
  • Clean uninstall: Complete removal with package manager

After Installation

  • 1. npm users: ccs is available immediately. No terminal restart needed.
    One-liner users: Restart terminal or run source ~/.bashrc
  • 2. Verify installation: ccs --version
  • 3. Start using: ccs glm "Create a simple REST API"

Requirements: