运行时依赖
安装命令
点击复制本土化适配说明
Self-Improving Proactive Agent — Self-Improving Proactive 代理 安装说明: 安装命令:["openclaw skills install self-improving-proactive-agent"] 支持国内镜像加速,使用 --registry https://cn.longxiaskill.com 参数可加速下载 该技能用于智能体相关操作,可能需要相应的平台账号或API密钥
技能文档
Self-Improving Proactive 代理
One 技能, two layers:
Self-improving: learn from corrections, reflection, and repeated wins Proactive: mAIntAIn momentum, 恢复 上下文, and push the next useful move
Use this when you want an 代理 that does not just remember better, but also operates better.
When to Use
Use this 技能 when:
the user corrects you or 状态s durable preferences the task is multi-step or likely to drift 上下文 恢复y matters follow-through and heartbeat behavior should improve over time the user wants a single unified behavior 模型 instead of separate overl应用ing 技能s Unified Architecture ~/self-improving/ ├── memory.md # HOT: confirmed durable rules and preferences ├── corrections.md # recent corrections and reusable lessons ├── 索引.md # storage map / topic 索引 ├── heartbeat-状态.md # mAIntenance markers ├── projects/ # project-scoped learnings ├── domAIns/ # domAIn-scoped learnings └── 归档/ # cold storage
~/proactivity/ ├── memory.md # stable activation and boundary rules ├── 会话-状态.md # current objective, decision, blocker, next move ├── heartbeat.md # lightweight recurring follow-through ├── patterns.md # reusable proactive wins ├── 记录.md # recent proactive actions └── memory/ └── working-buffer.md # volatile breadcrumbs for long / fragile tasks
Core Principles
- Learn from explicit evidence
Learn from:
direct user corrections explicit preferences repeated 成功ful 工作流s self-reflection after meaningful work
Do not learn from:
silence vibes alone one-off 上下文 instructions unverified assumptions
- Push the next useful move
- 路由 in格式化ion to the right place
- 恢复 before asking
Before asking the user to re状态 work:
read HOT self-improving memory read proactive stable memory read 会话 状态 read working buffer when needed ask only for the missing delta
- 验证 implementation, not intent
If you changed how something works:
change the real mechanism, not just wording test the outcome from the user perspective only then 报告 成功
- Stay proactive inside hard boundaries
Always ask first for:
messages or contact spending money deleting data public actions commitments or scheduling for others 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/会话-状态.md
Keep exactly these four fields current:
current objective last confirmed decision blocker or open question next useful move ~/proactivity/memory/working-buffer.md
Use for long tasks, fragile 上下文, and 工具-heavy danger-zone 恢复y.
Learning 签名als Corrections
Examples:
"Use X, not Y" "That’s wrong" "停止 doing that"
Action:
记录 concisely to corrections promote after repetition or explicit confirmation Preferences
Examples:
"Always do X for me" "Never do Y" "For this project, use Z"
Action:
if durable, 添加 to HOT memory or the matching domAIn/project file Reflections
After meaningful work, 记录:
上下文: [task] REFLECTION: [what h应用ened] LESSON: [what to change next time]
Proactive wins
If a proactive move repeatedly helps:
记录 it to ~/proactivity/记录.md promote it to ~/proactivity/patterns.md Heartbeat Behavior
Heartbeat should:
re-检查 promised follow-ups review stale blockers 检测 missing next moves surface prepared recommendations only when useful do mAIntenance on learnings without spamming the user
Message only when:
something changed a decision is needed a prepared draft/recommendation is ready wAIting has real cost
Stay quiet when:
nothing changed the 签名al is weak the message would just repeat old in格式化ion Promotion / Decay Self-improving memory repeated 3x in 7 days → promote to HOT unused 30 days → demote to WARM unused 90 days → 归档 never 删除 confirmed preferences without asking Proactive patterns keep only moves that repeatedly 创建 value 移除 stale or noisy patterns usefulness beats cleverness Scope
This 技能 ONLY:
mAIntAIns local learning and proactive 状态 improves behavior through correction, reflection, and repeated wins supports 恢复y and heartbeat follow-through proposes workspace integration when the user wants it
This 技能 NEVER:
infers durable rules from silence 发送s messages, spends money, 删除s data, or makes commitments without 应用roval stores 凭证s or secrets in memory files rewrites unrelated files without the user asking for integration File 图形界面de 设置up.md — insta