记忆

Self Improving Agent

试用

Capture errors, corrections, and recurring patterns into structured `.learnings/` logs, then promote durable guidance into workspace memory files. Use when c...

它能做什么

Capture errors, corrections, and recurring patterns into structured `.learnings/` logs, then promote durable guidance into workspace memory files. Use when c...

技能文档

Self-Improving Agent

Use this skill to turn execution feedback into reusable operational knowledge.

Quick workflow

  1. Detect signal: error, correction, capability gap, or repeated workaround.
  2. Log to .learnings/ with the right entry type.
  3. Resolve or promote high-value patterns into durable workspace files.
  4. Reuse scripts/hooks to keep capture consistent.

Use bundled resources

  • Entry examples and formats: references/examples.md
  • Hook setup for reminders/error detection: references/hooks-setup.md
  • OpenClaw workspace integration: references/openclaw-integration.md
  • Reminder hook script: scripts/activator.sh
  • Command-error detector: scripts/error-detector.sh
  • Skill extraction scaffold: scripts/extract-skill.sh
  • Environment checks: scripts/check_env.sh
  • Log templates: assets/LEARNINGS.md, assets/SKILL-TEMPLATE.md

Log targets

  • .learnings/LEARNINGS.md: corrections, knowledge gaps, best practices
  • .learnings/ERRORS.md: command/tool/runtime failures
  • .learnings/FEATURE_REQUESTS.md: requested capabilities not yet supported

Promotion rules

Promote broadly reusable learnings out of .learnings/:

  • behavior/style -> SOUL.md
  • workflow/orchestration -> AGENTS.md
  • tool constraints/gotchas -> TOOLS.md

Update original entries with status transitions (resolved, promoted, wont_fix) and references.

Commands

# Verify scripts and learnings directory setup
bash workspace/skills/self-improving-agent/scripts/check_env.sh

# Dry-run extraction of a new skill from a recurring pattern
bash workspace/skills/self-improving-agent/scripts/extract-skill.sh my-pattern --dry-run

相关技能

把命令报错、用户纠正与缺失能力以结构化 Markdown 条目写入项目 `.learnings/` 目录,便于复盘与沉淀。

作者 pskoett2 次安装

Build a goal-driven self-learning loop for OpenClaw and coding agents. Use when the agent should not only log mistakes, but diagnose capability gaps, maintai...

28 次安装

Self-reflection + Self-criticism + Self-learning + Self-organizing memory. Agent evaluates its own work, catches mistakes, and improves permanently. Use when...

2 次安装1 星标

Create self-improving agent or team workflows that capture failures, extract lessons, update instructions, and verify improvements without uncontrolled drift...

1 次安装

Self-reflection + Self-criticism + Self-learning + Self-organizing memory. Agent evaluates its own work, catches mistakes, and improves permanent

3 次安装

把对话中的语气偏差、上下文丢失和失败案例自动记录到 markdown 文件,便于复盘与沉淀。

16 次安装