proactive-self-improving-agent

Records agent errors, corrections, and learnings into structured Markdown files with promotion rules.

10|10|Updated May 13, 2026
One-click install
npx skills add https://github.com/yuluyangguang1/openclaw-portable --skill proactive-self-improving-agent-yuluyangguang1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: proactive-self-improving-agent
Source: https://github.com/yuluyangguang1/openclaw-portable/tree/main/system/skills-zh/proactive-self-improving-agent-zh
Command: npx skills add https://github.com/yuluyangguang1/openclaw-portable --skill proactive-self-improving-agent-yuluyangguang1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI agents repeatedly make the same mistakes because insights from failures, user corrections, and discovered best practices are never persisted. This Skill gives the agent a structured memory system that captures experience during work and promotes recurring lessons into permanent behavioral rules. ## Core Features & Use Cases - Seven trigger conditions: Automatically evaluates whether to log entries when commands fail, users correct the agent, capabilities are missing, APIs error, knowledge is outdated, better practices are found, or tasks complete. - Structured three-file system: Writes categorized entries with unique IDs into LEARNINGS.md, ERRORS.md, and FEATURE_REQUESTS.md under a .learnings/ directory, plus a machine-readable JSONL changelog. - Experience evolution with guardrails: Promotes patterns recurring three or more times into AGENTS.md, TOOLS.md, or SOUL.md, extracts reusable lessons into standalone skills, and applies ADL anti-drift and VFM value-first scoring to prevent low-value changes. - Use Case: After an agent hits a rate limit on the Semantic Scholar API, it logs the error, records the 3-second interval workaround as a learning, and on the third recurrence promotes the rule into TOOLS.md so all future sessions respect the limit. ## Quick Start Ask the agent to create a .learnings directory in the workspace and start recording errors, corrections, and learnings according to this skill's trigger rules.

Frequently Asked Questions about proactive-self-improving-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make an AI agent remember lessons from past mistakes?

Use a structured learning log where the agent writes categorized entries to LEARNINGS.md and ERRORS.md whenever it fails, gets corrected, or finds better approaches. Recurring patterns detected three or more times get promoted into permanent rule files like AGENTS.md.

How to set up the proactive self-improving agent skill?

Install the skill into your OpenClaw skills directory, then create a .learnings folder in the workspace with mkdir -p .learnings. The agent loads SKILL.md automatically and begins evaluating the seven trigger conditions during normal work.

What triggers the agent to record a learning or error?

Seven scenarios trigger evaluation: command failures, user corrections, missing capability requests, external API errors, outdated knowledge discovery, better practice discovery, and task completion reviews. The agent skips writing if the insight is not genuinely new or already covered.

Does this skill prevent the agent from changing behavior unsafely?

Yes, it includes two guardrails. The ADL protocol bans unverifiable or novelty-driven changes, and the VFM protocol requires a weighted value score of at least 50 before any learning is promoted to permanent files.

Can logged learnings become standalone reusable skills?

Yes, entries with multiple linked occurrences, verified solutions, and cross-project applicability can be extracted into independent skills under a skills directory. The original entry is marked promoted_to_skill and the extraction is logged in the changelog.