startclaw-optimizerMaster optimization system - APPLIES TO EVERY RESPONSE. Before responding, classify task complexity (simple question vs analysis vs coding). Use Haiku for simple/navigation/extraction/status. Use Sonnet ONLY for writing/analysis/planning/debugging. Monitor context size - if >50k tokens, recommend /compact. For automations, use scheduler wrapper. Never load full conversation history for simple tasks. Heartbeats always Haiku, single-line only. Never use Opus. This skill MUST run before every response to prevent 100k+ token bloat.
Install via ClawdBot CLI:
clawdbot install idanmann10/startclaw-optimizerThe OpenClaw Optimizer is a comprehensive performance and cost optimization skill designed to enhance the efficiency of Clawdbot's subagent workflows.
Before Optimization: $90/day
After Optimization: $3-5/day
Savings: 95%
npm install @startclaw/openclaw-optimizer
const { TaskRouter, OptimizerScheduler, BrowserGovernor } = require('@startclaw/openclaw-optimizer');
const router = new TaskRouter();
const scheduler = new OptimizerScheduler();
const browserGovernor = new BrowserGovernor();
// Automatic model and cost optimization
const modelSelection = router.selectModel(taskDescription);
await scheduler.execute(task, modelSelection);
# Real-time dashboard
python3 scripts/dashboard.py watch
StartClaw Internal Use License
Generated Mar 1, 2026
A company uses Clawdbot subagents to handle customer inquiries via email and chat. The OpenClaw Optimizer routes simple queries to cost-effective models like Haiku, while complex issues are directed to Sonnet or Opus, reducing operational costs by 95% while maintaining response quality.
A marketing agency employs Clawdbot for generating blog posts, social media content, and ad copy. The skill's Task Router selects optimal models based on content complexity, and the Scheduler manages retries for failed tasks, ensuring efficient workflow execution within budget limits.
A financial firm uses Clawdbot subagents to process large datasets and generate reports. The Context Compaction component summarizes data at token thresholds, preserving key insights, and the Browser Governor prevents runaway processes during web scraping for real-time data.
An online learning platform integrates Clawdbot to provide personalized tutoring. The Optimizer routes basic questions to Haiku for cost savings and complex explanations to Opus, with the dashboard monitoring daily usage to stay within a $5 budget.
Offer the OpenClaw Optimizer as a cloud-based service with tiered pricing based on usage volume. Customers pay a monthly fee for access to optimization features, including the real-time dashboard and automated model routing, generating recurring revenue.
Sell annual licenses to large organizations for internal deployment. This includes custom integration support, priority updates, and dedicated monitoring tools, targeting industries like finance and healthcare with high data processing needs.
Provide professional services to help businesses implement and customize the OpenClaw Optimizer within their existing Clawdbot workflows. This includes training, configuration, and ongoing optimization audits for maximum cost savings.
💬 Integration Tip
Start by installing the npm package and configuring the TaskRouter with basic task descriptions; use the dashboard to monitor initial usage and adjust model thresholds based on performance data.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Provides a 7-step debugging protocol plus language-specific commands to systematically identify, verify, and fix software bugs across multiple environments.
A comprehensive skill for using the Cursor CLI agent for various software engineering tasks (updated for 2026 features, includes tmux automation guide).
Write, run, and manage unit, integration, and E2E tests across TypeScript, Python, and Swift using recommended frameworks.
Control and operate Opencode via slash commands. Use this skill to manage sessions, select models, switch agents (plan/build), and coordinate coding through Opencode.
Coding style memory that adapts to your preferences, conventions, and patterns for consistent coding.