cross-squad-communication

cross-squad-communication is a skill for Claude Code, Codex from bradygaster/squad. It costs 25 tokens per session (4,739 once invoked), scanned A, a copy of cross-squad-communication, MIT.

A communication protocol for independent coding-agent teams working in different repositories. It describes ways to ask questions, delegate work, share context, review changes, and examine dependencies across repositories.

In plain words
What is it for?
Use it for cross-repository knowledge requests, task delegation, dependency analysis, and pull-request reviews involving multiple coding-agent teams.
Why use it?
Separate teams have their own tools, runtimes, and issue trackers, so information and tasks do not automatically cross repository boundaries. The protocol defines how those teams can coordinate.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

About the project

bradygaster/squad is a tool that creates a human-directed team of AI development agents inside a project repository through GitHub Copilot. Developers use it to delegate work among persistent specialists such as frontend, backend, testing, and lead agents while retaining responsibility for decisions and review. The catalogue entries are the skills, agents, and instructions that define and coordinate those team members.

bradygaster/squad · 3,159 stars · on GitHub · bradygaster.github.io

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/bradygaster/squad/cross-squad-communication
Any agent
npx skills add bradygaster/squad --skill cross-squad-communication
Clone the repo
git clone --depth 1 https://github.com/bradygaster/squad

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 cross-squad-communication

README.md
[![agentmods](https://agentmods.dev/badge/skills/bradygaster/squad/cross-squad-communication.svg)](https://agentmods.dev/skills/bradygaster/squad/cross-squad-communication)
Your own site
<a href="https://agentmods.dev/skills/bradygaster/squad/cross-squad-communication"><img src="https://agentmods.dev/badge/skills/bradygaster/squad/cross-squad-communication.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,739 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00025 $0.04739
Opus 5 $0.00013 $0.02370
Sonnet 5 $0.00005 $0.00948
Haiku 4.5 $0.00003 $0.00474

Measured 6d ago against content hash 6395ca6690cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

cross-squad-communication 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 6d 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.

Origin

This is a copy

100% identical to cross-squad-communication — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.squad/skills/cross-squad-communication/SKILL.md · 400 lines

How it starts

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

Context

When multiple repositories each have their own Squad (AI team), they need to exchange information: knowledge queries, PR reviews, task delegation, and dependency analysis. Each squad has its own agents, MCP tools, and issue tracker — there is no shared runtime.

Companion skill — read first: cross-squad/SKILL.md covers discovery of peer squads via squad registry add/list/remove. This skill picks up after a peer is known and covers the communication protocols themselves — the four numbered patterns below: Pattern 0 (synchronous CLI), Pattern 1 (read-only knowledge query), Pattern 2 (git-based async), and Pattern 3 (GitHub-issue-based delegation). A separate non-numbered appendix (Cross-Repo Dependency Scan) is provided as a related analysis tool, not a communication pattern. The two skills are designed to be used together.

When this skill applies:

  • A squad agent needs information from another squad-enabled repo
  • A task needs to be delegated to another squad
  • Cross-repo dependency analysis is needed
  • PR review requests span repo boundaries

Key constraint: Each squad has its own runtime, MCP tools, and issue tracker. Cross-squad communication can be synchronous (via CLI session targeting the other repo) or asynchronous (file-based or issue-based). The coordinator decides which approach fits.


Patterns

Decision Tree: Choosing the Right Pattern

Is the target repo cloned locally?
├─ NO → Use Pattern 3 (Issue-Based) or Pattern 2 (Git-Based Async)
└─ YES
    ├─ Is this a quick query / knowledge lookup?
    │   └─ YES → Use Pattern 0 (Synchronous CLI) — fastest
    ├─ Does the work need to persist as artifacts?
    │   └─ YES → Use Pattern 2 (Git-Based Async)
    ├─ Is it a long-running analysis or multi-cycle task?
    │   └─ YES → Use Pattern 2 (Git-Based Async)
    └─ Is the target squad's Ralph running?
        ├─ YES → Pattern 2 or 3 (async processing available)
        └─ NO → Pattern 0 (Synchronous CLI) or Pattern 1 (Read-Only)

Read the full file on GitHub · 400 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. 6d ago First seen · 400 lines · 25 tokens per session scan A 6395ca6690cb

Subscribe to this mod's changes

cross-squad-communication is a skill published in the GitHub repository bradygaster/squad (3,159 stars, last pushed 2d ago), licensed MIT. It adds 25 tokens to every session and 4,739 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to cross-squad-communication, differing in 0 lines, and is treated as a copy.