ccc-relay

ccc-relay is a skill for Claude Code, Codex from KevinZai/commander. It costs 65 tokens per session (2,484 once invoked), scanned A, original, MIT.

A workflow that chains separate agent sessions so the output of one becomes the input to the next. For example, a specification session can hand work to a build session, then to review and merge sessions.

In plain words
What is it for?
Use it to connect planning, implementation, review, and merge loops, with parallel work inside a stage when needed.
Why use it?
It separates long projects into independently managed stages while passing progress between them.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present. Also seen: names the AskUserQuestion tool; mentions Codex; $skill-name invocation.

Good fit Use it to connect planning, implementation, review, and merge loops, with parallel work inside a stage when needed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kevinzai/commander/ccc-relay
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.

Any agent
npx skills add KevinZai/commander --skill ccc-relay
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-relay

README.md
[![agentmods](https://agentmods.dev/badge/skills/kevinzai/commander/ccc-relay/github.svg)](https://agentmods.dev/skills/kevinzai/commander/ccc-relay)
Your own site
<a href="https://agentmods.dev/skills/kevinzai/commander/ccc-relay"><img src="https://agentmods.dev/badge/skills/kevinzai/commander/ccc-relay/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 ccc-relay

Your own site · 80×15
<a href="https://agentmods.dev/skills/kevinzai/commander/ccc-relay"><img src="https://agentmods.dev/badge/skills/kevinzai/commander/ccc-relay.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,484 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 warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 128
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 130
    Skill allows unbounded resource consumption (API calls, storage, compute). Without rate limits or quotas, a compromised or misbehaving agent can cause denial-of-service or cost overruns.
    Fix: Set explicit rate limits, timeouts, and resource quotas for API calls, file operations, and compute. Implement circuit breakers for runaway loops.
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.00065 $0.02484
Opus 5.5 $0.00026 $0.00994
Sonnet 5.5 $0.00013 $0.00497
Haiku 4.5 $0.00006 $0.00248

Measured 1mo ago against content hash 79e2a897ee33, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ccc-relay 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 1mo 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-relay/SKILL.md · 169 lines

How it starts

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

$ccc-relay — chained loop sessions

CC Commander · $ccc-relay · a relay team of loops: each link runs in fresh context, meets its own gate, and passes a baton to the next.

$ccc-loop iterates inside one session. $ccc-relay chains separate sessions (the "Finn Loop"): a spec loop hands to a build loop, which hands to a review loop, which stops at merge for an explicit human go. No human re-prompts between links.

It composes three primitives instead of re-implementing them:

  • $ccc-loop: the loop taxonomy, the should-loop gate, the state-file convention, verifier separation. Each link is one loop from that taxonomy.
  • $ccc-fleet: parallelism inside a link (fan the build out across worktrees). A relay is sequential across links.
  • $ccc-spawn and the CLI /spawn command (commands/ccc-spawn.md): launching the next link as its own session.

When to use / when not to

  • Use when a spec → build → review chain recurs (at least weekly) and each link has an automated bar.
  • One-shot work is a pipeline: use $ccc-fleet pipeline or run $ccc-plan, $ccc-build, $ccc-review by hand.
  • Parallel rather than sequential work belongs to $ccc-fleet.
  • If any link fails its gate (step 2), that link is a manual step, and the chain is not a relay.

What happens

The canonical chain:

spec loop  ──▶  build loop  ──▶  review loop  ──▶  merge (human go)
 $ccc-plan       $ccc-build        $ccc-review       $ccc-ship
 + /goal         + /goal           + /goal           (gated, never automatic)

1. Name the chain and define the links

Ask for the chain name and the links (default spec → build → review → merge), and for each link its acceptance bar. Write the state file before anything starts:

mkdir -p .claude/loop-state

Then write .claude/loop-state/<chain-name>.json with the Write tool, following references/relay-state.md: iteration: 0, stopCondition, empty history, and a relay block with phase: "running", next, signal, and a handoff whose verifier names the grading link and whose humanGate is true for merge. Validate it:

Read the full file on GitHub · 169 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. 1mo ago Changed · -1 lines 79e2a897ee33
  2. 1mo ago Changed · +16 lines · +20 tokens per session c114b5f7e1eb
  3. 2mo ago First seen · 154 lines · 45 tokens per session scan A 88a6dc0701b4

Subscribe to this mod's changes

ccc-relay is a skill published in the GitHub repository KevinZai/commander (6 stars, last pushed yesterday), licensed MIT. It adds 65 tokens to every session and 2,484 once invoked, about $0.0003 per session on Opus 5.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-09-03.

Related

ccc-relay compared with skills from other repositories

ccc-relay next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ccc-relayKevinZai/commanderSkill6yesterdayMITA65Claude Code, Codex
logingreenpolo/cc-multi-cli-pluginSkill1972d agoApache-2.0A10Claude Code
skill-devandisab/swe-marketplaceSkill232d agoMITA86Claude Code
coordinatorandisab/swe-marketplaceSkill232d agoMITA193Claude Code
mcp-tool-devandisab/swe-marketplaceSkill232d agoMITA158Claude Code
debt-ops-addbcanfield/agentic-tech-debtSkill9yesterdayMITA115Claude Code, Codex
debt-ops-metricsbcanfield/agentic-tech-debtSkill9yesterdayMITA74Claude Code, Codex