openclaw-self-improvement

A reusable operator-guided workflow improvement skill for OpenClaw and ClawLite that turns repeated failures into logged learnings, binary eval loops, SOPs, checklists, and proof-based operational improvements.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "openclaw-self-improvement" with this command: npx skills add x-rayluan/openclaw-self-improvement

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

  • .learnings/LEARNINGS.md
  • .learnings/ERRORS.md
  • .learnings/FEATURE_REQUESTS.md
  • .learnings/EXPERIMENTS.md
  • Optional export under .learnings/exports/obsidian/ by default, or OBSIDIAN_LEARNINGS_DIR if explicitly configured

Safety boundaries

  • Local-file workflow only, no network I/O
  • Promotion can append to AGENTS.md, TOOLS.md, or SOUL.md
  • Always review promotion targets first, or run scripts/promote-learning.mjs ... --dry-run
  • OBSIDIAN_LEARNINGS_DIR should only point at a path you intend to modify

Command examples

node {baseDir}/scripts/log-learning.mjs learning "Summary" "Details" "Suggested action"
node {baseDir}/scripts/log-learning.mjs error "Summary" "Error details" "Suggested fix"
node {baseDir}/scripts/log-learning.mjs feature "Capability name" "User context" "Suggested implementation"
node {baseDir}/scripts/log-learning.mjs experiment "Target problem" "Baseline failure" "Single mutation to test"
node {baseDir}/scripts/log-experiment.mjs "Target problem" "Baseline failure" "Single mutation" "eval1|eval2|eval3" "Result summary" "testing"
node {baseDir}/scripts/promote-learning.mjs workflow "Rule text"

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
  • TOOLS.md → tool gotchas, secrets locations, environment routing rules
  • SOUL.md → 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
  2. record the baseline failure state
  3. change one thing at a time
  4. re-check the same evals
  5. 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.

References

  • {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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

躺平.skill

躺平 skill。仅在用户明确加载或调用“躺平.skill”“tangping-skill”,或要求 agent 进入拒绝工作、输出躺平语录、嘲讽生产力话术的模式时使用。

Registry SourceRecently Updated
Automation

Wati

WATI integration. Manage data, records, and automate workflows. Use when the user wants to interact with WATI data.

Registry SourceRecently Updated
Automation

Venly

Venly integration. Manage data, records, and automate workflows. Use when the user wants to interact with Venly data.

Registry SourceRecently Updated
Automation

Sage People

Sage People integration. Manage data, records, and automate workflows. Use when the user wants to interact with Sage People data.

Registry SourceRecently Updated