OpenClaw / ClawLite Self-Improvement
Use this skill to turn mistakes, corrections, blockers, and better approaches into durable operating knowledge.
What problem this solves
AI ops often repeat the same failures because mistakes stay in chat history instead of becoming system rules. This skill creates a lightweight improvement loop:
- - log failures and learnings
- separate errors from feature requests
- run small eval-driven experiments on repeated failures
- promote important patterns into AGENTS.md / TOOLS.md / SOUL.md
- write operator notes into Obsidian vault
- support stricter acceptance via Karen / Mission Control
When to use
Use this skill when the user asks:
- - "make the agent improve itself"
- "capture learnings"
- "log mistakes so we do not repeat them"
- "record blockers / corrections / feature gaps"
- "build a self-improving OpenClaw workflow"
- "operationalize lessons learned"
- "test whether this new rule actually helps"
- "run an eval loop on this workflow/skill/SOP"
- "should we keep this new guardrail or discard it"
Files this skill uses
- - INLINECODE0
- INLINECODE1
- INLINECODE2
- INLINECODE3
- Obsidian vault note under INLINECODE4
Command examples
CODEBLOCK0
Categories
learning
Use for:
- - user corrections
- better recurring workflows
- tool gotchas
- operational lessons
error
Use for:
- - command failures
- integration failures
- runtime blockers
- broken release / deploy behavior
feature
Use for:
- - missing capability requests
- operator workflow gaps
- recurring requests that deserve a build item
experiment
Use for:
- - repeated failures that need a tested guardrail
- checklist/SOP/schema changes that should be validated before broad promotion
- keep/discard decisions on new operating rules
- binary eval loops for skills, workflows, receipts, summaries, or deploy closeout rules
Promotion targets
- -
AGENTS.md → workflow / delegation / execution rules - INLINECODE6 → tool gotchas, secrets locations, environment routing rules
- INLINECODE7 → behavior / communication / non-negotiable principles
- Obsidian vault → reusable operator log and content proof asset
Karen / Mission Control compatibility
This skill is designed to work with stricter ops governance:
- - Karen can reference learnings when repeated failures happen
- Mission Control can treat promoted learnings as new operating rules
- recurring blockers can be elevated from chat into tracked operational knowledge
- experiments can test whether a new summary contract, receipt rule, or deploy closeout guardrail actually reduced the failure pattern
Eval loop rule
When a repeated failure is turning into a new rule/SOP/checklist, do not only log it.
Also:
- 1. define 3-5 binary evals
- record the baseline failure state
- change one thing at a time
- re-check the same evals
- classify the change as keep / discard / partial_keep
Use {baseDir}/references/eval-loop.md for the experiment format and examples.
Output goal
A good use of this skill should produce one of:
- - a durable learning entry
- a durable error entry
- a durable feature request entry
- a durable experiment entry with binary evals
- a promoted rule in AGENTS.md / TOOLS.md / SOUL.md
- an Obsidian vault operations note
Important limits
- - Logging is not the same as fixing.
- Do not treat a learning entry as closure for a broken deliverable.
- Use this skill to reduce repeated mistakes, not to excuse them.
- This skill is local-only: it does not read credentials, does not modify system services, and does not make network requests.
- Promotion writes are limited to workspace files (
AGENTS.md, TOOLS.md, SOUL.md) unless OBSIDIAN_LEARNINGS_DIR is explicitly set.
References
- - INLINECODE13
- INLINECODE14
- INLINECODE15
- INLINECODE16
- INLINECODE17
- - INLINECODE18
- INLINECODE19
技能名称: openclaw-self-improvement
详细描述:
OpenClaw / ClawLite 自我改进
使用此技能将错误、修正、阻碍和更优方法转化为持久的操作知识。
解决的问题
AI 操作常重复相同的失败,因为错误停留在聊天记录中,而非成为系统规则。此技能创建了一个轻量级的改进循环:
- - 记录失败和经验教训
- 将错误与功能请求分开
- 对重复失败运行小型评估驱动实验
- 将重要模式提升至 AGENTS.md / TOOLS.md / SOUL.md
- 将操作员笔记写入 Obsidian 知识库
- 通过 Karen / Mission Control 支持更严格的验收
使用时机
当用户提出以下请求时使用此技能:
- - 让智能体自我改进
- 捕获经验教训
- 记录错误,避免重复
- 记录阻碍/修正/功能缺口
- 构建自我改进的 OpenClaw 工作流
- 将学到的经验操作化
- 测试这条新规则是否真的有效
- 对此工作流/技能/SOP 运行评估循环
- 我们应该保留还是丢弃这个新的护栏
此技能使用的文件
- - .learnings/LEARNINGS.md
- .learnings/ERRORS.md
- .learnings/FEATURE_REQUESTS.md
- .learnings/EXPERIMENTS.md
- Obsidian 知识库笔记,路径为 ClawLite/Operations/Learnings/
命令示例
bash
node {baseDir}/scripts/log-learning.mjs learning 摘要 详情 建议操作
node {baseDir}/scripts/log-learning.mjs error 摘要 错误详情 建议修复
node {baseDir}/scripts/log-learning.mjs feature 能力名称 用户上下文 建议实现
node {baseDir}/scripts/log-learning.mjs experiment 目标问题 基准失败 待测试的单一变更
node {baseDir}/scripts/log-experiment.mjs 目标问题 基准失败 单一变更 eval1|eval2|eval3 结果摘要 测试中
node {baseDir}/scripts/promote-learning.mjs workflow 规则文本
分类
learning
用于:
error
用于:
- - 命令失败
- 集成失败
- 运行时阻碍
- 损坏的发布/部署行为
feature
用于:
- - 缺失能力请求
- 操作员工作流缺口
- 值得构建的重复性请求
experiment
用于:
- - 需要测试护栏的重复失败
- 应在广泛推广前验证的检查表/SOP/模式变更
- 新操作规则的保留/丢弃决策
- 技能、工作流、收据、摘要或部署收尾规则的二元评估循环
提升目标
- - AGENTS.md → 工作流/委派/执行规则
- TOOLS.md → 工具陷阱、密钥位置、环境路由规则
- SOUL.md → 行为/沟通/不可协商原则
- Obsidian 知识库 → 可复用的操作员日志和内容证明资产
Karen / Mission Control 兼容性
此技能设计用于更严格的操作治理:
- - Karen 可在重复失败时引用经验教训
- Mission Control 可将提升的经验视为新的操作规则
- 重复阻碍可从聊天中提升为可追踪的操作知识
- 实验可测试新的摘要合同、收据规则或部署收尾护栏是否真正减少了失败模式
评估循环规则
当重复失败正在转化为新规则/SOP/检查表时,不要仅记录它。
还需:
- 1. 定义 3-5 个二元评估
- 记录基准失败状态
- 一次只更改一件事
- 重新检查相同的评估
- 将变更分类为保留/丢弃/部分保留
使用 {baseDir}/references/eval-loop.md 获取实验格式和示例。
输出目标
良好使用此技能应产生以下之一:
- - 一个持久的经验条目
- 一个持久的错误条目
- 一个持久的功能请求条目
- 一个带有二元评估的持久实验条目
- AGENTS.md / TOOLS.md / SOUL.md 中的提升规则
- Obsidian 知识库操作笔记
重要限制
- - 记录不等于修复。
- 不要将经验条目视为对损坏交付物的终结。
- 使用此技能减少重复错误,而非为其找借口。
- 此技能仅限本地:不读取凭据、不修改系统服务、不发起网络请求。
- 除非显式设置了 OBSIDIANLEARNINGSDIR,否则提升写入仅限于工作区文件(AGENTS.md、TOOLS.md、SOUL.md)。
参考资料
- - {baseDir}/references/schema.md
- {baseDir}/references/promotion-guide.md
- {baseDir}/references/eval-loop.md
- {baseDir}/references/examples.md
- {baseDir}/references/decision-rules.md
- - {baseDir}/references/eval-loop.md
- {baseDir}/references/examples.md