Cost Optimizer banner
fullstackcrew-alpha fullstackcrew-alpha

Cost Optimizer

AI community intermediate

Description

> Save 60-80% on your AI token costs. Zero config required.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

πŸ’° Cost Optimizer

Save 60-80% on your AI token costs. Zero config required.

[](https://github.com/fullstackcrew-alpha/skill-cost-optimizer/stargazers) [](https://clawhub.ai/s/cost-optimizer) [](./openclaw.json) [](./LICENSE) [](#compatibility)

If you find this useful, please give it a star β€” it helps others discover it. [](https://nodejs.org)


The Problem

Running AI-powered dev tools with default settings is **shockingly expensive**:

Metric Default (all Opus)
Daily token usage ~500K tokens
Daily cost ~$13.50/day
Monthly cost ~$405/month
Heartbeat alone $50-100/month

Most of that spend is wasted β€” heartbeat checks, file listings, and simple queries don't need a $27/M-token model.

The Solution

**Cost Optimizer** intelligently routes each task to the cheapest model that can handle it. With the `balanced` preset, you cut costs by **84%** β€” from $405/month down to ~$64/month.

Five subcommands. One skill. Massive savings.

Features

Command What it does
/cost-route Classifies your prompt (P0-P4) and recommends the optimal model
/cost-compress Compresses conversation context when it exceeds 50K tokens
/cost-heartbeat Optimizes heartbeat interval, content, and model selection
/cost-report Generates detailed cost reports with ASCII charts and trends
/cost-config Generates optimized configuration with three preset tiers

Quick Start

**Install:**

openclaw install cost-optimizer

**Use:**

# See your current spending
/cost-optimizer report

# Get a routing recommendation for your next prompt
/cost-optimizer route

# Generate optimized config (balanced preset)
/cost-optimizer config

That's it. No API keys, no setup, no config files needed.


Commands

`/cost-route` β€” Smart Model Routing

...