Install
openclaw skills install openclaw-self-improvementA 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.
openclaw skills install openclaw-self-improvementUse this skill to turn mistakes, corrections, blockers, and better approaches into durable operating knowledge.
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:
Use this skill when the user asks:
.learnings/LEARNINGS.md.learnings/ERRORS.md.learnings/FEATURE_REQUESTS.md.learnings/EXPERIMENTS.mdmemory/harness-backlog-latest.mdmission-control/data/delivery-receipts/agent-scorecard-YYYY-MM-DD.md.learnings/exports/obsidian/ by default, or OBSIDIAN_LEARNINGS_DIR if explicitly configuredAGENTS.md, TOOLS.md, or SOUL.mdscripts/promote-learning.mjs ... --dry-runOBSIDIAN_LEARNINGS_DIR should only point at a path you intend to modifynode {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"
node {baseDir}/scripts/analyze-openclaw-failures.mjs --output /Users/m1/.openclaw/workspace/memory/harness-backlog-latest.md
node {baseDir}/scripts/daily-agent-scorecard.mjs --output /Users/m1/.openclaw/workspace/mission-control/data/delivery-receipts/agent-scorecard-$(date +%F).md
node {baseDir}/scripts/daily-agent-scorecard.mjs --repair --output /Users/m1/.openclaw/workspace/mission-control/data/delivery-receipts/agent-scorecard-$(date +%F).md
Use for:
Use for:
Use for:
Use for:
Use for:
Default failure taxonomy:
NetworkPolicyBlocked - provider/tool blocked by local or external network policyGatewayUnavailable - gateway process, port, websocket, or reachability failureSessionContextRot - stale session, stale skill snapshot, identity drift, or outdated config contextSkillMissing - expected skill absent from installed path or session snapshotToolInvalidArguments - malformed tool/edit call or bad argument shapeProviderError - provider/model/API failure not caused by network policyExternalPlatformBlocked - X/LinkedIn/Facebook/Feishu/etc. platform/API/login/visibility blockerHumanApprovalRequired - real approval boundary for external, destructive, production, money, or ambiguous actionHarness workflow:
scripts/analyze-openclaw-failures.mjs.scripts/daily-agent-scorecard.mjs.scripts/daily-agent-scorecard.mjs --repair to create/update recovery tickets for failed, blocked, or pending lanes.error, experiment, or promoted rule.Repair loop rules:
failureClass, repairState, nextAction, repeatCount7d, and evidence.ProofMissing, UpstreamMissing, and HumanApprovalRequired must not be blindly retried.agent + lane + failureClass failures within 7 days should become EXPERIMENT_REQUIRED.mission-control/data/recovery-tickets-v3/YYYY-MM-DD/.AGENTS.md → workflow / delegation / execution rulesTOOLS.md → tool gotchas, secrets locations, environment routing rulesSOUL.md → behavior / communication / non-negotiable principlesThis skill is designed to work with stricter ops governance:
When a repeated failure is turning into a new rule/SOP/checklist, do not only log it. Also:
Use {baseDir}/references/eval-loop.md for the experiment format and examples.
A good use of this skill should produce one of:
{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