ccc-peers

ccc-peers is a command for Claude Code from KevinZai/commander. It costs 47 tokens per session (1,415 once invoked), scanned A, original, MIT.

A command interface for finding and messaging other Claude Code sessions running on the same machine or repository.

In plain words
What is it for?
List active agents, check their status, send direct or broadcast messages, and share a short work summary.
Why use it?
It helps coordinate separate coding-agent sessions without switching tools or losing track of their work and messages.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: names the AskUserQuestion tool; mentions Claude Code.

Good fit List active agents, check their status, send direct or broadcast messages, and share a short work summary.

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

Clone the repo
git clone --depth 1 https://github.com/KevinZai/commander

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/kevinzai/commander/ccc-peers"><img src="https://agentmods.dev/badge/commands/kevinzai/commander/ccc-peers.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,415 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.
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.00047 $0.01415
Opus 5.5 $0.00019 $0.00566
Sonnet 5.5 $0.00009 $0.00283
Haiku 4.5 $0.00005 $0.00142

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

Security

Grade A, and why

ccc-peers 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.

commands/ccc-peers.md · 144 lines

How it starts

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

/ccc-peers — messaging between Claude Code sessions

CC Commander · /ccc-peers · lists peer sessions and carries messages between them.

Requires the Claude Peers MCP server, which is opt-in and absent by default. Its tools are list_peers (scope repo | directory | machine), send_message, set_summary and check_messages. If they are not exposed in this session, say so and stop.

Routing

Parse $ARGUMENTS:

Input Action
none, list List active peers
send <id> <message> Message one peer
status Peers, your summary and pending messages
broadcast <message> Message every active peer
summary <text> Set your visible summary
check Read incoming messages
help Print the quick reference

list

  1. Call list_peers with scope repo.
  2. If it returns none, try directory, then machine. Report which scope returned results.
  3. Show each peer's ID, summary and working directory, then the total and the follow-up actions (send, broadcast, status).
  4. If no scope finds peers, say no other Claude Code instances were detected and how to create some: open another terminal and run claude, or use /ccc-spawn.

Scope guide:

Scope Use for
repo (default) Sessions in the same git repository
directory Sessions in the same working directory
machine Any session on this machine, across projects

To force a scope, call list_peers with it directly.

send

  1. With no peer ID, call list_peers and ask which peer with AskUserQuestion, one option per peer (up to four, most relevant summaries first). A typed keyword matches against peer summaries.

  2. With no message, ask for it.

  3. Format the message:

    TYPE: request | status_update | question | result | instruction   (inferred from content)
    FROM: <your summary, or "Coordinator">
    ---
    <message>
    
  4. Call send_message with the peer ID and the formatted text.

  5. Confirm: recipient ID and summary excerpt, inferred type, first 100 characters. Suggest /ccc-peers check for the reply.

Read the full file on GitHub · 144 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. 1mo ago Changed · -214 lines · +35 tokens per session c50229e516ee
  2. 2mo ago First seen · 358 lines · 12 tokens per session scan A f2aad2ff9c9f

Subscribe to this mod's changes

ccc-peers is a command published in the GitHub repository KevinZai/commander (6 stars, last pushed today), licensed MIT. It adds 47 tokens to every session and 1,415 once invoked, about $0.0002 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-04.

Related

ccc-peers compared with commands from other repositories

ccc-peers next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ccc-peersKevinZai/commanderCommand6todayMITA47Claude Code
loopskullninja/coco-workflowCommand71mo agoMITA28Claude Code
phaseskullninja/coco-workflowCommand71mo agoMITA21Claude Code
statusskullninja/coco-workflowCommand71mo agoMITA17Claude Code
justone-publishGodsB1025/justoneCommand26mo agoMITA22Claude Code
checklistgithub/spec-kitCommand153k3d agoMITA13Claude Code
clarifygithub/spec-kitCommand153k3d agoMITA27Claude Code