{"id":"3b9ebd1b-36d6-4ad7-957f-88def9588563","shortId":"jV3nwg","kind":"skill","title":"pilot-task-template","tagline":"Reusable task templates with placeholder substitution.  Use this skill when: 1. You need to define common task patterns for reuse 2. You want parameterized task definitions with variable substitution 3. You need to standardize task formats across your organization  Do NOT use thi","description":"# pilot-task-template\n\nDefine reusable task templates with placeholder substitution. Enables standardized task patterns that can be instantiated with different parameters.\n\n## Essential Commands\n\n### Define template\n```bash\ncat > /tmp/ml-inference-template.txt <<'EOF'\nRun ML inference using model {{MODEL}} with prompt: {{PROMPT}}, temperature {{TEMPERATURE}}\nEOF\n```\n\n### Substitute variables\n```bash\nTEMPLATE=$(cat /tmp/ml-inference-template.txt)\n\nTASK_DESC=$(echo \"$TEMPLATE\" | \\\n  sed \"s/{{MODEL}}/$MODEL/g\" | \\\n  sed \"s/{{PROMPT}}/$PROMPT/g\" | \\\n  sed \"s/{{TEMPERATURE}}/$TEMPERATURE/g\")\n```\n\n### Submit from template\n```bash\npilotctl --json task submit \"$AGENT_ADDR\" --task \"$TASK_DESC\"\n```\n\n### Template with defaults\n```bash\nMODEL=${MODEL:-\"gpt-4\"}\nTEMPERATURE=${TEMPERATURE:-0.7}\nMAX_TOKENS=${MAX_TOKENS:-100}\n```\n\n### Template library\n```bash\nTEMPLATE_DIR=\"$HOME/.pilot/templates\"\nmkdir -p \"$TEMPLATE_DIR\"\n\n# List templates\nls -1 \"$TEMPLATE_DIR\"/*.txt | sed 's|.*/||; s|\\.txt$||'\n\n# Load template\nTEMPLATE=$(cat \"$TEMPLATE_DIR/$TEMPLATE_NAME.txt\")\n```\n\n## Workflow Example\n\nTemplate-based submission system:\n\n```bash\n#!/bin/bash\nset -e\n\nTEMPLATE_DIR=\"$HOME/.pilot/templates\"\nmkdir -p \"$TEMPLATE_DIR\"\n\n# Define template\ncat > \"$TEMPLATE_DIR/image-generation.txt\" <<'EOF'\nGenerate image using model {{MODEL}}: {{PROMPT}}, size {{WIDTH}}x{{HEIGHT}}\nEOF\n\n# Instantiate template\ninstantiate_template() {\n  TEMPLATE=$(cat \"$TEMPLATE_DIR/$1.txt\")\n\n  while IFS= read -r VAR; do\n    VAR_NAME=$(echo \"$VAR\" | sed 's/[{}]//g')\n    VAR_VALUE=\"${!VAR_NAME}\"\n\n    [ -z \"$VAR_VALUE\" ] && { echo \"Error: $VAR_NAME required\"; exit 1; }\n\n    VAR_VALUE_ESCAPED=$(echo \"$VAR_VALUE\" | sed 's/[&/\\]/\\\\&/g')\n    TEMPLATE=$(echo \"$TEMPLATE\" | sed \"s|{{$VAR_NAME}}|$VAR_VALUE_ESCAPED|g\")\n  done < <(echo \"$TEMPLATE\" | grep -o '{{[^}]*}}' | sort -u)\n\n  echo \"$TEMPLATE\"\n}\n\n# Submit\nexport AGENT=\"0:1234.5678.9abc\"\nexport MODEL=\"stable-diffusion-xl\"\nexport PROMPT=\"futuristic cityscape\"\nexport WIDTH=1024\nexport HEIGHT=1024\n\nTASK_DESC=$(instantiate_template \"image-generation\")\nTASK_ID=$(pilotctl --json task submit \"$AGENT\" --task \"$TASK_DESC\" | jq -r '.task_id')\n\necho \"Task submitted: $TASK_ID\"\n```\n\n## Dependencies\n\nRequires `pilot-protocol` skill, `pilotctl` binary, running daemon, `jq` for JSON parsing, and template files in `~/.pilot/templates/`.","tags":["pilot","task","template","skills","teoslayer","agent-skills","ai-agents","clawhub","networking","openclaw","overlay-network","p2p"],"capabilities":["skill","source-teoslayer","skill-pilot-task-template","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-template","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,339 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.547Z","embedding":null,"createdAt":"2026-05-18T13:22:54.032Z","updatedAt":"2026-05-18T19:15:05.547Z","lastSeenAt":"2026-05-18T19:15:05.547Z","tsv":"'-0.7':135 '-1':154 '-100':140 '-4':132 '/.pilot/templates':335 '/bin/bash':177 '/g':225,248 '/tmp/ml-inference-template.txt':76,95 '0':272 '1':15,239 '1.txt':212 '1024':287,290 '1234.5678.9':273 '2':25 '3':34 'abc':274 'across':41 'addr':121 'agent':120,271,304 'base':173 'bash':74,92,115,128,143,176 'binari':324 'cat':75,94,165,189,209 'cityscap':284 'command':71 'common':20 'daemon':326 'default':127 'defin':19,52,72,187 'definit':30 'depend':317 'desc':97,124,292,307 'differ':68 'diffus':279 'dir':145,150,156,167,181,186,211 'dir/image-generation.txt':191 'done':260 'e':179 'echo':98,221,233,243,250,261,267,312 'enabl':59 'eof':77,89,192,203 'error':234 'escap':242,258 'essenti':70 'exampl':170 'exit':238 'export':270,275,281,285,288 'file':333 'format':40 'futurist':283 'g':259 'generat':193,297 'gpt':131 'grep':263 'height':202,289 'home/.pilot/templates':146,182 'id':299,311,316 'if':214 'imag':194,296 'image-gener':295 'infer':80 'instanti':66,204,206,293 'jq':308,327 'json':117,301,329 'librari':142 'list':151 'load':162 'ls':153 'max':136,138 'mkdir':147,183 'ml':79 'model':82,83,102,129,130,196,197,276 'model/g':103 'name':220,229,236,255 'need':17,36 'o':264 'organ':43 'p':148,184 'paramet':69 'parameter':28 'pars':330 'pattern':22,62 'pilot':2,49,320 'pilot-protocol':319 'pilot-task-templ':1,48 'pilotctl':116,300,323 'placehold':9,57 'prompt':85,86,106,198,282 'prompt/g':107 'protocol':321 'r':216,309 'read':215 'requir':237,318 'reus':24 'reusabl':5,53 'run':78,325 'sed':100,104,108,158,223,246,252 'set':178 'size':199 'skill':13,322 'skill-pilot-task-template' 'sort':265 'source-teoslayer' 'stabl':278 'stable-diffusion-xl':277 'standard':38,60 'submiss':174 'submit':112,119,269,303,314 'substitut':10,33,58,90 'system':175 'task':3,6,21,29,39,50,54,61,96,118,122,123,291,298,302,305,306,310,313,315 'temperatur':87,88,110,133,134 'temperature/g':111 'templat':4,7,51,55,73,93,99,114,125,141,144,149,152,155,163,164,166,172,180,185,188,190,205,207,208,210,249,251,262,268,294,332 'template-bas':171 'template_name.txt':168 'thi':47 'token':137,139 'topic-agent-skills' 'topic-ai-agents' 'topic-clawhub' 'topic-networking' 'topic-openclaw' 'topic-overlay-network' 'topic-p2p' 'topic-pilot-protocol' 'txt':157,161 'u':266 'use':11,46,81,195 'valu':227,232,241,245,257 'var':217,219,222,226,228,231,235,240,244,254,256 'variabl':32,91 'want':27 'width':200,286 'workflow':169 'x':201 'xl':280 'z':230","prices":[{"id":"b528e6b3-f572-479a-a0ef-f8aaf7239a60","listingId":"3b9ebd1b-36d6-4ad7-957f-88def9588563","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:54.032Z"}],"sources":[{"listingId":"3b9ebd1b-36d6-4ad7-957f-88def9588563","source":"github","sourceId":"TeoSlayer/pilot-skills/pilot-task-template","sourceUrl":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-task-template","isPrimary":false,"firstSeenAt":"2026-05-18T13:22:54.032Z","lastSeenAt":"2026-05-18T19:15:05.547Z"}],"details":{"listingId":"3b9ebd1b-36d6-4ad7-957f-88def9588563","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"TeoSlayer","slug":"pilot-task-template","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":"f4705a049ac34c87cc84c8692ee03a45569bd714","skill_md_path":"skills/pilot-task-template/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-task-template"},"layout":"multi","source":"github","category":"pilot-skills","frontmatter":{"name":"pilot-task-template","license":"AGPL-3.0","description":"Reusable task templates with placeholder substitution.  Use this skill when: 1. You need to define common task patterns for reuse 2. You want parameterized task definitions with variable substitution 3. You need to standardize task formats across your organization  Do NOT use this skill when: - Each task is unique and won't be reused - You don't need parameter substitution - Simple command-line arguments are sufficient","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-template"},"updatedAt":"2026-05-18T19:15:05.547Z"}}