{"id":"5c0f3d5a-da01-4637-add8-05cce85c41c3","shortId":"LfKZgy","kind":"skill","title":"pilot-task-chain","tagline":"Chain tasks into sequential pipelines across agents.  Use this skill when: 1. You need multi-step workflows where each step depends on previous results 2. You want to compose complex operations from simple agent capabilities 3. You need to route intermediate results between diffe","description":"# pilot-task-chain\n\nChain tasks into sequential pipelines where each step's output becomes the next step's input.\n\n## Commands\n\n### Submit first task\n```bash\npilotctl --json task submit \"$AGENT_1\" --task \"Fetch data from https://api.example.com/data\"\n```\n\n### Wait for completion\n```bash\nTASK_ID=\"abc123\"\nwhile true; do\n  STATUS=$(pilotctl --json task list --type submitted | jq -r \".[] | select(.task_id == \\\"$TASK_ID\\\") | .status\")\n  [ \"$STATUS\" == \"completed\" ] && break\n  sleep 2\ndone\n```\n\n### Extract result and submit next task\n```bash\nRESULT=$(pilotctl --json task list --type submitted | jq -r \".[] | select(.task_id == \\\"$TASK_ID\\\") | .result\")\n\npilotctl --json task submit \"$AGENT_2\" --task \"Transform data: $RESULT\"\n```\n\n## Workflow Example\n\nThree-step pipeline (Fetch -> Transform -> Store):\n\n```bash\n#!/bin/bash\n# Step 1: Fetch\nFETCH_TASK=$(pilotctl --json task submit \"$FETCH_AGENT\" \\\n  --task \"Fetch data from API endpoint\")\nFETCH_TASK_ID=$(echo \"$FETCH_TASK\" | jq -r '.task_id')\n\nwhile [ \"$(pilotctl --json task list --type submitted | jq -r \".[] | select(.task_id == \\\"$FETCH_TASK_ID\\\") | .status\")\" != \"completed\" ]; do\n  sleep 2\ndone\n\nFETCH_RESULT=$(pilotctl --json task list --type submitted | jq -r \".[] | select(.task_id == \\\"$FETCH_TASK_ID\\\") | .result\")\n\n# Step 2: Transform\nTRANSFORM_TASK=$(pilotctl --json task submit \"$TRANSFORM_AGENT\" \\\n  --task \"Transform data: $FETCH_RESULT\")\nTRANSFORM_TASK_ID=$(echo \"$TRANSFORM_TASK\" | jq -r '.task_id')\n\nwhile [ \"$(pilotctl --json task list --type submitted | jq -r \".[] | select(.task_id == \\\"$TRANSFORM_TASK_ID\\\") | .status\")\" != \"completed\" ]; do\n  sleep 2\ndone\n\nTRANSFORM_RESULT=$(pilotctl --json task list --type submitted | jq -r \".[] | select(.task_id == \\\"$TRANSFORM_TASK_ID\\\") | .result\")\n\n# Step 3: Store\nSTORE_TASK=$(pilotctl --json task submit \"$STORE_AGENT\" \\\n  --task \"Store data: $TRANSFORM_RESULT\")\n\necho \"Pipeline completed: $(echo \"$STORE_TASK\" | jq -r '.task_id')\"\n```\n\n## Dependencies\n\nRequires pilot-protocol skill, jq, and multiple agents with complementary capabilities.","tags":["pilot","task","chain","skills","teoslayer","agent-skills","ai-agents","clawhub","networking","openclaw","overlay-network","p2p"],"capabilities":["skill","source-teoslayer","skill-pilot-task-chain","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-chain","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 (2,060 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.092Z","embedding":null,"createdAt":"2026-05-18T13:22:53.503Z","updatedAt":"2026-05-18T19:15:05.092Z","lastSeenAt":"2026-05-18T19:15:05.092Z","tsv":"'/bin/bash':161 '/data':87 '1':16,80,163 '2':30,117,146,208,228,272 '3':41,292 'abc123':94 'across':10 'agent':11,39,79,145,172,237,301,326 'api':177 'api.example.com':86 'api.example.com/data':85 'bash':74,91,125,160 'becom':64 'break':115 'capabl':40,329 'chain':4,5,53,54 'command':70 'complementari':328 'complet':90,114,205,269,309 'complex':35 'compos':34 'data':83,149,175,240,304 'depend':26,317 'diff':49 'done':118,209,273 'echo':182,246,307,310 'endpoint':178 'exampl':152 'extract':119 'fetch':82,157,164,165,171,174,179,183,201,210,223,241 'first':72 'id':93,109,111,137,139,181,188,200,203,222,225,245,252,264,267,286,289,316 'input':69 'intermedi':46 'jq':105,133,185,196,218,249,260,282,313,323 'json':76,100,128,142,168,191,213,233,255,277,297 'list':102,130,193,215,257,279 'multi':20 'multi-step':19 'multipl':325 'need':18,43 'next':66,123 'oper':36 'output':63 'pilot':2,51,320 'pilot-protocol':319 'pilot-task-chain':1,50 'pilotctl':75,99,127,141,167,190,212,232,254,276,296 'pipelin':9,58,156,308 'previous':28 'protocol':321 'r':106,134,186,197,219,250,261,283,314 'requir':318 'result':29,47,120,126,140,150,211,226,242,275,290,306 'rout':45 'select':107,135,198,220,262,284 'sequenti':8,57 'simpl':38 'skill':14,322 'skill-pilot-task-chain' 'sleep':116,207,271 'source-teoslayer' 'status':98,112,113,204,268 'step':21,25,61,67,155,162,227,291 'store':159,293,294,300,303,311 'submit':71,78,104,122,132,144,170,195,217,235,259,281,299 'task':3,6,52,55,73,77,81,92,101,108,110,124,129,136,138,143,147,166,169,173,180,184,187,192,199,202,214,221,224,231,234,238,244,248,251,256,263,266,278,285,288,295,298,302,312,315 'three':154 'three-step':153 'topic-agent-skills' 'topic-ai-agents' 'topic-clawhub' 'topic-networking' 'topic-openclaw' 'topic-overlay-network' 'topic-p2p' 'topic-pilot-protocol' 'transform':148,158,229,230,236,239,243,247,265,274,287,305 'true':96 'type':103,131,194,216,258,280 'use':12 'wait':88 'want':32 'workflow':22,151","prices":[{"id":"83e1db60-c34a-4fe2-9cb7-68ac9e9be197","listingId":"5c0f3d5a-da01-4637-add8-05cce85c41c3","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.503Z"}],"sources":[{"listingId":"5c0f3d5a-da01-4637-add8-05cce85c41c3","source":"github","sourceId":"TeoSlayer/pilot-skills/pilot-task-chain","sourceUrl":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-task-chain","isPrimary":false,"firstSeenAt":"2026-05-18T13:22:53.503Z","lastSeenAt":"2026-05-18T19:15:05.092Z"}],"details":{"listingId":"5c0f3d5a-da01-4637-add8-05cce85c41c3","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"TeoSlayer","slug":"pilot-task-chain","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":"07caa7e106390285b5c3f4d83f8f82eedb8f9ef6","skill_md_path":"skills/pilot-task-chain/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-task-chain"},"layout":"multi","source":"github","category":"pilot-skills","frontmatter":{"name":"pilot-task-chain","license":"AGPL-3.0","description":"Chain tasks into sequential pipelines across agents.  Use this skill when: 1. You need multi-step workflows where each step depends on previous results 2. You want to compose complex operations from simple agent capabilities 3. You need to route intermediate results between different specialized agents  Do NOT use this skill when: - Tasks can run independently in parallel - You don't need intermediate results passed between steps - A single agent can handle the entire workflow","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-chain"},"updatedAt":"2026-05-18T19:15:05.092Z"}}