ccc-adopt

ccc-adopt is a skill for Claude Code, Codex from KevinZai/commander. It costs 49 tokens per session (3,285 once invoked), scanned A, original, MIT.

A skill for adding the CC Commander Orchestrator/Executor working method to an existing project's instructions. It detects the project's technology stack and adds a tailored list of available skills and agents to CLAUDE.md, the project's agent-instructions file.

In plain words
What is it for?
Use it when bringing this doctrine into an existing Git repository while preserving its current CLAUDE.md content.
Why use it?
It avoids replacing the existing instructions while making them include the chosen orchestration method and relevant tools.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/kevinzai/commander/ccc-adopt
Any agent
npx skills add KevinZai/commander --skill ccc-adopt
Clone the repo
git clone --depth 1 https://github.com/KevinZai/commander

Made for: Claude Code, Codex.

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 ccc-adopt

README.md
[![agentmods](https://agentmods.dev/badge/skills/kevinzai/commander/ccc-adopt.svg)](https://agentmods.dev/skills/kevinzai/commander/ccc-adopt)
Your own site
<a href="https://agentmods.dev/skills/kevinzai/commander/ccc-adopt"><img src="https://agentmods.dev/badge/skills/kevinzai/commander/ccc-adopt.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,285 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00049 $0.03285
Opus 5 $0.00024 $0.01643
Sonnet 5 $0.00010 $0.00657
Haiku 4.5 $0.00005 $0.00329

Measured 4d ago against content hash 48b8ee2e557f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ccc-adopt 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 4d 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.

commander/cowork-plugin-codex/skills/ccc-adopt/SKILL.md · 236 lines

How it starts

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

$ccc-adopt — Bring CCC Doctrine Into an Existing Project

CC Commander · $ccc-adopt · Adopt Orchestrator/Executor in your own repo

Not to be confused with

  • $ccc-onboard — onboards a new contributor INTO the cc-commander repo itself (this repo).
  • $ccc-tuneup — tunes up the user's local ~/.claude CC Commander install (plugin freshness, junk, settings).
  • $ccc-adopt (this skill) — runs INSIDE ANY OTHER PROJECT (yours, not cc-commander) and adds CCC's Orchestrator/Executor doctrine plus a tailored skill/agent pointer list to that project's own CLAUDE.md.

If the current working directory's git root is cc-commander itself, stop and point the user at $ccc-onboard or $ccc-tuneup instead — this skill is for adopting CCC doctrine into a different codebase.

Safety rules (NON-NEGOTIABLE)

  • ❌ NEVER rm or trash anything.
  • ✅ Before ANY write to CLAUDE.md: cp CLAUDE.md CLAUDE.md.backup-$(date +%Y%m%d-%H%M%S).
  • ❌ NEVER overwrite an existing CLAUDE.md wholesale — only append/replace the clearly delimited CCC block.
  • ❌ NEVER run outside a confirmed git repo without asking first (git rev-parse --show-toplevel must succeed, or the user must explicitly confirm working in a non-git directory).
  • ✅ Always show a diff preview via AskUserQuestion before writing anything.
  • ❌ NEVER silently create a CLAUDE.md that doesn't exist — offer via AskUserQuestion first.
  • ✅ Re-run safe: detect an existing <!-- CCC:orchestrator-executor:start --> marker and replace in place — never duplicate the block.

Arguments

  • --check — read-only: detect stack + existing CLAUDE.md + marker state, print the plan, do NOT write anything.
  • bare $ccc-adopt — detect, preview the diff via chips, write on confirm.

Step 1 — Detect

IS_GIT=$(git rev-parse --show-toplevel 2>/dev/null || echo "")
echo "GIT_ROOT=${IS_GIT:-n/a}"

HAS_CLAUDE_MD=$([ -f "CLAUDE.md" ] && echo yes || echo no)
HAS_MARKER=$(grep -l "CCC:orchestrator-executor:start" CLAUDE.md 2>/dev/null && echo yes || echo no)
echo "HAS_CLAUDE_MD=$HAS_CLAUDE_MD"
echo "HAS_MARKER=$HAS_MARKER"

# Stack detection — same style as ccc-onboard's clone-time validator
test -f package.json && echo "STACK=node" && grep -o '"\(react\|next\|vue\|nuxt\|express\|fastify\|hono\)"' package.json 2>/dev/null
test -f pyproject.toml -o -f requirements.txt && echo "STACK=python"
test -f Cargo.toml && echo "STACK=rust"
test -f go.mod && echo "STACK=go"
test -f Gemfile && echo "STACK=ruby"
test -f composer.json && echo "STACK=php"
test -f pom.xml -o -f build.gradle && echo "STACK=jvm"

# Package manager clues (mirrors ccc-onboard)
test -f bun.lockb -o -f bun.lock && echo "PM=bun"
test -f pnpm-lock.yaml && echo "PM=pnpm"
test -f yarn.lock && echo "PM=yarn"
test -f package-lock.json && echo "PM=npm"

Read the full file on GitHub · 236 lines

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. 4d ago First seen · 236 lines · 49 tokens per session scan A 48b8ee2e557f

Subscribe to this mod's changes

ccc-adopt is a skill published in the GitHub repository KevinZai/commander (6 stars, last pushed today), licensed MIT. It adds 49 tokens to every session and 3,285 once invoked, about $0.0002 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-31.