api-cost-optimizer
Installation
SKILL.md
API Cost Optimizer
Diagnose, estimate, and optimize LLM API costs for OpenClaw agents running 24/7.
What This Skill Does
- Estimates API spend from agent configuration (model, heartbeat interval, task complexity)
- Diagnoses heartbeat waste — the #1 cause of runaway API bills
- Counts and categorizes tools the agent has access to
- Produces a cost report with prioritized recommendations
- Estimates time-to-payback for any recommended changes
The Problem This Solves
Documented cases show agents burning $8–$250 per week in API costs due to misconfigured heartbeats and inefficient task patterns. A properly tuned heartbeat alone can reduce costs by 60–90%.