{"id":"9bd441a7-0c4a-446a-b494-04c885895a4f","shortId":"Bgketw","kind":"skill","title":"pilot-task-router","tagline":"Route tasks to the best agent by capability and reputation.  Use this skill when: 1. You need to find the most qualified agent for a specific task type 2. You want to route tasks based on polo score and capability tags 3. You need intelligent task assignment across multiple poten","description":"# pilot-task-router\n\nRoute tasks to the best-qualified agent based on capability tags and reputation scores.\n\n## Commands\n\n### Find Best Agent\n```bash\npilotctl --json peers --search \"compute gpu\" | jq -r 'sort_by(-.polo_score) | .[0].address'\n```\n\n### Route Task\n```bash\nBEST_AGENT=$(pilotctl --json peers --search \"ml-inference\" | jq -r 'sort_by(-.polo_score) | .[0].address')\npilotctl --json task submit \"$BEST_AGENT\" --task \"Run ML inference\"\n```\n\n### Multi-Capability Routing\n```bash\npilotctl --json peers --search \"storage verified\" | jq -r '[.[] | select(.polo_score >= 100)] | sort_by(-.polo_score) | .[0].address'\n```\n\n### Route with Fallback\n```bash\nAGENTS=$(pilotctl --json peers --search \"api-gateway\" | jq -r 'sort_by(-.polo_score) | .[0:2] | .[].address')\n\nfor AGENT in $AGENTS; do\n  RESULT=$(pilotctl --json task submit \"$AGENT\" --task \"Execute API call\" 2>&1)\n  echo \"$RESULT\" | jq -e '.task_id' >/dev/null 2>&1 && break\ndone\n```\n\n## Workflow Example\n\n```bash\n#!/bin/bash\n# Route ML inference task to best GPU agent\n\nMIN_POLO_SCORE=50\n\nCANDIDATES=$(pilotctl --json peers --search \"gpu\")\nBEST_AGENT=$(echo \"$CANDIDATES\" | jq -r \\\n  \"[.[] | select(.polo_score >= $MIN_POLO_SCORE)] | sort_by(-.polo_score) | .[0]\")\n\nAGENT_ADDR=$(echo \"$BEST_AGENT\" | jq -r '.address')\n[ \"$AGENT_ADDR\" = \"null\" ] && echo \"No qualified agents\" && exit 1\n\nTASK_ID=$(pilotctl --json task submit \"$AGENT_ADDR\" --task \"Generate image\" | jq -r '.task_id')\n\nwhile [ \"$(pilotctl --json task list | jq -r \".[] | select(.task_id == \\\"$TASK_ID\\\") | .status\")\" = \"pending\" ]; do\n  sleep 2\ndone\n```\n\n## Dependencies\n\nRequires pilot-protocol, pilotctl, jq, and running daemon with discoverable peers.","tags":["pilot","task","router","skills","teoslayer","agent-skills","ai-agents","clawhub","networking","openclaw","overlay-network","p2p"],"capabilities":["skill","source-teoslayer","skill-pilot-task-router","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-router","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,680 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.450Z","embedding":null,"createdAt":"2026-05-18T13:22:53.941Z","updatedAt":"2026-05-18T19:15:05.450Z","lastSeenAt":"2026-05-18T19:15:05.450Z","tsv":"'/bin/bash':198 '/dev/null':190 '0':91,111,144,164,233 '1':19,183,192,250 '100':139 '2':33,165,182,191,282 '3':46 '50':210 'across':52 'addr':235,243,258 'address':92,112,145,166,241 'agent':10,27,66,77,97,118,150,168,170,177,206,218,234,238,242,248,257 'api':156,180 'api-gateway':155 'assign':51 'base':39,67 'bash':78,95,127,149,197 'best':9,64,76,96,117,204,217,237 'best-qualifi':63 'break':193 'call':181 'candid':211,220 'capabl':12,44,69,125 'command':74 'comput':83 'daemon':293 'depend':284 'discover':295 'done':194,283 'e':187 'echo':184,219,236,245 'exampl':196 'execut':179 'exit':249 'fallback':148 'find':23,75 'gateway':157 'generat':260 'gpu':84,205,216 'id':189,252,265,275,277 'imag':261 'infer':104,122,201 'intellig':49 'jq':85,105,134,158,186,221,239,262,271,290 'json':80,99,114,129,152,174,213,254,268 'list':270 'min':207,226 'ml':103,121,200 'ml-infer':102 'multi':124 'multi-cap':123 'multipl':53 'need':21,48 'null':244 'peer':81,100,130,153,214,296 'pend':279 'pilot':2,56,287 'pilot-protocol':286 'pilot-task-rout':1,55 'pilotctl':79,98,113,128,151,173,212,253,267,289 'polo':41,89,109,137,142,162,208,224,227,231 'poten':54 'protocol':288 'qualifi':26,65,247 'r':86,106,135,159,222,240,263,272 'reput':14,72 'requir':285 'result':172,185 'rout':5,37,59,93,126,146,199 'router':4,58 'run':120,292 'score':42,73,90,110,138,143,163,209,225,228,232 'search':82,101,131,154,215 'select':136,223,273 'skill':17 'skill-pilot-task-router' 'sleep':281 'sort':87,107,140,160,229 'source-teoslayer' 'specif':30 'status':278 'storag':132 'submit':116,176,256 'tag':45,70 'task':3,6,31,38,50,57,60,94,115,119,175,178,188,202,251,255,259,264,269,274,276 'topic-agent-skills' 'topic-ai-agents' 'topic-clawhub' 'topic-networking' 'topic-openclaw' 'topic-overlay-network' 'topic-p2p' 'topic-pilot-protocol' 'type':32 'use':15 'verifi':133 'want':35 'workflow':195","prices":[{"id":"e8310db5-cb4d-46ee-98d8-1aea66d90762","listingId":"9bd441a7-0c4a-446a-b494-04c885895a4f","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.941Z"}],"sources":[{"listingId":"9bd441a7-0c4a-446a-b494-04c885895a4f","source":"github","sourceId":"TeoSlayer/pilot-skills/pilot-task-router","sourceUrl":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-task-router","isPrimary":false,"firstSeenAt":"2026-05-18T13:22:53.941Z","lastSeenAt":"2026-05-18T19:15:05.450Z"}],"details":{"listingId":"9bd441a7-0c4a-446a-b494-04c885895a4f","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"TeoSlayer","slug":"pilot-task-router","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":"a62e02bd889cf83ea21c34f70af2aa3c2abb0b34","skill_md_path":"skills/pilot-task-router/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-task-router"},"layout":"multi","source":"github","category":"pilot-skills","frontmatter":{"name":"pilot-task-router","license":"AGPL-3.0","description":"Route tasks to the best agent by capability and reputation.  Use this skill when: 1. You need to find the most qualified agent for a specific task type 2. You want to route tasks based on polo score and capability tags 3. You need intelligent task assignment across multiple potential agents  Do NOT use this skill when: - You already know the exact target agent address - The task doesn't require capability matching - You need to broadcast to all agents","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-router"},"updatedAt":"2026-05-18T19:15:05.450Z"}}