CommunityProductivity & Collaborationgithub.com

Proactive Self-Improving Agent

Automatically captures experiences and safely evolves. Trigger conditions: (1) command/operation failure → record in ERRORS.md (2) user correction ('no'/'should be') → record in LEARNINGS.md (3) user requests missing capability → record in FEATURE_REQUESTS.md (4) external API/tool error → record in ERRORS.md (5) own knowledge outdated/incorrect → record in LEARNINGS.md (6) better practice discovered → record in LEARNINGS.md (7) each task completion → review process, if new experience exists record in LEARNINGS.md. Dedup rule: skip if no new experience or existing entry already covers it. Each write also appends a JSONL log to .learnings/CHANGELOG.md. Experiences recurring ≥3 times promote to AGENTS.md/TOOLS.md/SOUL.md. See body for details.

What is Proactive Self-Improving Agent?

This agent skill enables automatic capture of operational experiences and safe self-evolution without manual intervention. It monitors seven key triggers: command failures, user corrections, missing capabilities, external API errors, outdated knowledge, better practices, and task completion. Each event is deduplicated and recorded in structured experience files (ERRORS.md, LEARNINGS.md, FEATURE_REQUESTS.md). A changelog in .learnings/CHANGELOG.md preserves a chronological JSONL audit trail. When an experience recurs three or more times, it promotes to higher-level knowledge files (AGENTS.md/TOOLS.md/SOUL.md) for permanent integration. This skill is platform-agnostic and works with any AI agent that respects file-based knowledge, making it ideal for continuous improvement in development workflows, CI/CD pipelines, and autonomous coding agents.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/yanhongxi-openclaw/proactive-self-improving-agent/tree/main/skills/proactive-self-improving-agent

Installed? Explore more Productivity & Collaboration skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

What does Proactive Self-Improving Agent do?

Automatically captures experiences and safely evolves. Trigger conditions: (1) command/operation failure → record in ERRORS.md (2) user correction ('no'/'should be') → record in LEARNINGS.md (3) user requests missing capability → record in FEATURE_REQUESTS.md (4) external API/tool error → record in ERRORS.md (5) own knowledge outdated/incorrect → record in LEARNINGS.md (6) better practice discovered → record in LEARNINGS.md (7) each task completion → review process, if new experience exists record in LEARNINGS.md. Dedup rule: skip if no new experience or existing entry already covers it. Each write also appends a JSONL log to .learnings/CHANGELOG.md. Experiences recurring ≥3 times promote to AGENTS.md/TOOLS.md/SOUL.md. See body for details.

Related Skills