cost-optimizer
Installation
SKILL.md
Cost Optimizer — OpenClaw/Claude Code 成本优化终极工具包
核心问题:OpenClaw 默认配置下 token 消耗极高(日均 $15+,heartbeat 月均 $50-100)。 本 skill 通过智能路由、上下文压缩、heartbeat 优化三管齐下,将成本降低 60-80%。
参数解析
解析用户输入的第一个参数,路由到对应子命令:
| 参数 | 子命令 | 说明 |
|---|---|---|
route |
/cost-route |
智能模型路由 |
compress |
/cost-compress |
上下文压缩 |
heartbeat |
/cost-heartbeat |
Heartbeat 优化 |
report |
/cost-report |
消耗报告 |
config |
/cost-config |
配置生成 |
| (无参数) | /cost-report |
默认显示消耗报告 |