AGENT SKILL

openclaw-agent-optimize

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.

License 许可
MIT
最近更新
2026-09-30
Stars
★ 3
Forks
0

01 前言 Front Matter

name
openclaw-agent-optimize
slug
openclaw-agent-optimize
license
MIT
version
1.2.1
metadata
{ "openclaw": { "emoji": "🧰" } }
triggers
[ "optimize agent", "optimizing agent", "improve OpenClaw setup", "agent best practices", "OpenClaw optimization" ]
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.

02 资源文件 11

03 SKILL.md 正文

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:

  • audit,
  • options,
  • recommended plan,
  • exact patch proposal,
  • rollback,
  • verification plan.

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.

  1. 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.

  1. 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

  • Executive summary
  • Top drivers
    • cost
    • context
    • reliability
    • operator friction
  • Options A/B/C with tradeoffs
  • Recommended plan (smallest safe change first)
  • Exact proposals + rollback + verify

Safety contract

  • Do not mutate persistent settings without explicit approval.
  • Do not create/update/remove cron jobs without explicit approval.
  • If an optimization reduces monitoring coverage, present options and require choice.
  • Before any approved change, show:
    1. exact change,
    2. expected impact,
    3. rollback plan,
    4. post-change verification.

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:

  • do the work quietly
  • notify out-of-band with a short human receipt

3) Bootstrap discipline

Keep always-injected files short and load-bearing only. Move long runbooks into references/ 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 on-demand worker/subagent usage,
  • do not keep it permanently ambient in main-chat prompt surface.

5) Measure optimizations authoritatively

Prefer fresh-session /context json or equivalent receipts over “feels better”. High-signal fields include:

  • eligible skills
  • skills.promptChars
  • projectContextChars
  • systemPrompt.chars
  • promptTokens

6) Verification-first ops hygiene

After any approved optimization, verify:

  • core chat still works
  • recall/behavior did not degrade
  • new session actually picks up the change
  • rollback path is proven, not theoretical

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

  • Some runtimes snapshot skills/config per session. If you install/update skills and do not see changes, start a new session.
  • Prefer short SKILL.md + references/ for long runbooks.
  • If context bloat is the main complaint, pair this skill with context-clean-up (audit-only).

References

  • references/optimization-playbook.md
  • references/model-selection.md
  • references/context-management.md
  • references/agent-orchestration.md
  • references/cron-optimization.md
  • references/heartbeat-optimization.md
  • references/memory-patterns.md
  • references/continuous-learning.md
  • references/safeguards.md

04 同仓库更多 Skills

Jinhong270
Jinhong270/AI-Agent

xlsx

Open, create, read, analyze, edit, repair, or validate spreadsheet files (.xlsx, .xlsm, .xltx, .csv, .tsv) with zero format loss, with first-class support for Chinese / CJK content. Use whenever the user asks to create, build, modify, fill, analyze, read, repair, validate, or format any spreadsheet, workbook, report, dashboard, budget, financial model, pivot table, or tabular data file. Handles Chinese text, encodings (UTF-8 / GB18030 / GBK), full-width characters, CJK fonts in rendering, and Chinese number/date conventions (¥, 万/亿, 年/月/日). Covers: creating new workbooks from scratch, reading and analyzing existing files, editing existing workbooks while preserving pivot tables / VBA macros / charts / sparklines / conditional formatting / named ranges, formula recalculation and validation, visual review of results, and applying professional formatting. Triggers on 'spreadsheet', 'Excel', 'workbook', '表格', '工作簿', '.xlsx', '.xlsm', '.csv', 'pivot table', '透视表', 'macro', '宏', 'chart', '图表', 'financial model', '财务模型', 'formula', '公式', or any request to produce tabular data.

★ 3
Jinhong270
Jinhong270/AI-Agent

xlsx-formula-master

你描述需求(人话),它给你 Excel / WPS 公式 + 解释 + 不踩坑的边界条件。 专攻 VLOOKUP / XLOOKUP / INDEX-MATCH / SUMIFS / 数组公式 / 动态数组 / Power Query 等高频但易错场景。 自动适配你的 Excel 版本(2019 / 365 / WPS)——版本不同公式可能不能用。 触发:用户说 "Excel 公式"、"VLOOKUP"、"怎么算"、"WPS 公式"、"求和怎么写"、"匹配数据"、"数据透视"。

★ 3
Jinhong270
Jinhong270/AI-Agent

self-improving-agent

Self-improving agent system that analyzes conversation quality, identifies improvement opportunities, and continuously optimizes response strategies.

★ 3
Jinhong270
Jinhong270/AI-Agent

xiaohongshu-content-tools

小红书运营数据工具|当提到小红书关键词搜索,小红书笔记详情及评论,小红书博主作品时使用,可实现爆款挖掘/竞品分析/KOL筛选/趋势洞察,用数据驱动小红书流量增长,告别盲目创作

★ 3
Jinhong270
Jinhong270/AI-Agent

xfg-ddd-skills

DDD 六边形架构设计与部署技能包。提供 Domain/Case/Infrastructure 层设计模式与代码模板,以及 Docker 环境部署脚本。当用户询问 DDD 架构、设计模式或需要部署项目时调用。

★ 3
Jinhong270
Jinhong270/AI-Agent

wordpress

WordPress.com API integration with managed OAuth. Manage posts, pages, sites, and content. Use this skill when users want to create, read, update, or delete WordPress.com posts, pages, or manage site content. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.

★ 3