{"id":"7a663850-bf36-4bcf-a923-f2733305ead6","shortId":"5MCr6a","kind":"skill","title":"pilot-sla","tagline":"Service-level agreement enforcement with automatic penalties.  Use this skill when: 1. You need guaranteed performance levels for critical tasks 2. You want automatic penalty enforcement for SLA violations 3. You need uptime, latency, or quality guarantees from agents  Do NOT use","description":"# pilot-sla\n\nService-level agreement enforcement with automatic penalty assessment.\n\n## Commands\n\n### Define SLA Contract\n```bash\ncat > sla-contract.json <<EOF\n{\n  \"sla_id\": \"sla-$(date +%s)\",\n  \"metrics\": {\"max_response_time_ms\": 2000, \"min_success_rate\": 0.95},\n  \"penalties\": {\"response_time_violation\": 5, \"failed_task\": 10}\n}\nEOF\n```\n\n### Monitor Compliance\n```bash\nTASK_SUBMIT_TIME=$(date +%s%3N)\nTASK_COMPLETE_TIME=$(date +%s%3N)\nCOMPLETION_TIME=$((TASK_COMPLETE_TIME - TASK_SUBMIT_TIME))\n\nSLA_MAX_TIME=$(jq -r '.metrics.max_response_time_ms' sla-contract.json)\n[ $COMPLETION_TIME -gt $SLA_MAX_TIME ] && echo \"SLA violation\"\n```\n\n### Calculate Success Rate\n```bash\nTOTAL=$(pilotctl --json task list | jq -r \"[.[] | select(.target == \\\"$AGENT\\\")] | length\")\nSUCCESSFUL=$(pilotctl --json task list | jq -r \"[.[] | select(.target == \\\"$AGENT\\\") | select(.status == \\\"completed\\\")] | length\")\n\nSUCCESS_RATE=$(echo \"scale=4; $SUCCESSFUL / $TOTAL\" | bc)\n```\n\n## Workflow Example\n\n```bash\n#!/bin/bash\n# SLA enforcement\n\nSLA_ID=\"sla-$(date +%s)\"\nSLA_MAX=3000\n\nfor i in {1..10}; do\n  SUBMIT_TIME=$(date +%s%3N)\n  TASK_ID=$(pilotctl --json task submit \"$AGENT\" --task \"api-call: task_id=$i\" | jq -r '.task_id')\n\n  while [ \"$(pilotctl --json task list | jq -r \".[] | select(.task_id == \\\"$TASK_ID\\\") | .status\")\" = \"pending\" ]; do\n    sleep 0.5\n  done\n\n  RESPONSE_TIME=$(($(date +%s%3N) - SUBMIT_TIME))\n  [ $RESPONSE_TIME -gt $SLA_MAX ] && echo \"SLA violation: task $i took ${RESPONSE_TIME}ms\"\ndone\n```\n\n## Dependencies\n\nRequires pilot-protocol, pilotctl, jq, and bc.","tags":["pilot","sla","skills","teoslayer","agent-skills","ai-agents","clawhub","networking","openclaw","overlay-network","p2p","pilot-protocol"],"capabilities":["skill","source-teoslayer","skill-pilot-sla","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-sla","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,563 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:04.037Z","embedding":null,"createdAt":"2026-05-18T13:22:51.924Z","updatedAt":"2026-05-18T19:15:04.037Z","lastSeenAt":"2026-05-18T19:15:04.037Z","tsv":"'/bin/bash':173 '0.5':229 '0.95':81 '1':16,187 '10':89,188 '2':25 '2000':77 '3':34 '3000':183 '3n':99,105,194,235 '4':166 '5':86 'agent':43,146,157,201 'agreement':7,53 'api':204 'api-cal':203 'assess':58 'automat':10,28,56 'bash':63,93,136,172 'bc':169,261 'calcul':133 'call':205 'cat':64 'command':59 'complet':101,106,109,124,160 'complianc':92 'contract':62 'critic':23 'date':70,97,103,179,192,233 'defin':60 'depend':253 'done':230,252 'echo':130,164,243 'enforc':8,30,54,175 'eof':66,90 'exampl':171 'fail':87 'gt':126,240 'guarante':19,41 'id':68,177,196,207,212,222,224 'jq':117,142,153,209,218,259 'json':139,150,198,215 'latenc':38 'length':147,161 'level':6,21,52 'list':141,152,217 'max':73,115,128,182,242 'metric':72 'metrics.max':119 'min':78 'monitor':91 'ms':76,122,251 'need':18,36 'penalti':11,29,57,82 'pend':226 'perform':20 'pilot':2,48,256 'pilot-protocol':255 'pilot-sla':1,47 'pilotctl':138,149,197,214,258 'protocol':257 'qualiti':40 'r':118,143,154,210,219 'rate':80,135,163 'requir':254 'respons':74,83,120,231,238,249 'scale':165 'select':144,155,158,220 'servic':5,51 'service-level':4,50 'skill':14 'skill-pilot-sla' 'sla':3,32,49,61,67,69,114,127,131,174,176,178,181,241,244 'sla-contract.json':65,123 'sleep':228 'source-teoslayer' 'status':159,225 'submit':95,112,190,200,236 'success':79,134,148,162,167 'target':145,156 'task':24,88,94,100,108,111,140,151,195,199,202,206,211,216,221,223,246 'time':75,84,96,102,107,110,113,116,121,125,129,191,232,237,239,250 'took':248 'topic-agent-skills' 'topic-ai-agents' 'topic-clawhub' 'topic-networking' 'topic-openclaw' 'topic-overlay-network' 'topic-p2p' 'topic-pilot-protocol' 'total':137,168 'uptim':37 'use':12,46 'violat':33,85,132,245 'want':27 'workflow':170","prices":[{"id":"7935c4dd-e217-44aa-b6cc-51ebd851328e","listingId":"7a663850-bf36-4bcf-a923-f2733305ead6","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:51.924Z"}],"sources":[{"listingId":"7a663850-bf36-4bcf-a923-f2733305ead6","source":"github","sourceId":"TeoSlayer/pilot-skills/pilot-sla","sourceUrl":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-sla","isPrimary":false,"firstSeenAt":"2026-05-18T13:22:51.924Z","lastSeenAt":"2026-05-18T19:15:04.037Z"}],"details":{"listingId":"7a663850-bf36-4bcf-a923-f2733305ead6","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"TeoSlayer","slug":"pilot-sla","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":"7b33c2165d3dc99fc437ad729881a71fd734716e","skill_md_path":"skills/pilot-sla/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-sla"},"layout":"multi","source":"github","category":"pilot-skills","frontmatter":{"name":"pilot-sla","license":"AGPL-3.0","description":"Service-level agreement enforcement with automatic penalties.  Use this skill when: 1. You need guaranteed performance levels for critical tasks 2. You want automatic penalty enforcement for SLA violations 3. You need uptime, latency, or quality guarantees from agents  Do NOT use this skill when: - Tasks don't have strict performance requirements - Best-effort execution is acceptable - You don't need automated compliance monitoring","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-sla"},"updatedAt":"2026-05-18T19:15:04.037Z"}}