A framework for tiered model selection and cost optimization across multi-agent AI workflows.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install agent-cost-strategy
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 agent-cost-strategy using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Agent Cost Strategy is a specialized framework designed to minimize API expenses by intelligently routing tasks to the most cost-effective model class. Within the Openclaw Skills ecosystem, this strategy categorizes AI models into Fast/Cheap, Mid-tier, and Powerful tiers, ensuring that resources are allocated based on task complexity rather than defaulting to expensive models for every interaction.
By focusing on prompt caching and explicit sub-agent configuration, this skill helps developers avoid common cost leaks that occur during long sessions or automated background tasks. It prioritizes keeping sessions alive to take advantage of cache hits, which can reduce input costs by up to 90% after the initial context is established and the cache is warmed up.
To integrate this strategy into your workflow, you must explicitly define models in your configuration or session spawn commands. For Openclaw Skills implementations, use the following pattern:
# Explicitly set the model when spawning sub-agents to avoid cost leaks
sessions_spawn --model "claude-3-haiku-20240307" --task "fix failing tests"
Ensure your heartbeat intervals are configured to stay just under the provider's cache TTL to maintain a warm cache state.
The Agent Cost Strategy uses a tiered routing table to organize model usage and metadata taxonomy:
| Tier | Purpose | Recommended Models |
|---|---|---|
| Fast/Cheap | Automated fixes, sub-agents, simple lookups, cron jobs | Claude Haiku, GPT-4o-mini, Gemini Flash |
| Mid-tier | Conversational dialogue, planning, moderate reasoning | Claude Sonnet, GPT-4o, Gemini Pro |
| Powerful | Deep code review, complex architecture, escalation | Claude Opus, GPT-4.5, Gemini Ultra |
Cost-efficiency is tracked via cache-hit rates and model distribution metrics (e.g., target 80/20 split between Haiku and Sonnet).
Loading
A specialized travel skill for locating sacred sites, temples, and shrines with real-time booking capabilities powered by Fliggy.

A specialized skill for tracking real-time public transportation dynamics and arrival times across Greater Taipei and nationwide highway bus networks.

A precision domain validation tool that cross-references WHOIS data and DNS records to confirm if a domain name is truly available for registration.

A high-performance API skill for extracting public data, profiles, and transcripts from over 20 social media platforms using simple curl commands.

An automated transcription tool that downloads YouTube audio and uses AI to generate high-accuracy text transcripts and subtitle files.

A professional Generative Engine Optimization (GEO) diagnostic tool that identifies why AI systems fail to discover or cite your website.








































