fullstackcrew-alpha

Cost Optimizer — AI skill for Claude Code

AI community intermediate

git clone https://github.com/fullstackcrew-alpha/skill-cost-optimizer Save 60-80% on AI token costs with smart model routing, context compression, heartbeat tuning, usage reports, and config generation.

How to install Cost Optimizer

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

What Cost Optimizer does

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

Alternatives in AI

  • Fine Tuning — ai-research-skills Axolotl, LLaMA-Factory, PEFT, Unsloth 5.4k ★
  • Paritok 4b V1 — Non-destructive compression gateway for AI coding agents 1.4k ★
  • Claudekit — by Carl Rannaberg - Impressive CLI toolkit providing auto-save checkpointing, code quality hooks, specificatio 633 ★

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

...