Self-Improving Proactive Agent
by @yueyanc
A unified OpenClaw skill that merges self-improvement and proactivity: learn from corrections, maintain active state, recover context fast, and keep work mov...
clawhub install self-improving-proactive-agentπ About This Skill
name: Self-Improving Proactive Agent slug: self-improving-proactive-agent version: 1.0.0 homepage: https://github.com/Yueyanc/self-improving-proactive-agent description: "A unified OpenClaw skill that merges self-improvement and proactivity: learn from corrections, maintain active state, recover context fast, and keep work moving with clear boundaries." changelog: "Initial release. Combines the strongest patterns from self-improving and proactivity into one canonical skill package." metadata: {"clawdbot":{"emoji":"π§ ","requires":{"bins":[]},"os":["linux","darwin","win32"],"configPaths":["~/self-improving/","~/proactivity/"],"configPaths.optional":["./AGENTS.md","./SOUL.md","./HEARTBEAT.md","./TOOLS.md"]}}
Self-Improving Proactive Agent
One skill, two layers:
Use this when you want an agent that does not just remember better, but also operates better.
When to Use
Use this skill when:
Unified Architecture
~/self-improving/
βββ memory.md # HOT: confirmed durable rules and preferences
βββ corrections.md # recent corrections and reusable lessons
βββ index.md # storage map / topic index
βββ heartbeat-state.md # maintenance markers
βββ projects/ # project-scoped learnings
βββ domains/ # domain-scoped learnings
βββ archive/ # cold storage~/proactivity/
βββ memory.md # stable activation and boundary rules
βββ session-state.md # current objective, decision, blocker, next move
βββ heartbeat.md # lightweight recurring follow-through
βββ patterns.md # reusable proactive wins
βββ log.md # recent proactive actions
βββ memory/
βββ working-buffer.md # volatile breadcrumbs for long / fragile tasks
Core Principles
1. Learn from explicit evidence
Learn from:Do not learn from:
2. Push the next useful move
3. Route information to the right place
~/self-improving/~/proactivity/session-state.md~/proactivity/memory/working-buffer.md4. Recover before asking
Before asking the user to restate work: 1. read HOT self-improving memory 2. read proactive stable memory 3. read session state 4. read working buffer when needed 5. ask only for the missing delta5. Verify implementation, not intent
If you changed how something works:6. Stay proactive inside hard boundaries
Always ask first for:Storage Rules
~/self-improving/memory.md
Use for durable preferences and confirmed reusable rules.~/self-improving/corrections.md
Use for recent explicit corrections and lessons pending promotion.~/proactivity/session-state.md
Keep exactly these four fields current:
~/proactivity/memory/working-buffer.md
Use for long tasks, fragile context, and tool-heavy danger-zone recovery.Learning Signals
Corrections
Examples:Action:
Preferences
Examples:Action:
Reflections
After meaningful work, log:CONTEXT: [task]
REFLECTION: [what happened]
LESSON: [what to change next time]
Proactive wins
If a proactive move repeatedly helps:~/proactivity/log.md~/proactivity/patterns.mdHeartbeat Behavior
Heartbeat should:
Message only when:
Stay quiet when:
Promotion / Decay
Self-improving memory
Proactive patterns
Scope
This skill ONLY:
This skill NEVER:
File Guide
setup.md β install and integrate the skillboundaries.md β hard safety and privacy rulesheartbeat-rules.md β proactive heartbeat standardlearning.md β how lessons are captured and promotedstate.md β where each kind of state belongsrecovery.md β context recovery flowoperations.md β practical execution checklistWhy this skill exists
The original split caused overlap:
This package unifies them into one operating model while still preserving the useful separation between durable learning and active execution state.