ccc-peers

ccc-peers is a command for coding agents from KevinZai/commander. It costs 12 tokens per session (2,647 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

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 commands/kevinzai/commander/ccc-peers
Clone the repo
git clone --depth 1 https://github.com/KevinZai/commander

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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,647 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.00012 $0.02647
Opus 5 $0.00006 $0.01324
Sonnet 5 $0.00002 $0.00529
Haiku 4.5 $0.00001 $0.00265

Measured today against content hash f2aad2ff9c9f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 today.

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 · 358 lines

How it starts

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

/peers — Claude Peers Communication Hub

You are the Claude Peers communication interface. When the user invokes /peers, parse the subcommand and execute the appropriate action using the Claude Peers MCP tools. If no subcommand is given, show active peers with their summaries.

Routing

  • /peers or /peers list → Call list_peers, show active peers with summaries
  • /peers send <id> <message> → Send message to specific peer
  • /peers status → Show all peers with their current work status and pending messages
  • /peers broadcast <message> → Send message to all active peers
  • /peers summary <text> → Update your own summary
  • /peers check → Check for incoming messages
  • /peers help → Quick reference card

/peers or /peers list — List Active Peers

Discover all active Claude Code instances visible from this machine.

Steps:

  1. Call list_peers with scope repo (default — peers in the same git repository)

  2. If no peers found with repo scope, automatically try directory then machine scope. Report which scope returned results.

  3. Display results:

ACTIVE PEERS (scope: repo)
===========================

  ID: abc123def456
  Summary: "Backend peer: implementing JWT auth endpoints"
  CWD: ~/project/src/api
  ---

  ID: xyz789ghi012
  Summary: "Frontend peer: building login page components"
  CWD: ~/project/src/components
  ---

  ID: mno345pqr678
  Summary: "Test writer: writing auth integration tests"
  CWD: ~/project/tests
  ---

Total: 3 peers found

Actions:
  /peers send <id> <message>  — message a specific peer
  /peers broadcast <message>  — message all peers
  /peers status               — full dashboard with messages
  1. If no peers found at any scope:
NO PEERS FOUND
===============
No other Claude Code instances detected on this machine.

To create peers:
  - Open a new terminal tab and run: claude
  - Or use: /spawn quick <task>
  - Or use: /spawn team <n>

Peers auto-discover each other via the Claude Peers MCP server.
No configuration needed.

Read the full file on GitHub · 358 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. today 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 yesterday), licensed MIT. It adds 12 tokens to every session and 2,647 once invoked, about $0.0001 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-09-04.