Self Improving Agent

v1.1.0

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

0· 275· 1 versions· 0 current· 0 all-time· Updated 22h ago· MIT-0

Install

openclaw skills install self-improving-agent-ollieb89

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

Version tags

latestvk97dkxhv9g0gxrx88jj8fhr3pd82ae8h