boxel: Skill for Claude Code

.claude/skills/agent-peer-collaboration/SKILL.md

agent-peer-collaboration is a skill for Claude Code from cardstack/boxel. It costs 193 tokens per session (5,347 once invoked), scanned A, original, MIT.

A set of instructions for coordinating several Claude sessions working on the same repository at the same time. It covers communication, shared test resources, worktrees, and GitHub limits.

In plain words
What is it for?
Use it when multiple coding agents are working in parallel and need to announce activity, choose a lead, share findings, and hand off safely.
Why use it?
Without coordination, parallel sessions can duplicate work or interfere with each other's tests, containers, database lane, or Git data. It also distinguishes local peers from sessions on other machines.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents; mentions Claude Code.

This is cardstack/boxel's own configuration. It tells Claude Code how to work on boxel 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 boxel configures →

Reuse

Borrowing it

Nothing to install: this file belongs to cardstack/boxel. 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/cardstack/boxel/main/.claude/skills/agent-peer-collaboration/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/cardstack/boxel

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 agent-peer-collaboration

README.md
[![agentmods](https://agentmods.dev/badge/skills/cardstack/boxel/agent-peer-collaboration/github.svg)](https://agentmods.dev/skills/cardstack/boxel/agent-peer-collaboration)
Your own site
<a href="https://agentmods.dev/skills/cardstack/boxel/agent-peer-collaboration"><img src="https://agentmods.dev/badge/skills/cardstack/boxel/agent-peer-collaboration/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 agent-peer-collaboration

Your own site · 80×15
<a href="https://agentmods.dev/skills/cardstack/boxel/agent-peer-collaboration"><img src="https://agentmods.dev/badge/skills/cardstack/boxel/agent-peer-collaboration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 193 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,347 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00193 $0.05347
Opus 5.5 $0.00077 $0.02139
Sonnet 5.5 $0.00039 $0.01069
Haiku 4.5 $0.00019 $0.00535

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

Security

Grade A, and why

agent-peer-collaboration scanned grade A with 1 finding 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 5d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Announce "up" only once the stack is actually ready — use the readiness probes the `test-services` tasks themselves wait on, ending with the last one to come up: `curl -skf 'https://localhost:4202/node-test/_readiness-
.claude/skills/agent-peer-collaboration/SKILL.md · 141 lines

How it starts

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

Agent Peer Collaboration

Several Claude sessions routinely run at once on this machine, each in its own worktree of the same repo, sharing one test stack, one Postgres test lane, one set of Docker containers, one .git directory, and one GitHub API budget. Their work collides and corroborates constantly, and none of them can see another's transcript. An agent that stays silent turns the human into the router for information the agents could have exchanged directly — and the human only learns of the overlap if they happen to notice.

ListAgents also reaches sessions outside this machine — the same account's sessions on other machines (over Remote Control) and in the cloud, each row labelled by kind. Those peers share the repo, the PR set and the GitHub API budget, but none of the local machinery: their :4200, their Docker, their test lane and their .git are not yours. So there are two scopes, and each protocol below says which one it belongs to. Running a same-machine protocol against a peer elsewhere does worse than add noise: it produces false all-clears on resources that peer never held.

So: coordinate proactively, without being asked. The rest of this skill is when, how, and the shared-resource protocols that make it work.

Tools

  • ListAgents — who is live right now, each row labelled by kind: subagents you spawned, other sessions on this machine, and — when Remote Control is connected in your session — the same account's sessions on other machines and in the cloud. Names are the address. A session without Remote Control is invisible here, so the listing is a floor on who is live, never a roster: absence proves nothing about another machine.
  • SendMessage({to: "<name>", message: "..."}) — message a peer. The bare name delivers to exactly one live session wherever it runs; append the [ref] a listing or an error shows only when the name is ambiguous, which it will be across machines that name worktrees alike. Two delivery asymmetries matter. A peer on this machine reports back (a [Cross-session delivery notice]) when it refuses or holds your message, while a Remote Control or cloud peer reports nothing at all — so for a remote peer, silence carries no information in either direction. And notify_when_idle: true — the way to wait on a holder without polling — subscribes only to a session on this machine.
  • Ownership of a running thing: lsof -nP -iTCP:<port> -sTCP:LISTEN names the listener and its pid, lsof -a -p <pid> -d cwd -Fn | sed -n 's/^n//p' names the worktree that launched it, and ps -ww -o command= -p <pid> recovers the invocation it was started with. Those three behave the same on macOS and Linux, and lsof exits 1 when nothing matches, so it chains like any other guard. On Linux ss -ltnpH "sport = :<port>", readlink /proc/<pid>/cwd and /proc/<pid>/cmdline are equivalent and cheaper; neither ss nor /proc exists on macOS. Worktree and session names are the cheap tell for who that is.
  • A missing probe fails open, which is the dangerous direction for every check below: the command is not found, the pipeline prints nothing, and an in-use resource reads as clear. ss and /proc are absent on macOS, lsof is absent from slim Linux images. Make the tool's own presence part of the test (command -v lsof) and treat "not found" as busy, never as free.

Read the full file on GitHub · 141 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. 5d ago First seen · 141 lines · 193 tokens per session scan A b607e4887cb4

Subscribe to this mod's changes

agent-peer-collaboration is a skill published in the GitHub repository cardstack/boxel (27 stars, last pushed today), licensed MIT. It adds 193 tokens to every session and 5,347 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-21.