{"id":"7619a976-ac70-44d2-9325-46582f1fdb96","shortId":"cdex9U","kind":"skill","title":"pilot-task-parallel","tagline":"Fan-out tasks to multiple agents and merge results.  Use this skill when: 1. You need to distribute independent work across multiple agents 2. You want to aggregate results from parallel task execution 3. You need to reduce execution time through parallelization  Do NOT use this ","description":"# pilot-task-parallel\n\nFan-out tasks to multiple agents for parallel execution and merge results.\n\n## Commands\n\n### Submit multiple tasks in parallel\n```bash\nfor AGENT in \"${AGENTS[@]}\"; do\n  pilotctl --json task submit \"$AGENT\" --task \"Compute task batch\" &\ndone\nwait\n```\n\n### Wait for all completions\n```bash\nwhile true; do\n  ALL_DONE=true\n  for TASK_ID in \"${TASK_IDS[@]}\"; do\n    STATUS=$(pilotctl --json task list --type submitted | jq -r \".[] | select(.task_id == \\\"$TASK_ID\\\") | .status\")\n    [ \"$STATUS\" != \"completed\" ] && [ \"$STATUS\" != \"failed\" ] && ALL_DONE=false && break\n  done\n  [ \"$ALL_DONE\" == true ] && break\n  sleep 2\ndone\n```\n\n### Merge results\n```bash\npilotctl --json task list --type submitted | \\\n  jq -r \"[.[] | select(.task_id | IN(\\\"${TASK_IDS[@]}\\\")) | select(.status == \\\"completed\\\") | .result]\"\n```\n\n## Workflow Example\n\nDistribute image processing across GPU agents:\n\n```bash\n#!/bin/bash\nGPU_AGENTS=$(pilotctl --json peers --search \"gpu\" | jq -r '.[].address')\nAGENT_ARRAY=($GPU_AGENTS)\n\nTASK_IDS=()\nfor i in {1..10}; do\n  AGENT=${AGENT_ARRAY[$((i % ${#AGENT_ARRAY[@]}))]}\n  TASK=$(pilotctl --json task submit \"$AGENT\" \\\n    --task \"Process image batch index $i\")\n  TASK_IDS+=(\"$(echo \"$TASK\" | jq -r '.task_id')\")\ndone\n\n# Wait for all tasks\nwhile true; do\n  ALL_DONE=true\n  for TASK_ID in \"${TASK_IDS[@]}\"; do\n    STATUS=$(pilotctl --json task list --type submitted | \\\n      jq -r \".[] | select(.task_id == \\\"$TASK_ID\\\") | .status\")\n    [ \"$STATUS\" != \"completed\" ] && [ \"$STATUS\" != \"failed\" ] && ALL_DONE=false && break\n  done\n  [ \"$ALL_DONE\" == true ] && break\n  sleep 2\ndone\n\necho \"All tasks completed\"\n```\n\n## Dependencies\n\nRequires pilot-protocol skill, jq, and Bash 4.0+.","tags":["pilot","task","parallel","skills","teoslayer","agent-skills","ai-agents","clawhub","networking","openclaw","overlay-network","p2p"],"capabilities":["skill","source-teoslayer","skill-pilot-task-parallel","topic-agent-skills","topic-ai-agents","topic-clawhub","topic-networking","topic-openclaw","topic-overlay-network","topic-p2p","topic-pilot-protocol"],"categories":["pilot-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/TeoSlayer/pilot-skills/pilot-task-parallel","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add TeoSlayer/pilot-skills","source_repo":"https://github.com/TeoSlayer/pilot-skills","install_from":"skills.sh"}},"qualityScore":"0.453","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 6 github stars · SKILL.md body (1,711 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:15:05.267Z","embedding":null,"createdAt":"2026-05-18T13:22:53.728Z","updatedAt":"2026-05-18T19:15:05.267Z","lastSeenAt":"2026-05-18T19:15:05.267Z","tsv":"'/bin/bash':171 '1':19,191 '10':192 '2':29,139,267 '3':39 '4.0':282 'across':26,167 'address':181 'agent':11,28,62,77,79,85,169,173,182,185,194,195,198,205 'aggreg':33 'array':183,196,199 'bash':75,96,143,170,281 'batch':89,209 'break':132,137,260,265 'command':69 'complet':95,126,160,254,272 'comput':87 'depend':273 'distribut':23,164 'done':90,101,130,133,135,140,220,229,258,261,263,268 'echo':214,269 'exampl':163 'execut':38,44,65 'fail':128,256 'fals':131,259 'fan':6,57 'fan-out':5,56 'gpu':168,172,178,184 'id':105,108,121,123,154,157,187,213,219,233,236,249,251 'imag':165,208 'independ':24 'index':210 'jq':117,150,179,216,245,279 'json':82,112,145,175,202,240 'list':114,147,242 'merg':13,67,141 'multipl':10,27,61,71 'need':21,41 'parallel':4,36,47,55,64,74 'peer':176 'pilot':2,53,276 'pilot-protocol':275 'pilot-task-parallel':1,52 'pilotctl':81,111,144,174,201,239 'process':166,207 'protocol':277 'r':118,151,180,217,246 'reduc':43 'requir':274 'result':14,34,68,142,161 'search':177 'select':119,152,158,247 'skill':17,278 'skill-pilot-task-parallel' 'sleep':138,266 'source-teoslayer' 'status':110,124,125,127,159,238,252,253,255 'submit':70,84,116,149,204,244 'task':3,8,37,54,59,72,83,86,88,104,107,113,120,122,146,153,156,186,200,203,206,212,215,218,224,232,235,241,248,250,271 'time':45 'topic-agent-skills' 'topic-ai-agents' 'topic-clawhub' 'topic-networking' 'topic-openclaw' 'topic-overlay-network' 'topic-p2p' 'topic-pilot-protocol' 'true':98,102,136,226,230,264 'type':115,148,243 'use':15,50 'wait':91,92,221 'want':31 'work':25 'workflow':162","prices":[{"id":"55696647-b17a-49f7-bf4c-1e1b228bd35a","listingId":"7619a976-ac70-44d2-9325-46582f1fdb96","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"TeoSlayer","category":"pilot-skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:22:53.728Z"}],"sources":[{"listingId":"7619a976-ac70-44d2-9325-46582f1fdb96","source":"github","sourceId":"TeoSlayer/pilot-skills/pilot-task-parallel","sourceUrl":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-task-parallel","isPrimary":false,"firstSeenAt":"2026-05-18T13:22:53.728Z","lastSeenAt":"2026-05-18T19:15:05.267Z"}],"details":{"listingId":"7619a976-ac70-44d2-9325-46582f1fdb96","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"TeoSlayer","slug":"pilot-task-parallel","github":{"repo":"TeoSlayer/pilot-skills","stars":6,"topics":["agent-skills","ai-agents","clawhub","networking","openclaw","overlay-network","p2p","pilot-protocol"],"license":"agpl-3.0","html_url":"https://github.com/TeoSlayer/pilot-skills","pushed_at":"2026-05-13T06:08:49Z","description":"80+ agent skills for Pilot Protocol — communication, file transfer, trust, task routing, swarm coordination, and more","skill_md_sha":"f746168cd07d9ab443588b21603c8bf4a355d63b","skill_md_path":"skills/pilot-task-parallel/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-task-parallel"},"layout":"multi","source":"github","category":"pilot-skills","frontmatter":{"name":"pilot-task-parallel","license":"AGPL-3.0","description":"Fan-out tasks to multiple agents and merge results.  Use this skill when: 1. You need to distribute independent work across multiple agents 2. You want to aggregate results from parallel task execution 3. You need to reduce execution time through parallelization  Do NOT use this skill when: - Tasks have sequential dependencies (use pilot-task-chain) - You only need to run a single task - Order of execution matters for correctness","compatibility":"Requires pilot-protocol skill and pilotctl binary on PATH. The daemon must be running (pilotctl daemon start)."},"skills_sh_url":"https://skills.sh/TeoSlayer/pilot-skills/pilot-task-parallel"},"updatedAt":"2026-05-18T19:15:05.267Z"}}