cross-machine-coordination

Distribute and execute tasks between squad agents across machines via git-based queues.

619|188|Updated Jul 4, 2024
One-click install
npx skills add https://github.com/CommunityToolkit/Aspire --skill cross-machine-coordination-communitytoolkit
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: cross-machine-coordination
Source: https://github.com/CommunityToolkit/Aspire/tree/main/examples/squad/CommunityToolkit.Aspire.Hosting.Squad.AppHost/dev-squad/.squad/templates/skills/cross-machine-coordination
Command: npx skills add https://github.com/CommunityToolkit/Aspire --skill cross-machine-coordination-communitytoolkit

SYSTEM DOCUMENTATION & REQUIREMENTS

๐Ÿ’ก This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill solves the problem of manual workarounds for distributing and executing tasks between squad agents on different machines. It enables secure, automated sharing of work without human intervention.

Core Features & Use Cases

  • Secure Task Distribution: Automates the queuing of tasks for squad agents on different machines.
  • Task Execution: Automates the execution of tasks on target machines.
  • Result Tracking: Tracks and records the execution results.
  • Use Case: If you have multiple squad agents on laptops, DevBoxes, and Azure VMs and want to distribute computational tasks like GPU voice cloning, this skill automates the creation, distribution, and execution of these tasks.

Quick Start

Run the following command on the source machine to enqueue a GPU voice cloning task for the DevBox: cat > .squad/cross-machine/tasks/2026-03-14T1530Z-laptop-gpu-voice-clone.yaml << 'EOF' ... EOF' git add .squad/cross-machine/tasks/ git commit -m "Cross-machine task: GPU voice cloning [squad:machine-devbox]" git push origin main

Frequently Asked Questions about cross-machine-coordination

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

FAQPage Schema
How do I distribute tasks to agents running on different machines?โ–ผ

To distribute tasks across machines, this skill uses a git-based task queuing system that targets specific agents by hostname and priority, ensuring secure and automated execution without manual workarounds. It commits task YAML files to a shared repository.

Can I use git for agent orchestration and task automation across a squad?โ–ผ

Yes, you can use git for agent orchestration by committing task definitions to a shared repository. Squad agents on different machines pull these queued tasks, execute them, and record results, enabling secure squad collaboration without external servers.

How do I target a specific machine for task execution in a multi-agent setup?โ–ผ

You target a specific machine by including a squad machine tag in your git commit message, such as [squad:machine-devbox]. The system reads this tag and routes the task execution to the matching hostname within your squad.

Do I need any external dependencies or servers to queue cross-machine execution tasks?โ–ผ

No external servers are needed for cross-machine execution. The only requirement is git, which acts as the underlying task queuing mechanism to securely distribute and track tasks between squad agents across different machines.

What happens if a distributed task fails on the target machine?โ–ผ

If a distributed task fails on the target machine, the system supports automated retries for failed tasks. It also includes command validation and result tracking to record the execution outcome and help manage squad collaboration errors.

Is cross-machine task automation suitable for distributing computational workloads like GPU processing?โ–ผ

Cross-machine task automation is suitable for computational workloads like GPU voice cloning. You can enqueue tasks from a laptop and distribute them to DevBoxes or Azure VMs, automating the creation and execution of these heavy tasks across your squad.