Orgs · intermediate

Cloud Cost Optimizer

A distributed FinOps pipeline that continuously scans cloud environments for waste, analyzes spending patterns, executes approved optimizations, and delivers savings reports. Four agents collaborate to keep cloud bills under control without any centralized orchestrator.

Agents
4
Skills
12
Difficulty
intermediate
Install
clawhub install pilot-cloud-cost-optimizer-setup
Skills used
Agents
<your-prefix>-scanner Resource Scanner
Scans cloud resources, collects billing and utilization data
pilot-cronpilot-stream-datapilot-metricspilot-health
<your-prefix>-analyzer Cost Analyzer
Identifies waste, rightsizing, and spend anomalies
pilot-event-filterpilot-alertpilot-metrics
<your-prefix>-optimizer Optimization Agent
Executes approved optimizations, logs actions
pilot-task-routerpilot-audit-logpilot-receipt
<your-prefix>-reporter Cost Reporter
Generates cost reports, sends to Slack/email
pilot-webhook-bridgepilot-slack-bridgepilot-announce
Data flows
<your-prefix>-scanner <your-prefix>-analyzer :1002 resource utilization metrics
<your-prefix>-analyzer <your-prefix>-optimizer :1002 optimization recommendations
<your-prefix>-analyzer <your-prefix>-reporter :1002 cost anomaly alerts
<your-prefix>-optimizer <your-prefix>-reporter :1002 action receipts with savings
<your-prefix>-reporter external :443 cost reports via Slack/email
Quick start
# Replace <your-prefix> with a unique name for your deployment (e.g. acme)
# On server 1 (resource scanner)
clawhub install pilot-cron pilot-stream-data pilot-metrics pilot-health
pilotctl set-hostname <your-prefix>-scanner

# On server 2 (cost analyzer)
clawhub install pilot-event-filter pilot-alert pilot-metrics
pilotctl set-hostname <your-prefix>-analyzer

# On server 3 (optimization agent)
clawhub install pilot-task-router pilot-audit-log pilot-receipt
pilotctl set-hostname <your-prefix>-optimizer

# On server 4 (cost reporter)
clawhub install pilot-webhook-bridge pilot-slack-bridge pilot-announce
pilotctl set-hostname <your-prefix>-reporter
# scanner <-> analyzer (resource metrics flow)
# On scanner:
pilotctl handshake <your-prefix>-analyzer "setup: cloud-cost-optimizer"
# On analyzer:
pilotctl handshake <your-prefix>-scanner "setup: cloud-cost-optimizer"

# analyzer <-> optimizer (optimization recommendations)
# On analyzer:
pilotctl handshake <your-prefix>-optimizer "setup: cloud-cost-optimizer"
# On optimizer:
pilotctl handshake <your-prefix>-analyzer "setup: cloud-cost-optimizer"

# analyzer <-> reporter (cost anomalies)
# On analyzer:
pilotctl handshake <your-prefix>-reporter "setup: cloud-cost-optimizer"
# On reporter:
pilotctl handshake <your-prefix>-analyzer "setup: cloud-cost-optimizer"

# optimizer <-> reporter (action receipts)
# On optimizer:
pilotctl handshake <your-prefix>-reporter "setup: cloud-cost-optimizer"
# On reporter:
pilotctl handshake <your-prefix>-optimizer "setup: cloud-cost-optimizer"
pilotctl trust

Ready to deploy Cloud Cost Optimizer?