1.9 KiB
1.9 KiB
name, description
| name | description |
|---|---|
| ck-ccs | Delegate tasks with intelligent AI profile selection and prompt enhancement. Use for offloading tasks, routing to specialized models, auto-enhancing prompts, and running long-context or reasoning-heavy delegations. |
CCS — Intelligent Task Delegation
Delegates tasks to optimal AI profiles with automatic prompt enhancement.
When to Use
- Offloading a task to a specialized model or profile
- Running long-context analysis (full architecture review)
- Reasoning-heavy tasks that benefit from extended thinking
- Auto-enhancing a prompt before execution
Don't Use When
- Task is quick enough to handle inline
- No CCS CLI or config is available (
~/.ccs/config.json)
Usage
ck-ccs "refactor auth.js to use async/await" # Simple task
ck-ccs "analyze entire architecture" # Long-context task
ck-ccs "think about caching strategy" # Reasoning task
ck-ccs --glm "add tests for UserService" # Force specific profile
ck-ccs "/cook create landing page" # Nested command
Execution
- Parse the task description from user input
- Read
~/.ccs/config.jsonto identify available profiles - Select optimal profile based on task characteristics:
- Long context → context-optimized profile
- Reasoning → thinking-enabled profile
- General → default profile
- Enhance the prompt with full context and details
- Execute delegation via CCS CLI
Profile Selection Heuristics
| Task Type | Profile |
|---|---|
| Large codebase analysis | Long-context (kimi/glm) |
| Architectural reasoning | Thinking-enabled |
| Simple refactoring | Default/fast |
| Forced override | --glm or --kimi flag |
Notes
- Prompt enhancement is automatic — the task description is expanded with relevant context before execution
- Results are returned to the main conversation
- Use
ck-ccs:continueto resume the last delegation session