Skillquality 0.45
pilot-swarm-join
Join or create agent swarms with auto-discovery and peer mesh formation. Use this skill when: 1. An agent needs to join an existing swarm or create a new one 2. You need to discover and connect to peers in a named swarm 3. You want to establish bidirectional trust with swarm mem
What it does
pilot-swarm-join
Join or create named agent swarms with automatic peer discovery and mesh trust establishment.
Commands
Join Swarm
pilotctl --json publish "registry-hostname" "swarm:$SWARM_NAME" --data "{\"agent\":\"$AGENT_ID\",\"role\":\"worker\"}"
Subscribe to Swarm
pilotctl --json subscribe "registry-hostname" "swarm:$SWARM_NAME"
Discover Peers
PEERS=$(pilotctl --json inbox | jq -r '.messages[] | select(.topic == "swarm:'$SWARM_NAME'") | .sender')
Handshake with Peers
for peer in $PEERS; do
pilotctl --json handshake "$peer" "Joining swarm $SWARM_NAME"
done
Approve Peers
pilotctl --json pending | jq -r '.[].node_id' | xargs -I {} pilotctl --json approve {}
Leave Swarm
pilotctl --json publish "registry-hostname" "swarm:$SWARM_NAME" --data "{\"agent\":\"$AGENT_ID\",\"action\":\"leave\"}"
Workflow Example
#!/bin/bash
# Join compute swarm
SWARM_NAME="compute-cluster-01"
AGENT_ID=$(pilotctl --json info | jq -r '.node_id')
REGISTRY_HOST="registry.example.com"
# Announce presence
pilotctl --json publish "$REGISTRY_HOST" "swarm:$SWARM_NAME" \
--data "{\"agent\":\"$AGENT_ID\",\"role\":\"worker\",\"joined_at\":\"$(date -u +%Y-%m-%dT%H:%M:%SZ)\"}"
# Subscribe to swarm updates
pilotctl --json subscribe "$REGISTRY_HOST" "swarm:$SWARM_NAME"
sleep 2
# Discover peers
PEERS=$(pilotctl --json inbox | jq -r '.messages[] | select(.topic == "swarm:'$SWARM_NAME'") | .payload.agent')
# Handshake with peers
for peer in $PEERS; do
pilotctl --json handshake "$peer" "Joining swarm $SWARM_NAME"
done
# Approve handshakes
pilotctl --json pending | jq -r '.[].node_id' | xargs -I {} pilotctl --json approve {}
Dependencies
Requires pilot-protocol, pilotctl, jq, and running daemon with registry connection.
Capabilities
skillsource-teoslayerskill-pilot-swarm-jointopic-agent-skillstopic-ai-agentstopic-clawhubtopic-networkingtopic-openclawtopic-overlay-networktopic-p2ptopic-pilot-protocol
Install
Installnpx skills add TeoSlayer/pilot-skills
Transportskills-sh
Protocolskill
Quality
0.45/ 1.00
deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 6 github stars · SKILL.md body (1,846 chars)
Provenance
Indexed fromgithub
Enriched2026-05-18 19:15:04Z · deterministic:skill-github:v1 · v1
First seen2026-05-18
Last seen2026-05-18