A powerful LLM cost auditing and context optimization tool featuring a 5-layer compression pipeline and lossless CCR reversible compression.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install mimo-token-optimizer
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install mimo-token-optimizer using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Token Optimizer is a state-of-the-art utility designed to audit, manage, and significantly reduce LLM API consumption costs. Engineered to address the financial overhead of high-frequency AI integrations, this tool leverages a 6-tier grading baseline and a robust 7-step diagnostic workflow to pinpoint top token consumers. By implementing this tool from the Openclaw Skills library, developers can slash API expenditures by up to 92% in environments like SRE log troubleshooting and code repository searches, without sacrificing response quality.
At its core, the tool introduces advanced compression strategies such as the Pre-LLM Compression Pipeline and Compress-Cache-Retrieve (CCR) mode. These features intercept massive tool outputs and structurally condense them before they hit the LLM context window. Through deterministic data retrieval and cross-agent cache sharing, this skill maximizes context efficiency, ensuring developers achieve optimal performance from every single token spent.
To integrate this optimization layer into your AI agent project, configure the skill globally or per-agent within your workspace.
Initialize the optimizer core:
openclaw install token-optimizer
Add the configuration parameters to your skill registry file to specify default compression levels and model fallbacks:
{
"token_optimizer_version": "1.5.0",
"compression_mode": "CCR",
"max_history_turns": 10,
"response_length_fallback": "short"
}
Configure the tool's environment variables to enforce budget safety caps:
export OPTIMIZER_BUDGET_CAP=100.00
export OPTIMIZER_ALERT_THRESHOLD=0.80
The Token Optimizer skill structures diagnostics, compression ratios, and cache registers systematically:
| Metric Group | Data Key | Format | Purpose |
|---|---|---|---|
| Diagnostics | audit_sources |
Object | Tracks input, output, prompt, and RAG token counts |
| Baseline | optimization_level |
Enum (L0-L5) | Classifies current optimization maturity |
| CCR Cache | cache_hash_register |
Map<String, String> | Map of compressed hash identifiers to raw cached text |
| Analytics | savings_percentage |
Float | Percentage of tokens saved per transaction |
Loading
A local-first asset discovery assistant designed to automatically scan, organize, and publish Openclaw Skills to major platform registries.

An advanced command-line interface and Node.js client for the ApplyTop API, enabling automated job searches, AI ATS scoring, CV tailoring, and cover letter generation.

A systematic framework integrating a five-dimensional Bayesian model, a six-lens decision matrix, and behavioral finance corrections to generate structured stock investment diagnoses.

An interactive command-line utility that assesses OpenAI account suspension risks, generates customized appeal templates, and scans developer forums for live ban waves.

Skill Selector is an orchestration utility that analyzes user intent and dynamically targets the most suitable installed capability using semantic and keyword matching.

Histrategy is an AI-powered historical strategy game that allows players to command armies using natural language in scenarios like the Three Kingdoms or Rome Triumvirate.








































