Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Auto-activate CCS CLI delegation for deterministic tasks. Parses user input, auto-selects optimal profile (glm/kimi/custom) from ~/.ccs/config.json, enhances prompts with context, executes via `ccs {profile} -p "task"` or `ccs {profile}:continue`, and reports results. Triggers on "use ccs [task]" patterns, typo/test/refactor keywords. Excludes complex architecture, security-critical code, performance optimization, breaking changes.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-05 | ✗→✓ | ▲ Improved | 42% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 10% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 6% | 0% |
| case-13 | ✗→✓ | ▲ Improved | -2% | 0% |
| case-16 | ✗→✓ | ▲ Improved | 751% | 0% |
Delegate deterministic tasks to cost-optimized models via CCS CLI.
Execute tasks via alternative models using:
ccs {profile} -p "task"ccs {profile}:continue -p "follow-up"Profile Selection:
~/.ccs/config.json via task analysis--{profile} flag forces specific profileUsers trigger delegation naturally:
Examples:
For /ccs [task]:
--(\w+)profile = match[1], remove flag from task, skip to step 5~/.ccs/config.json using Read toolObject.keys(config.profiles) → availableProfiles[]/(think|analyze|reason|debug|investigate|evaluate)/i → needsReasoning = true/(architecture|entire|all files|codebase|analyze all)/i → needsLongContext = true/(typo|test|refactor|update|fix)/i → preferCostOptimized = trueavailableProfiles: classify by name pattern (see Profile Characteristic Inference table)needsReasoning: filter profiles where reasoning=true → prefer kimineedsLongContext: filter profiles where context=long → prefer kimicost=low → prefer glmselectedProfile = filteredProfiles[0]filteredProfiles.length === 0: fallback to glm if exists, else first available/cook, /commit)ccs {selectedProfile} -p "$enhancedPrompt" via Bash toolFor /ccs:continue [follow-up]:
~/.ccs/delegation-sessions.json using Read tool--(\w+)profile = match[1], remove flag from follow-up, log profile switchccs {profile}:continue -p "$enhancedPrompt" via Bash toolDelegate when:
Keep in main when:
Task Analysis Keywords (scan task string with regex):
| Pattern | Variable | Example | |---------|----------|---------| | /(think\|analyze\|reason\|debug\|investigate\|evaluate)/i | needsReasoning = true | "think about caching" | | /(architecture\|entire\|all files\|codebase\|analyze all)/i | needsLongContext = true | "analyze all files" | | /(typo\|test\|refactor\|update\|fix)/i | preferCostOptimized = true | "fix typo in README" |
Profile Characteristic Inference (classify by name pattern):
| Profile Pattern | Cost | Context | Reasoning | |----------------|------|---------|-----------| | /^glm/i | low | standard | false | | /^kimi/i | medium | long | true | | /^claude/i | high | standard | false | | others | low | standard | false |
Selection Algorithm (apply filters sequentially):
profiles = Object.keys(config.profiles)
classified = profiles.map(p => ({name: p, ...inferCharacteristics(p)}))
if (needsReasoning):
filtered = classified.filter(p => p.reasoning === true).sort(['kimi'])
else if (needsLongContext):
filtered = classified.filter(p => p.context === 'long').sort(['kimi'])
else:
filtered = classified.filter(p => p.cost === 'low').sort(['glm', ...])
selected = filtered[0] || profiles.find(p => p === 'glm') || profiles[0]
if (!selected): throw Error("No profiles configured")
log("Selected {selected} (reason: {reasoning|long-context|cost-optimized})")Override Logic:
/--(\w+)/. If match: profile = match[1], remove from task, skip selectionGood candidates:
→ Auto-selects: glm (simple task)
→ Auto-selects: kimi (long-context)
→ Auto-selects: kimi (reasoning)
→ Forces: glm (override)
Bad candidates (keep in main):
Commands:
/ccs "task" - Intelligent delegation (auto-select profile)/ccs --{profile} "task" - Force specific profile/ccs:continue "follow-up" - Continue last session (auto-detect profile)/ccs:continue --{profile} "follow-up" - Continue with profile switchAgent via Bash:
ccs {auto-selected} -p "task"ccs {detected}:continue -p "follow-up"Template: CLAUDE.md.template - Copy to user's CLAUDE.md for auto-delegation config Troubleshooting: references/troubleshooting.md
Other measured skills in the registry, with their headline benchmark lift.