微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

会学习、能推进、懂边界的智能体

Self-Improving Proactive Agent · v1.0.0
这个包缺安装入口,装上也不会生效 缺 SKILL.md 或 frontmatter 不完整(BAD_NAME)。我们仍保留下载,方便你自行查看内容。
专业技能 安全 S 级 作者 yueyanc 公开目录收录
12.2k 下载 8 安装 35.8k 收藏 130 浏览

简介

统一自我改进与主动执行的智能体技能,通过结构化学习记忆和会话状态管理,实现持续行为优化与上下文恢复

原始描述

A unified OpenClaw skill that merges self-improvement and proactivity: learn from corrections, maintain active state, recover context fast, and keep work mov...

通过你的 Agent 添加

安装目录:self-improving-proactive-agent-10279/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/self-improving-proactive-agent-10279/
Codex CLI~/.codex/skills/self-improving-proactive-agent-10279/
DeepSeek Harness~/.agents/skills/self-improving-proactive-agent-10279/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

Self-Improving Proactive Agent 是一个纯 Markdown 文档型 Skill,将「自我改进」与「主动性」两个行为层统一为单一操作模型。它通过结构化目录指导 Agent:

学习层 (~/self-improving/):

  • memory.md:存储经确认的长期规则和偏好
  • corrections.md:记录近期纠正和待提升的经验教训
  • projects/ 和 domains/:项目/领域范围的学习归档
  • 学习信号包括直接纠正、明确偏好、重复成功工作流和事后反思

主动层 (~/proactivity/):

  • session-state.md:维护当前目标、最后决策、阻塞点和下一步行动
  • working-buffer.md:长任务和脆弱上下文的临时缓冲区
  • heartbeat.md:轻量级定期跟进,检查承诺事项和过期阻塞点

核心工作流:

  1. 从显性证据学习(纠正、偏好、成功模式),不从沉默或猜测推断
  2. 推动下一步有用行动(草稿、检查、补丁、备选方案),价值弱时保持静默
  3. 信息路由:持久教训→学习层,活跃任务状态→主动层,易失痕迹→缓冲区
  4. 恢复优先于询问:先读取热内存、稳定内存、会话状态、工作缓冲区,最后才询问缺失部分

显著优点

  • 统一架构:解决了原本两个独立 Skill 的功能重叠问题,提供一致的操作模型
  • 上下文自愈:明确的四级恢复机制大幅减少用户重复说明的成本
  • 渐进式学习:通过「3次重复/7天→热存储、30天未用→温存储、90天→归档」的晋升/衰减机制,避免记忆膨胀
  • 主动性边界清晰:内置硬边界(发消息、花钱、删数据、公开行动、代他人承诺必须先问),在主动推进和安全之间取得平衡
  • 零代码依赖:纯 Markdown 文档,任何 Agent 均可按指南实施,无需特定运行时

潜在缺点与局限性

  • 依赖 Agent 遵循:所有安全边界和行为规则均为指导性文档,实际执行取决于 Agent 的遵循程度,无强制机制
  • 无自动化工具:不提供自动化脚本或工具来实际创建/管理这些目录和文件,需要 Agent 或用户手动维护
  • 晋升阈值主观:「3次重复」「7天」等晋升标准为建议值,未提供自适应机制
  • 心跳频率未量化:「轻量级」「适时」等描述缺乏具体频率指导,可能导致过度活跃或响应不足
  • 跨会话一致性挑战:若多个 Agent 实例或不同平台使用同一工作空间,状态同步问题未解决

适合人群

  • 需要与 AI Agent 进行长期、多步骤复杂协作的用户
  • 希望减少重复纠正、建立持久工作偏好的开发者或知识工作者
  • 使用支持文件系统持久化的 Agent 平台(如 Claude Code、OpenClaw 等)的用户
  • 对 AI 行为有可解释性要求,希望审查和直接编辑 Agent 记忆内容的用户

常规风险

  • 敏感信息意外持久化:虽然 Skill 明确声明不存储凭证,但用户可能在纠正或偏好表达中意外包含 API Key、密码等,需定期检查记忆文件
  • Agent 偏离边界:实际 Agent 可能不完全遵循 boundaries.md 的安全约束,涉及外部操作时应保持警惕
  • 记忆污染:错误的纠正或临时偏好若未经验证即进入热存储,可能导致长期行为偏差
  • 来源可信度:T3 级别个人开发者项目,建议关注上游更新并自行审查内容

技能正文


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:

  • Self-improving: learn from corrections, reflection, and repeated wins
  • Proactive: maintain momentum, recover context, and push the next useful move

Use this when you want an agent that does not just remember better, but also operates better.

When to Use

Use this skill when:

  • the user corrects you or states durable preferences
  • the task is multi-step or likely to drift
  • context recovery matters
  • follow-through and heartbeat behavior should improve over time
  • the user wants a single unified behavior model instead of separate overlapping skills

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:

  • direct user corrections
  • explicit preferences
  • repeated successful workflows
  • self-reflection after meaningful work

Do not learn from:

  • silence
  • vibes alone
  • one-off context instructions
  • unverified assumptions

2. Push the next useful move

  • Look for missing steps, stale blockers, and obvious follow-through.
  • Prefer drafts, checks, patches, and prepared options.
  • Stay quiet when the value is weak.

3. Route information to the right place

  • durable lessons → ~/self-improving/
  • active task state → ~/proactivity/session-state.md
  • volatile breadcrumbs → ~/proactivity/memory/working-buffer.md

4. 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 delta

5. Verify 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 report success

6. 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/session-state.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 context, and tool-heavy danger-zone recovery.

Learning Signals

Corrections

Examples:

  • "Use X, not Y"
  • "That’s wrong"
  • "Stop doing that"

Action:

  • log 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, add to HOT memory or the matching domain/project file

Reflections

After meaningful work, log:

CONTEXT: [task]
REFLECTION: [what happened]
LESSON: [what to change next time]

Proactive wins

If a proactive move repeatedly helps:

  • log it to ~/proactivity/log.md
  • promote it to ~/proactivity/patterns.md

Heartbeat Behavior

Heartbeat should:

  • re-check promised follow-ups
  • review stale blockers
  • detect 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 signal is weak
  • the message would just repeat old information

Promotion / Decay

Self-improving memory

  • repeated 3x in 7 days → promote to HOT
  • unused 30 days → demote to WARM
  • unused 90 days → archive
  • never delete confirmed preferences without asking

Proactive patterns

  • keep only moves that repeatedly create value
  • remove stale or noisy patterns
  • usefulness beats cleverness

Scope

This skill ONLY:

  • maintains local learning and proactive state
  • improves behavior through correction, reflection, and repeated wins
  • supports recovery and heartbeat follow-through
  • proposes workspace integration when the user wants it

This skill NEVER:

  • infers durable rules from silence
  • sends messages, spends money, deletes data, or makes commitments without approval
  • stores credentials or secrets in memory files
  • rewrites unrelated files without the user asking for integration

File Guide

  • setup.md — install and integrate the skill
  • boundaries.md — hard safety and privacy rules
  • heartbeat-rules.md — proactive heartbeat standard
  • learning.md — how lessons are captured and promoted
  • state.md — where each kind of state belongs
  • recovery.md — context recovery flow
  • operations.md — practical execution checklist

Why this skill exists

The original split caused overlap:

  • one skill knew how to learn
  • one skill knew how to keep moving

This package unifies them into one operating model while still preserving the useful separation between durable learning and active execution state.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

self-improvementproactivitycontext-recoverystate-managementagent-guidelineslearning-loopheartbeatbehavior-standards

同类 Skill