cross-machine-coordination

cross-machine-coordination is a skill for Claude Code, Codex from bradygaster/squad. It costs 21 tokens per session (2,855 once invoked), scanned B, original, MIT.

A method for assigning and sharing work between AI agents running on different computers through Git and GitHub Issues. A task is recorded with its target machine, priority, instructions, and status so another machine can pick it up.

In plain words
What is it for?
Use it to send tasks such as GPU jobs from one machine to another, share their inputs and expected results, and track execution through commits and pushes.
Why use it?
Agents on separate machines cannot rely on the same local files or process, making handoffs easy to lose or misunderstand. This gives them a shared, trackable queue.

Skill for Claude CodeCodex

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-machine-coordination
Any agent
npx skills add bradygaster/squad --skill cross-machine-coordination
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-machine-coordination

README.md
[![agentmods](https://agentmods.dev/badge/skills/bradygaster/squad/cross-machine-coordination.svg)](https://agentmods.dev/skills/bradygaster/squad/cross-machine-coordination)
Your own site
<a href="https://agentmods.dev/skills/bradygaster/squad/cross-machine-coordination"><img src="https://agentmods.dev/badge/skills/bradygaster/squad/cross-machine-coordination.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,855 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00021 $0.02855
Opus 5 $0.00010 $0.01427
Sonnet 5 $0.00004 $0.00571
Haiku 4.5 $0.00002 $0.00285

Measured 4d ago against content hash 2c31feb5a668, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

cross-machine-coordination scanned grade B 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 4d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

FIX: Run: chmod 644 ~/.config/voice/model.yaml
Origin

Copies of this mod

3 near-identical copies found in the catalogue:

.squad/skills/cross-machine-coordination/SKILL.md · 443 lines

How it starts

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

Skill: Cross-Machine Coordination Pattern

Skill ID: cross-machine-coordination
Owner: Ralph (Work Monitor)
Squad Integration: All agents
Status: Specification (ready for implementation)


Overview

Enables squad agents running on different machines (laptop, DevBox, Azure VM) to securely share work, coordinate execution, and pass results without manual intervention.

Pattern: Git-based task queuing + GitHub Issues supplement


Usage

For Task Sources (Orchestrating Machine)

To assign work to DevBox:

# Create task file
cat > .squad/cross-machine/tasks/2026-03-14T1530Z-laptop-gpu-voice-clone.yaml << 'EOF'
id: gpu-voice-clone-001
source_machine: laptop-machine
target_machine: devbox
priority: high
created_at: 2026-03-14T15:30:00Z
task_type: gpu_workload
payload:
  command: "python scripts/voice-clone.py --input voice.wav --output cloned.wav"
  expected_duration_min: 15
  resources:
    gpu: true
    memory_gb: 8
status: pending
EOF

# Commit & push
git add .squad/cross-machine/tasks/
git commit -m "Cross-machine task: GPU voice cloning [squad:machine-devbox]"
git push origin main

Ralph on DevBox will:

  1. Pull the task on next cycle (5-10 min)
  2. Validate schema & command whitelist
  3. Execute the GPU workload
  4. Write result to .squad/cross-machine/results/gpu-voice-clone-001.yaml
  5. Commit & push the result

For Task Executors (DevBox, Azure VMs)

Ralph automatically watches .squad/cross-machine/tasks/ for work targeted at this machine.

On each cycle (5-10 min):

# Pseudo-code (Ralph implementation)
1. git pull origin main
2. Load all .yaml files in .squad/cross-machine/tasks/
3. Filter for status=pending AND target_machine=HOSTNAME
4. For each task:
   a. Validate schema (must have: id, source_machine, target_machine, payload)
   b. Validate command against whitelist
   c. Execute task (with timeout)
   d. Write result to .squad/cross-machine/results/{id}.yaml
   e. Commit & push result

Read the full file on GitHub · 443 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. 4d ago First seen · 443 lines · 21 tokens per session scan B 2c31feb5a668

Subscribe to this mod's changes

cross-machine-coordination is a skill published in the GitHub repository bradygaster/squad (3,154 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 2,855 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.