openclaw-optimizer
Use when: you want to optimize an OpenClaw setup (v2026.2.23+) — cost reduction, model routing, provider configuration, context management, cron automation, sub-agent architecture, skills, or agent personality/identity optimization (SOUL.md, IDENTITY.md, AGENTS.md, USER.md audit). Also use when troubleshooting any OpenClaw error, startup failure, channel issue, or provider problem. CLI-first. Advisory by default — audit first, propose exact changes, apply only on approval. Output: prioritized plan + exact CLI commands + config patches + rollback.
Why use this skill?
Master your OpenClaw setup with expert auditing, cost-aware routing, provider configuration, and troubleshooting. Ensure peak performance with CLI-first advisor.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/jacob-bd/openclaw-optimizerWhat This Skill Does
The openclaw-optimizer skill is a comprehensive toolkit designed to manage, refine, and troubleshoot OpenClaw v2026.2.23+ workspaces. It acts as an expert-level CLI advisor, focusing on cost efficiency, model routing strategies, provider configuration, context management, and complex multi-agent architecture health. By performing rigorous audits on your IDENTITY.md, SOUL.md, and configuration files, the skill identifies bloat and inefficiencies before they impact performance. It is strictly advisory by default—it audits your environment, proposes precise CLI commands and configuration patches, and always provides a rollback strategy, ensuring you maintain full control over your agent ecosystem.
Installation
To integrate this optimizer into your workspace, execute the following command via your terminal:
clawhub install openclaw/skills/skills/jacob-bd/openclaw-optimizer
Once installed, the skill automatically tracks OpenClaw releases. You should run the version check once per session to ensure compatibility with your current environment. Updates are never automatic; they are deliberate, user-initiated processes performed via bash ~/.claude/skills/openclaw-optimizer/scripts/update-skill.sh.
Use Cases
- Cost Reduction: Optimize model routing to use cost-effective models for cron tasks while reserving premium models for high-complexity reasoning.
- Troubleshooting: Diagnose startup failures, channel connectivity issues, and provider errors using a robust library of troubleshooting references.
- Agent Identity Audit: Scan your persona files (SOUL, IDENTITY, USER) to eliminate conflicting instructions and reduce context bloat.
- Automation: Set up isolated, silent cron jobs for background maintenance tasks.
- Provider Management: Manage the integration of any of the 29 supported providers, ensuring correct schema and failover configuration.
Example Prompts
- "Audit my OpenClaw setup for cost, reliability, and context bloat. Prioritized plan with rollback. Do NOT apply changes."
- "Propose a tiered routing plan: cheap for heartbeats, mid for daily tasks, premium for coding. Show me the exact config + rollback."
- "I am getting a connection reset error in the CLI when calling the provider; diagnose it and give me the exact fix."
Tips & Limitations
- CLI-First: This skill performs best when given direct access to your CLI output. Always provide error logs or configuration snippets when requesting help.
- Safety First: The skill operates under a strict safety contract; it will never apply changes without explicit approval. Use this to your advantage by requesting audits on every configuration change.
- Offline Awareness: If version checks are unavailable due to network restrictions, the skill will proceed but flag its status as 'UNCHECKED'. Always keep your references updated to ensure the latest provider schema is used.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-jacob-bd-openclaw-optimizer": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write, code-execution