Openclaw Agent Optimize
by @phenomenoner
Use when: you want a structured audit -> options -> recommended plan to improve an OpenClaw workspace (cost, model routing, context discipline, delegation, r...
clawhub install openclaw-agent-optimizeπ About This Skill
name: openclaw-agent-optimize slug: openclaw-agent-optimize version: 1.2.1 license: MIT description: | Use when: you want a structured audit -> options -> recommended plan to improve an OpenClaw workspace (cost, model routing, context discipline, delegation, reliability). Don't use when: you want immediate config/cron mutations without review, or the question is unrelated to OpenClaw ops. Output: a prioritized plan with exact change proposals, expected impact, and rollback steps. No persistent changes without explicit approval. triggers: - optimize agent - optimizing agent - improve OpenClaw setup - agent best practices - OpenClaw optimization metadata: openclaw: emoji: "π§°"
OpenClaw Agent Optimization
Use this skill to tune an OpenClaw workspace for cost-aware routing, parallel-first delegation, and lean context.
Default posture
This skill is advisory first. It should produce:
No persistent mutations without explicit approval.
Quick start
1) Full audit (safe, no changes) > Audit my OpenClaw setup for cost, reliability, and context bloat. Output a prioritized plan with rollback notes. Do NOT apply changes.
2) Context bloat / transcript noise > My OpenClaw context is bloating (slow replies / high cost / lots of transcript noise). Identify the top offenders (tools, crons, bootstrap files, skills) and propose the smallest reversible fixes first. Do NOT apply changes.
3) Model routing / delegation posture > Propose a model routing plan for (a) coding/engineering, (b) short notifications/reminders, (c) reasoning-heavy research/writing. Include an exact config patch + rollback plan, but do NOT apply changes.
What good output looks like
Safety contract
High-ROI optimization levers
1) Output discipline for automation
Make maintenance loops truly silent on success.2) Separate work from notification
If you want alerts but want interactive context lean:3) Bootstrap discipline
Keep always-injected files short and load-bearing only. Move long runbooks intoreferences/ or adjacent notes.4) Ambient specialist surface reduction
A common hidden tax is too many always-visible specialist skills. If a workflow is low-frequency or specialist:5) Measure optimizations authoritatively
Prefer fresh-session/context json or equivalent receipts over βfeels betterβ.
High-signal fields include:
eligible skillsskills.promptCharsprojectContextCharssystemPrompt.charspromptTokens6) Verification-first ops hygiene
After any approved optimization, verify:Workflow (concise)
1. Audit rules + memory: keep restart-critical facts only. 2. Audit skill surface: trim ambient specialists before touching tool surface. 3. Audit transcripts/noise: silence cron and heartbeat success paths. 4. Audit model routing and delegation posture. 5. Recommend the smallest viable change first. 6. Verify on a new session when skill/bootstrap snapshotting exists.
Notes
SKILL.md + references/ for long runbooks.context-clean-up (audit-only).References
references/optimization-playbook.mdreferences/model-selection.mdreferences/context-management.mdreferences/agent-orchestration.mdreferences/cron-optimization.mdreferences/heartbeat-optimization.mdreferences/memory-patterns.mdreferences/continuous-learning.mdreferences/safeguards.mdπ‘ Examples
1) Full audit (safe, no changes) > Audit my OpenClaw setup for cost, reliability, and context bloat. Output a prioritized plan with rollback notes. Do NOT apply changes.
2) Context bloat / transcript noise > My OpenClaw context is bloating (slow replies / high cost / lots of transcript noise). Identify the top offenders (tools, crons, bootstrap files, skills) and propose the smallest reversible fixes first. Do NOT apply changes.
3) Model routing / delegation posture > Propose a model routing plan for (a) coding/engineering, (b) short notifications/reminders, (c) reasoning-heavy research/writing. Include an exact config patch + rollback plan, but do NOT apply changes.
π Tips & Best Practices
SKILL.md + references/ for long runbooks.context-clean-up (audit-only).