Skillquality 0.45
pilot-load-balancer
Distribute tasks across worker pools with health-aware load balancing. Use this skill when: 1. You need to distribute tasks across multiple worker agents 2. You want round-robin, least-connections, or health-based routing 3. You need to track worker capacity and avoid overload
Price
free
Protocol
skill
Verified
no
What it does
pilot-load-balancer
Implement load balancing strategies to distribute tasks across worker pools.
Commands
Discover available workers
WORKERS=$(pilotctl --json peers --search "role:worker" | jq -r '[.[] | {address, node_id, tags}]')
Assign task using round-robin
ROBIN_INDEX=$(cat /tmp/load-balancer-index.txt 2>/dev/null || echo 0)
NEXT_WORKER=$(echo "$WORKERS" | jq -r ".[$ROBIN_INDEX].address")
pilotctl --json send-message "$NEXT_WORKER" \
--data "{\"type\":\"task_assignment\",\"task_id\":\"$TASK_ID\"}"
echo "$(( (ROBIN_INDEX + 1) % WORKER_COUNT ))" > /tmp/load-balancer-index.txt
Assign task using least-connections
LEAST_LOADED=$(echo "$WORKER_STATUS" | jq -r 'sort_by(.active_tasks) | first | .worker')
pilotctl --json send-message "$LEAST_LOADED" \
--data "{\"type\":\"task_assignment\",\"task_id\":\"$TASK_ID\"}"
Workflow Example
Distribute 10 tasks across 3 workers:
#!/bin/bash
WORKERS=$(pilotctl --json peers --search "pool:compute-workers" | jq -r '.[].address')
WORKER_ARRAY=($WORKERS)
ROBIN_INDEX=0
for i in {1..10}; do
WORKER=${WORKER_ARRAY[$ROBIN_INDEX]}
ROBIN_INDEX=$(( (ROBIN_INDEX + 1) % ${#WORKER_ARRAY[@]} ))
pilotctl --json send-message "$WORKER" \
--data "{\"type\":\"task_assignment\",\"task_id\":\"task-$i\"}" &
done
wait
Dependencies
Requires pilot-protocol skill, jq, and uuidgen.
Capabilities
skillsource-teoslayerskill-pilot-load-balancertopic-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,410 chars)
Provenance
Indexed fromgithub
Enriched2026-05-18 19:14:57Z · deterministic:skill-github:v1 · v1
First seen2026-05-18
Last seen2026-05-18