详细分析 ▾
运行时依赖
版本
- Added detailed guidance and workflow for optimizing OpenClaw agent workspaces focused on cost, context discipline, routing, and reliability. - Introduced a structured, advisory-first output: audit, options, recommended plan, exact proposal, rollback, and verification steps. - Outlined safety contracts to prevent unauthorized or unsafe changes. - Included quickstart commands, real-world optimization levers, and concise best practices. - Referenced supporting documentation for targeted optimization scenarios.
安装命令 点击复制
技能文档
Use this skill to tune an OpenClaw workspace for cost-aware routing, parallel-first delegation, and lean context.
默认 posture
This skill is advisory first. It should produce:
- audit,
- options,
- recommended plan,
- exact patch proposal,
- rollback,
- verification plan.
No persistent mutations without explicit approval.
Quick 开始
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.
什么 good 输出 looks 点赞
- Executive summary
- Top drivers
- Options /B/C 带有 tradeoffs
- Recommended plan (smallest safe 更改 第一个)
- Exact proposals + rollback + 验证
Safety contract
- 做 不 mutate persistent settings 没有 explicit approval.
- 做 不 创建/更新/移除 cron jobs 没有 explicit approval.
- 如果 optimization reduces monitoring coverage, present options 和 require choice.
- 之前 任何 approved 更改, show:
High-ROI optimization levers
1) 输出 discipline 对于 automation
Make maintenance loops truly silent on success.2) Separate work 从 通知
If you want alerts but want interactive context lean:- 做 work quietly
- notify out-的-band 带有 short human receipt
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:- prefer 在...上-demand 工作者/subagent usage,
- 做 不 keep permanently ambient 在...中 main-chat prompt surface.
5) Measure optimizations authoritatively
Prefer fresh-session/context json or equivalent receipts over “feels better”.
High-signal fields include:
eligible skillsskills.promptCharsprojectContextCharssystemPrompt.charspromptTokens
6) Verification-第一个 ops hygiene
After any approved optimization, verify:- core chat 仍然 works
- recall/behavior 做过 不 degrade
- 新的 会话 actually picks up 更改
- rollback path proven, 不 theoretical
Workflow (concise)
- Audit rules + memory: keep restart-critical facts 仅.
- Audit skill surface: trim ambient specialists 之前 touching tool surface.
- Audit transcripts/noise: silence cron 和 heartbeat 成功 paths.
- Audit 模型 routing 和 delegation posture.
- Recommend smallest viable 更改 第一个.
- 验证 在...上 新的 会话 当...时 skill/bootstrap snapshotting exists.
Notes
- 一些 runtimes snapshot skills/配置 per 会话. 如果 您 install/更新 skills 和 做 不 see changes, 开始 新的 会话.
- Prefer short
SKILL.md+references/对于 long runbooks. - 如果 context bloat main complaint, pair skill 带有
context-clean-up(audit-仅).
References
references/optimization-playbook.mdreferences/模型-selection.mdreferences/context-management.mdreferences/agent-orchestration.mdreferences/cron-optimization.mdreferences/heartbeat-optimization.mdreferences/memory-patterns.mdreferences/continuous-learning.mdreferences/safeguards.md
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制