ccs: Skill for Claude Code

.claude/skills/ccs-delegation/SKILL.md

ccs-delegation is a skill for Claude Code from kaitranntt/ccs. It costs 102 tokens per session (1,887 once invoked), scanned A, original, MIT.

A skill that delegates selected coding tasks to other command-line language models through the CCS tool. It chooses a configured model profile or lets the user select one.

In plain words
What is it for?
Running deterministic tasks such as fixing README typos, analysing a codebase, adding unit tests, or continuing a previous delegated task.
Why use it?
It moves suitable tasks to a configured alternative model and provides a way to continue the same delegated session.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is kaitranntt/ccs's own configuration. It tells Claude Code how to work on ccs itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ccs configures →

About the project

CCS is a command-line manager that lets users switch among AI coding runtimes, provider accounts, and model profiles through one interface. It is for developers who use Claude Code or compatible CLIs and need to change accounts or backends without repeatedly editing configuration.

kaitranntt/ccs · 2,841 stars · on GitHub · ccs.kaitran.ca

Reuse

Borrowing it

Nothing to install: this file belongs to kaitranntt/ccs. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/kaitranntt/ccs/main/.claude/skills/ccs-delegation/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/kaitranntt/ccs

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ccs-delegation

README.md
[![agentmods](https://agentmods.dev/badge/skills/kaitranntt/ccs/ccs-delegation/github.svg)](https://agentmods.dev/skills/kaitranntt/ccs/ccs-delegation)
Your own site
<a href="https://agentmods.dev/skills/kaitranntt/ccs/ccs-delegation"><img src="https://agentmods.dev/badge/skills/kaitranntt/ccs/ccs-delegation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ccs-delegation

Your own site · 80×15
<a href="https://agentmods.dev/skills/kaitranntt/ccs/ccs-delegation"><img src="https://agentmods.dev/badge/skills/kaitranntt/ccs/ccs-delegation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,887 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00102 $0.01887
Opus 5 $0.00051 $0.00944
Sonnet 5 $0.00020 $0.00377
Haiku 4.5 $0.00010 $0.00189

Measured 9d ago against content hash bb80e0c40d80, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

ccs-delegation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/skills/ccs-delegation/SKILL.md · 196 lines

How it starts

The opening of the file, as written. The whole thing — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CCS Delegation

Delegate deterministic tasks to cost-optimized models via CCS CLI.

Core Concept

Execute tasks via alternative models using:

  • Initial delegation: ccs {profile} -p "task"
  • Session continuation: ccs {profile}:continue -p "follow-up"

Profile Selection:

  • Auto-select from ~/.ccs/config.json via task analysis
  • Profiles: glm (cost-optimized), kimi (long-context/reasoning), custom profiles
  • Override: --{profile} flag forces specific profile

User Invocation Patterns

Users trigger delegation naturally:

  • "use ccs [task]" - Auto-select best profile
  • "use ccs --glm [task]" - Force GLM profile
  • "use ccs --kimi [task]" - Force Kimi profile
  • "use ccs:continue [task]" - Continue last session

Examples:

  • "use ccs to fix typos in README.md"
  • "use ccs to analyze the entire architecture"
  • "use ccs --glm to add unit tests"
  • "use ccs:continue to commit the changes"

Agent Response Protocol

For /ccs [task]:

  1. Parse override flag

    • Scan task for pattern: --(\w+)
    • If match: profile = match[1], remove flag from task, skip to step 5
    • If no match: continue to step 2
  2. Discover profiles

    • Read ~/.ccs/config.json using Read tool
    • Extract Object.keys(config.profiles)availableProfiles[]
    • If file missing → Error: "CCS not configured. Run: ccs doctor"
    • If empty → Error: "No profiles in config.json"
  3. Analyze task requirements

    • Scan task for keywords:
      • /(think|analyze|reason|debug|investigate|evaluate)/ineedsReasoning = true
      • /(architecture|entire|all files|codebase|analyze all)/ineedsLongContext = true
      • /(typo|test|refactor|update|fix)/ipreferCostOptimized = true
  4. Select profile

    • For each profile in availableProfiles: classify by name pattern (see Profile Characteristic Inference table)
    • If needsReasoning: filter profiles where reasoning=true → prefer kimi
    • Else if needsLongContext: filter profiles where context=long → prefer kimi
    • Else: filter profiles where cost=low → prefer glm
    • selectedProfile = filteredProfiles[0]
    • If filteredProfiles.length === 0: fallback to glm if exists, else first available
    • If no profiles: Error

Read the full file on GitHub · 196 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 196 lines · 102 tokens per session scan A bb80e0c40d80

Subscribe to this mod's changes

ccs-delegation is a skill published in the GitHub repository kaitranntt/ccs (2,841 stars, last pushed 13d ago), licensed MIT. It adds 102 tokens to every session and 1,887 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

cli-eval

Create and run evaluation suites, watch live benchmark progress, view scorecards, compare model performance, and integrate eval runs with CI workflows from the CLI.

diegosouzapw/OmniRoute · 34 tokens

omni-mcp

Connect to the OmniRoute MCP server (110 tools, 3 transports: SSE/stdio/HTTP). Covers routing, cache, compression, memory, skills, providers, and audit tools across 33 permission scopes.

diegosouzapw/OmniRoute · 48 tokens

cli-resilience

Inspect and manage circuit-breaker states, connection cooldowns, quota limits, and backoff levels from the CLI. Reset stuck providers and configure resilience thresholds.

diegosouzapw/OmniRoute · 35 tokens

9router-web-fetch

Fetch URL → markdown / text / HTML via 9Router /v1/web/fetch using Ollama Cloud / Firecrawl / Jina Reader / Tavily Extract / Exa Contents. Use when the user wants to scrape a webpage, extract URL content, read article, or convert a URL to markdown.

decolua/9router · 67 tokens

9router-web-search

Web and X search via 9Router /v1/search using Tavily / Exa / Brave / Serper / SearXNG / Google PSE / Linkup / SearchAPI / You.com / Perplexity / Xquik. Use when the user wants to search the web, find articles, or search public X posts.

decolua/9router · 74 tokens

9router-embeddings

Generate vector embeddings via 9Router /v1/embeddings using OpenAI / Gemini / Mistral / Voyage / Nvidia / GitHub embedding models for RAG, semantic search, similarity. Use when the user wants embeddings, vectors, RAG, semantic search, or to embed text.

decolua/9router · 66 tokens