distributed-mesh

Generate mesh.json and sync scripts to materialize remote state via git.

Updated Apr 16, 2026
One-click install
npx skills add https://github.com/Leep-GH/Lee-s-squad --skill distributed-mesh-leep-gh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: distributed-mesh
Source: https://github.com/Leep-GH/Lee-s-squad/tree/main/.copilot/skills/distributed-mesh
Command: npx skills add https://github.com/Leep-GH/Lee-s-squad --skill distributed-mesh-leep-gh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, git, curl.

What problem does it solve?

This skill enables cross-machine squad coordination by materializing remote state locally using git as the transport layer, reducing handoffs and context-switching when teams are dispersed.

Core Features & Use Cases

  • Generate a mesh.json from user-provided topology (which squads participate, their zones, and connection details) using the schema template.
  • Copy bundled sync-mesh.sh and sync-mesh.ps1 into the project root so state can be synchronized deterministically.
  • Initialize a Zone 2 shared state repository when requested, scaffolding per-squad directories and placeholder summaries.
  • Create a decision entry in .squad/decisions/inbox to surface mesh configuration for team awareness and governance.

Quick Start

Configure the mesh topology and run the provided sync script to materialize remote state.

Frequently Asked Questions about distributed-mesh

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

FAQPage Schema
How do I synchronize files across machines using git for distributed squad collaboration?

You can synchronize files across machines using git by materializing remote state locally through a shared state repository. This approach uses git as the transport layer, copying sync scripts into your project root to deterministically pull remote squad files before agents start work.

What is a git mesh topology and when do I need to materialize remote state locally?

A git mesh topology defines which squads participate, their zones, and connection details in a mesh.json file. You need it when squads span multiple machines or organizations and local agents require access to remote files to reduce handoffs and context-switching.

How do I set up cross-machine squad coordination with a shared state repository?

Set up cross-machine coordination by generating a mesh.json from your topology, initializing a shared state repository with per-squad directories and placeholder summaries, and running the bundled sync-mesh.sh or sync-mesh.ps1 scripts to synchronize state.

Do I need jq and curl to run cross-machine git synchronization scripts?

Yes, you need jq, curl, and git installed to run the cross-machine synchronization scripts. These dependencies are required to process the mesh.json topology configuration and execute the state materialization commands.

How does git mesh synchronization compare to other distributed state management approaches?

Git mesh synchronization uses git as the transport layer to materialize remote state locally, differing from other distributed approaches by scaffolding per-squad directories and creating decision inbox entries for team governance rather than relying on real-time network connections.

When should I not use git as a transport layer for cross-machine squad coordination?

You should avoid using git as a transport layer for cross-machine coordination when squads require real-time file access or when the overhead of managing a shared state repository and sync scripts outweighs the benefit of local state materialization for your team size.