Cross-Machine Coordination Pattern

Coordinate distributed squad work across machines using Git-based task queues.

Updated Apr 16, 2026
One-click install
npx skills add https://github.com/Leep-GH/Lee-s-squad --skill cross-machine-coordination-pattern-leep-gh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Cross-Machine Coordination Pattern
Source: https://github.com/Leep-GH/Lee-s-squad/tree/main/packages/squad-sdk/templates/skills/cross-machine-coordination
Command: npx skills add https://github.com/Leep-GH/Lee-s-squad --skill cross-machine-coordination-pattern-leep-gh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables squad agents on different machines to securely share work, coordinate execution, and pass results without manual intervention.

Core Features & Use Cases

  • Git-based task queuing with .squad directories and optional GitHub Issues supplementation for urgent tasks.
  • Automatic task execution, result propagation, and audit trails across distributed machines.
  • Real-world scenarios include laptop ↔ DevBox ↔ cloud VM coordination for GPU workloads or data processing with safety checks and logs.

Quick Start

Create a task file under .squad/cross-machine/tasks with a pending status and push to main to start coordinating work.

Frequently Asked Questions about Cross-Machine Coordination Pattern

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I coordinate tasks across multiple machines for distributed squad work?

Coordinate distributed squad work across multiple machines by using Git-based task queues within .squad directories. Agents on different machines securely share work, execute tasks, and pass results without manual intervention by committing pending task files to the main branch.

Can I use GitHub Issues to supplement Git-based task queuing for urgent work?

Yes, GitHub Issues can supplement Git-based task queuing to handle urgent tasks across machines. The coordination pattern uses .squad directories for standard task files while integrating GitHub Issues to prioritize and track time-sensitive distributed squad work.

How does cross-machine coordination work for GPU workloads on cloud VMs and DevBoxes?

Cross-machine coordination for GPU workloads works by connecting laptop, DevBox, and cloud VM environments through a shared Git repository. It automatically executes queued tasks, propagates results, and maintains audit trails across the distributed machines for data processing.

What are the limitations of using Git repositories for distributed task execution?

Git-based task execution relies on committing to a shared repository, which requires network connectivity and manual or automated pushes to trigger work. It is not designed for real-time streaming or sub-second latency coordination, but rather for asynchronous, long-running tasks with audit logs.

Do I need schema validation and command whitelisting for cross-machine task automation?

Yes, cross-machine task automation requires schema validation, command whitelisting, resource limits, execution isolation, and immutable audit logs. These safety checks are enforced via a defined file and issue workflow to ensure secure coordination across distributed machines.

What is the best way to start automating squad tasks across different machines?

Start automating squad tasks by creating a task file under the .squad/cross-machine/tasks directory with a pending status. Push the file to the main branch to initiate the coordination workflow and automatically distribute work to available machines.