{"id":"00243deb-34de-479d-b8ca-3076a2813c6e","shortId":"DLLwFW","kind":"skill","title":"pilot-cloud-cost-optimizer-setup","tagline":"Deploy a cloud cost optimization pipeline with 4 agents.  Use this skill when: 1. User wants to set up a FinOps or cloud cost optimization pipeline 2. User is configuring a scanner, analyzer, optimizer, or reporter agent for cloud costs 3. User asks about automated cloud spend an","description":"# Cloud Cost Optimizer Setup\n\nDeploy 4 agents that scan, analyze, optimize, and report on cloud spending with zero central server.\n\n## Roles\n\n| Role | Hostname | Skills | Purpose |\n|------|----------|--------|---------|\n| scanner | `<prefix>-scanner` | pilot-cron, pilot-stream-data, pilot-metrics, pilot-health | Scans cloud resources, collects billing and utilization data |\n| analyzer | `<prefix>-analyzer` | pilot-event-filter, pilot-alert, pilot-metrics | Identifies waste, rightsizing, and spend anomalies |\n| optimizer | `<prefix>-optimizer` | pilot-task-router, pilot-audit-log, pilot-receipt | Executes approved optimizations, logs actions |\n| reporter | `<prefix>-reporter` | pilot-webhook-bridge, pilot-slack-bridge, pilot-announce | Generates cost reports, sends to Slack/email |\n\n## Setup Procedure\n\n**Step 1:** Ask the user which role this agent should play and what prefix to use.\n\n**Step 2:** Install the skills for the chosen role:\n```bash\n# For scanner:\nclawhub install pilot-cron pilot-stream-data pilot-metrics pilot-health\n# For analyzer:\nclawhub install pilot-event-filter pilot-alert pilot-metrics\n# For optimizer:\nclawhub install pilot-task-router pilot-audit-log pilot-receipt\n# For reporter:\nclawhub install pilot-webhook-bridge pilot-slack-bridge pilot-announce\n```\n\n**Step 3:** Set the hostname and write the manifest:\n```bash\npilotctl --json set-hostname <prefix>-<role>\nmkdir -p ~/.pilot/setups\n```\nThen write the role-specific JSON manifest to `~/.pilot/setups/cloud-cost-optimizer.json`.\n\n**Step 4:** Tell the user to initiate handshakes with adjacent agents.\n\n## Manifest Templates Per Role\n\n### scanner\n```json\n{\n  \"setup\": \"cloud-cost-optimizer\", \"role\": \"scanner\", \"role_name\": \"Resource Scanner\",\n  \"hostname\": \"<prefix>-scanner\",\n  \"skills\": { \"pilot-cron\": \"Schedule periodic scans.\", \"pilot-stream-data\": \"Stream utilization to analyzer.\", \"pilot-metrics\": \"Normalize CPU/memory/network metrics.\", \"pilot-health\": \"Report scanner readiness.\" },\n  \"data_flows\": [{ \"direction\": \"send\", \"peer\": \"<prefix>-analyzer\", \"port\": 1002, \"topic\": \"resource-scan\" }],\n  \"handshakes_needed\": [\"<prefix>-analyzer\"]\n}\n```\n\n### analyzer\n```json\n{\n  \"setup\": \"cloud-cost-optimizer\", \"role\": \"analyzer\", \"role_name\": \"Cost Analyzer\",\n  \"hostname\": \"<prefix>-analyzer\",\n  \"skills\": { \"pilot-event-filter\": \"Filter by cost threshold.\", \"pilot-alert\": \"Alert on spend spikes.\", \"pilot-metrics\": \"Track cost trends.\" },\n  \"data_flows\": [\n    { \"direction\": \"receive\", \"peer\": \"<prefix>-scanner\", \"port\": 1002, \"topic\": \"resource-scan\" },\n    { \"direction\": \"send\", \"peer\": \"<prefix>-optimizer\", \"port\": 1002, \"topic\": \"cost-recommendation\" },\n    { \"direction\": \"send\", \"peer\": \"<prefix>-reporter\", \"port\": 1002, \"topic\": \"cost-anomaly\" }\n  ],\n  \"handshakes_needed\": [\"<prefix>-scanner\", \"<prefix>-optimizer\", \"<prefix>-reporter\"]\n}\n```\n\n### optimizer\n```json\n{\n  \"setup\": \"cloud-cost-optimizer\", \"role\": \"optimizer\", \"role_name\": \"Optimization Agent\",\n  \"hostname\": \"<prefix>-optimizer\",\n  \"skills\": { \"pilot-task-router\": \"Execute optimization tasks.\", \"pilot-audit-log\": \"Log actions for compliance.\", \"pilot-receipt\": \"Send receipts to reporter.\" },\n  \"data_flows\": [\n    { \"direction\": \"receive\", \"peer\": \"<prefix>-analyzer\", \"port\": 1002, \"topic\": \"cost-recommendation\" },\n    { \"direction\": \"send\", \"peer\": \"<prefix>-reporter\", \"port\": 1002, \"topic\": \"action-receipt\" }\n  ],\n  \"handshakes_needed\": [\"<prefix>-analyzer\", \"<prefix>-reporter\"]\n}\n```\n\n### reporter\n```json\n{\n  \"setup\": \"cloud-cost-optimizer\", \"role\": \"reporter\", \"role_name\": \"Cost Reporter\",\n  \"hostname\": \"<prefix>-reporter\",\n  \"skills\": { \"pilot-webhook-bridge\": \"Send reports to webhooks.\", \"pilot-slack-bridge\": \"Post summaries to Slack.\", \"pilot-announce\": \"Broadcast weekly savings.\" },\n  \"data_flows\": [\n    { \"direction\": \"receive\", \"peer\": \"<prefix>-analyzer\", \"port\": 1002, \"topic\": \"cost-anomaly\" },\n    { \"direction\": \"receive\", \"peer\": \"<prefix>-optimizer\", \"port\": 1002, \"topic\": \"action-receipt\" },\n    { \"direction\": \"send\", \"peer\": \"external\", \"port\": 443, \"topic\": \"cost-report\" }\n  ],\n  \"handshakes_needed\": [\"<prefix>-analyzer\", \"<prefix>-optimizer\"]\n}\n```\n\n## Data Flows\n\n- `scanner -> analyzer` : resource utilization metrics (port 1002)\n- `analyzer -> optimizer` : optimization recommendations (port 1002)\n- `analyzer -> reporter` : cost anomaly alerts (port 1002)\n- `optimizer -> reporter` : action receipts with savings (port 1002)\n- `reporter -> external` : cost reports via Slack/email (port 443)\n\n## Handshakes\n\n```bash\n# scanner <-> analyzer:\npilotctl --json handshake <prefix>-analyzer \"setup: cloud-cost-optimizer\"\npilotctl --json handshake <prefix>-scanner \"setup: cloud-cost-optimizer\"\n# analyzer <-> optimizer:\npilotctl --json handshake <prefix>-optimizer \"setup: cloud-cost-optimizer\"\npilotctl --json handshake <prefix>-analyzer \"setup: cloud-cost-optimizer\"\n# analyzer <-> reporter:\npilotctl --json handshake <prefix>-reporter \"setup: cloud-cost-optimizer\"\npilotctl --json handshake <prefix>-analyzer \"setup: cloud-cost-optimizer\"\n# optimizer <-> reporter:\npilotctl --json handshake <prefix>-reporter \"setup: cloud-cost-optimizer\"\npilotctl --json handshake <prefix>-optimizer \"setup: cloud-cost-optimizer\"\n```\n\n## Workflow Example\n\n```bash\n# On scanner -- publish resource scan:\npilotctl --json publish <prefix>-analyzer resource-scan '{\"provider\":\"aws\",\"idle_instances\":3,\"total_monthly\":12450}'\n\n# On analyzer -- publish recommendation:\npilotctl --json publish <prefix>-optimizer cost-recommendation '{\"action\":\"terminate\",\"resource\":\"i-0a1b2c\",\"savings\":342}'\n\n# On optimizer -- publish receipt:\npilotctl --json publish <prefix>-reporter action-receipt '{\"action\":\"terminate\",\"resource\":\"i-0a1b2c\",\"status\":\"success\"}'\n\n# On reporter -- subscribe to events:\npilotctl --json subscribe cost-anomaly\npilotctl --json subscribe action-receipt\n```\n\n## Dependencies\n\nRequires `pilot-protocol` skill, `pilotctl` binary, `clawhub` binary, and a running daemon.","tags":["pilot","cloud","cost","optimizer","setup","skills","teoslayer","agent-skills","ai-agents","clawhub","networking","openclaw"],"capabilities":["skill","source-teoslayer","skill-pilot-cloud-cost-optimizer-setup","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-cloud-cost-optimizer-setup","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 (5,980 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:14:52.725Z","embedding":null,"createdAt":"2026-05-18T13:22:36.104Z","updatedAt":"2026-05-18T19:14:52.725Z","lastSeenAt":"2026-05-18T19:14:52.725Z","tsv":"'/.pilot/setups':264 '/.pilot/setups/cloud-cost-optimizer.json':274 '0a1b2c':718,737 '1':20,161 '1002':339,391,401,411,466,476,530,540,567,573,580,588 '12450':701 '2':33,177 '3':47,248,698 '342':720 '4':14,60,276 '443':550,596 'action':138,449,479,543,583,713,730,732,755 'action-receipt':478,542,729,754 'adjac':284 'agent':15,43,61,168,285,433 'alert':111,213,373,374,578 'analyz':39,64,103,104,204,319,337,346,347,355,359,361,464,483,528,557,562,568,574,600,604,619,633,639,653,690,703 'announc':151,246,519 'anomali':120,415,534,577,750 'approv':135 'ask':49,162 'audit':129,227,446 'autom':51 'aw':695 'bash':185,256,598,681 'bill':99 'binari':764,766 'bridg':144,148,239,243,504,512 'broadcast':520 'central':73 'chosen':183 'clawhub':188,205,219,234,765 'cloud':3,9,29,45,52,55,69,96,294,351,425,489,607,616,627,636,647,656,667,676 'cloud-cost-optim':293,350,424,488,606,615,626,635,646,655,666,675 'collect':98 'complianc':451 'configur':36 'cost':4,10,30,46,56,153,295,352,358,369,382,404,414,426,469,490,496,533,553,576,591,608,617,628,637,648,657,668,677,711,749 'cost-anomali':413,532,748 'cost-recommend':403,468,710 'cost-report':552 'cpu/memory/network':324 'cron':84,192,308 'daemon':770 'data':88,102,196,315,332,384,459,523,559 'depend':757 'deploy':7,59 'direct':334,386,396,406,461,471,525,535,545 'event':107,209,365,744 'exampl':680 'execut':134,441 'extern':548,590 'filter':108,210,366,367 'finop':27 'flow':333,385,460,524,560 'generat':152 'handshak':282,344,416,481,555,597,603,612,623,632,643,652,663,672 'health':94,202,328 'hostnam':77,251,261,303,360,434,498 'i-0a1b2c':716,735 'identifi':115 'idl':696 'initi':281 'instal':178,189,206,220,235 'instanc':697 'json':258,271,291,348,422,486,602,611,622,631,642,651,662,671,688,707,726,746,752 'log':130,137,228,447,448 'manifest':255,272,286 'metric':91,114,199,216,322,325,380,565 'mkdir':262 'month':700 'name':300,357,431,495 'need':345,417,482,556 'normal':323 'optim':5,11,31,40,57,65,121,122,136,218,296,353,399,419,421,427,429,432,435,442,491,538,558,569,570,581,609,618,620,624,629,638,649,658,659,669,673,678,709,722 'p':263 'peer':336,388,398,408,463,473,527,537,547 'per':288 'period':310 'pilot':2,83,86,90,93,106,110,113,124,128,132,142,146,150,191,194,198,201,208,212,215,222,226,230,237,241,245,307,313,321,327,364,372,379,438,445,453,502,510,518,760 'pilot-alert':109,211,371 'pilot-announc':149,244,517 'pilot-audit-log':127,225,444 'pilot-cloud-cost-optimizer-setup':1 'pilot-cron':82,190,306 'pilot-event-filt':105,207,363 'pilot-health':92,200,326 'pilot-metr':89,112,197,214,320,378 'pilot-protocol':759 'pilot-receipt':131,229,452 'pilot-slack-bridg':145,240,509 'pilot-stream-data':85,193,312 'pilot-task-rout':123,221,437 'pilot-webhook-bridg':141,236,501 'pilotctl':257,601,610,621,630,641,650,661,670,687,706,725,745,751,763 'pipelin':12,32 'play':170 'port':338,390,400,410,465,475,529,539,549,566,572,579,587,595 'post':513 'prefix':173 'procedur':159 'protocol':761 'provid':694 'publish':684,689,704,708,723,727 'purpos':79 'readi':331 'receipt':133,231,454,456,480,544,584,724,731,756 'receiv':387,462,526,536 'recommend':405,470,571,705,712 'report':42,67,139,140,154,233,329,409,420,458,474,484,485,493,497,499,506,554,575,582,589,592,640,644,660,664,728,741 'requir':758 'resourc':97,301,342,394,563,685,692,715,734 'resource-scan':341,393,691 'rightsiz':117 'role':75,76,166,184,269,289,297,299,354,356,428,430,492,494 'role-specif':268 'router':126,224,440 'run':769 'save':522,586,719 'scan':63,95,311,343,395,686,693 'scanner':38,80,81,187,290,298,302,304,330,389,418,561,599,613,683 'schedul':309 'send':155,335,397,407,455,472,505,546 'server':74 'set':24,249,260 'set-hostnam':259 'setup':6,58,158,292,349,423,487,605,614,625,634,645,654,665,674 'skill':18,78,180,305,362,436,500,762 'skill-pilot-cloud-cost-optimizer-setup' 'slack':147,242,511,516 'slack/email':157,594 'source-teoslayer' 'specif':270 'spend':53,70,119,376 'spike':377 'status':738 'step':160,176,247,275 'stream':87,195,314,316 'subscrib':742,747,753 'success':739 'summari':514 'task':125,223,439,443 'tell':277 'templat':287 'termin':714,733 'threshold':370 'topic':340,392,402,412,467,477,531,541,551 'topic-agent-skills' 'topic-ai-agents' 'topic-clawhub' 'topic-networking' 'topic-openclaw' 'topic-overlay-network' 'topic-p2p' 'topic-pilot-protocol' 'total':699 'track':381 'trend':383 'use':16,175 'user':21,34,48,164,279 'util':101,317,564 'via':593 'want':22 'wast':116 'webhook':143,238,503,508 'week':521 'workflow':679 'write':253,266 'zero':72","prices":[{"id":"e0d53560-74ef-4f3b-90f5-ba998fbdd9dd","listingId":"00243deb-34de-479d-b8ca-3076a2813c6e","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:36.104Z"}],"sources":[{"listingId":"00243deb-34de-479d-b8ca-3076a2813c6e","source":"github","sourceId":"TeoSlayer/pilot-skills/pilot-cloud-cost-optimizer-setup","sourceUrl":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-cloud-cost-optimizer-setup","isPrimary":false,"firstSeenAt":"2026-05-18T13:22:36.104Z","lastSeenAt":"2026-05-18T19:14:52.725Z"}],"details":{"listingId":"00243deb-34de-479d-b8ca-3076a2813c6e","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"TeoSlayer","slug":"pilot-cloud-cost-optimizer-setup","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":"685edde3a870fdbf72d83cebc5972a297d7c1073","skill_md_path":"skills/pilot-cloud-cost-optimizer-setup/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-cloud-cost-optimizer-setup"},"layout":"multi","source":"github","category":"pilot-skills","frontmatter":{"name":"pilot-cloud-cost-optimizer-setup","license":"AGPL-3.0","description":"Deploy a cloud cost optimization pipeline with 4 agents.  Use this skill when: 1. User wants to set up a FinOps or cloud cost optimization pipeline 2. User is configuring a scanner, analyzer, optimizer, or reporter agent for cloud costs 3. User asks about automated cloud spend analysis and optimization workflows  Do NOT use this skill when: - User wants to monitor generic application metrics (use pilot-metrics instead) - User wants to send a single alert or notification (use pilot-alert instead)"},"skills_sh_url":"https://skills.sh/TeoSlayer/pilot-skills/pilot-cloud-cost-optimizer-setup"},"updatedAt":"2026-05-18T19:14:52.725Z"}}