cross-machine-coordination

Coordinates task execution across machines using git-based YAML task queues and GitHub Issues.

Updated Jun 2, 2026
One-click install
npx skills add https://github.com/codebytes/btt --skill cross-machine-coordination-codebytes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cross-machine-coordination
Source: https://github.com/codebytes/btt/tree/main/.squad/templates/skills/cross-machine-coordination
Command: npx skills add https://github.com/codebytes/btt --skill cross-machine-coordination-codebytes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Agents running on different machines (laptop, DevBox, Azure VM) cannot easily hand off work without manual copy-paste through chat or terminals. This Skill defines a git-based task queuing pattern so agents on one machine can assign, execute, and collect results from another machine automatically. ## Core Features & Use Cases - Git-Based Task Queue: Tasks are YAML files committed to .squad/cross-machine/tasks/ with schema validation, priority, and resource requirements; results are written back to .squad/cross-machine/results/ and pushed to git. - GitHub Issues Fallback: Urgent or ad-hoc tasks can be submitted as issues with squad:machine-{name} labels, which the target machine's agent detects, executes, and answers via comments. - Security Validation Pipeline: Every task passes schema validation, command whitelisting, resource limits (timeout, memory, CPU), and execution isolation before running, with a full git audit trail. - Use Case: A laptop agent needs GPU voice cloning done on a DevBox. It commits a task YAML file, the DevBox agent picks it up on its next 5-10 minute watch cycle, executes the whitelisted command, and pushes a result YAML with exit code, stdout, and artifact paths. ## Quick Start Create a YAML task file in .squad/cross-machine/tasks/ specifying the target machine and command, then commit and push it so the remote agent executes it automatically.

Frequently Asked Questions about cross-machine-coordination

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

FAQPage Schema
How do I assign a task to an agent on another machine?

Create a YAML file in .squad/cross-machine/tasks/ with the task id, source_machine, target_machine, payload command, and status pending, then commit and push to git. The target machine's agent pulls it on its next watch cycle, validates it, executes it, and pushes a result file.

How do I submit an urgent task without writing a YAML file?

Create a GitHub issue with the label squad:machine-{name} for the target machine, describing the task in the issue body. The remote agent detects the labeled issue, executes the task, comments with the result, and closes the issue.

What is the task file format for cross-machine execution?

Tasks are YAML files requiring id, source_machine, target_machine, priority, created_at, task_type, payload with command and resources, and status. Results are separate YAML files containing exit_code, stdout, stderr, duration_seconds, and artifact paths.

How are commands secured against malicious task injection?

Every task passes schema validation, a command whitelist, path validation, and resource limits before execution. Tasks run as an unprivileged user with timeouts and memory caps, and all executions are logged immutably in git history.

What happens when a cross-machine task fails or times out?

Failed tasks produce a result file with status failed, the exit code, and captured stderr, committed to git for audit. Timed-out tasks are killed and marked status timeout; the source machine can retry by re-pushing the task as pending.

What are the limitations of git-based task queuing?

Execution latency depends on the agent's poll interval of 5-10 minutes, so it is unsuitable for real-time work. Only whitelisted commands can run, and network outages delay execution until connectivity is restored, though no queued tasks are lost.