← 返回 Skills 市场
tfops22

KJ's Self-Improving Proactive Agent

作者 TFOPS22 · GitHub ↗ · v1.0.0 · MIT-0
linuxdarwinwin32 ✓ 安全检测通过
157
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install kj-self-improving-proactive
功能描述
A unified OpenClaw skill that merges self-improvement and proactivity: learn from corrections, maintain active state, recover context fast, and keep work mov...
使用说明 (SKILL.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.

安全使用建议
This skill is an instruction-only agent that will create and maintain files in your home directory (~/self-improving/ and ~/proactivity/). It does not ask for credentials or external network access in the provided instructions, and its declared behavior matches its requirements. Before installing or enabling autonomous use: 1) review the repository/source (note the registry ownerId differs from the _meta.json ownerId in the package — verify the publisher), 2) decide whether you are comfortable with the agent storing persistent state on disk and back up any sensitive files, 3) after first run inspect the files it creates to confirm no secrets or unexpected data are stored, and 4) if you plan to allow autonomous invocation, consider limiting that capability until you’ve validated behavior (the skill states it will not act on messages, payments, or deletions without explicit approval). If you need higher assurance, ask the publisher for signed provenance or a canonical release from a known account.
功能分析
Type: OpenClaw Skill Name: kj-self-improving-proactive Version: 1.0.0 The skill bundle provides a structured framework for an agent to manage long-term memory and session state through local markdown files in the user's home directory. The instructions in SKILL.md and boundaries.md emphasize safety, explicitly forbidding the storage of secrets, requiring user consent for sensitive actions (like spending money or deleting data), and focusing purely on behavioral self-improvement and context recovery without any malicious execution or data exfiltration logic.
能力评估
Purpose & Capability
The skill's name and description (self-improvement + proactivity) align with the runtime instructions: it explicitly manages local learning and active-state files under ~/self-improving/ and ~/proactivity/. It does not request unrelated credentials or binaries. Note: registry metadata lists an ownerId that does not match the ownerId in the included _meta.json file — a packaging/metadata inconsistency worth checking with the publisher (could be benign but reduces provenance assurance).
Instruction Scope
SKILL.md instructs the agent to create, read, update and persist several files and directories in the user's home directory (e.g., ~/self-improving/*, ~/proactivity/*). This is coherent with the stated purpose, but it is a non-trivial filesystem footprint and creates persistent state on disk. The instructions explicitly forbid storing credentials and external actions without consent, and no external endpoints or secret exfiltration steps are present in the docs.
Install Mechanism
There is no install script or binary downloads; the skill is instruction-only, so nothing is written to disk by an installer beyond the agent's own behavior. This is the lowest-risk install pattern.
Credentials
The skill requires no environment variables, no credentials, and the SKILL.md explicitly states it must not store secrets. The absence of requested credentials is proportional to the skill's local-state-only design.
Persistence & Privilege
The skill persists state to files under the user's home directory and is intended to maintain memory and heartbeat state across sessions. always:false (not force-included) and no elevated system privileges are requested. Persistence of local files is expected for this use case, but users should be aware that data will remain on disk and be read by the agent on subsequent runs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install kj-self-improving-proactive
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /kj-self-improving-proactive 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Unified skill: learn from corrections + maintain proactive momentum
元数据
Slug kj-self-improving-proactive
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

KJ's Self-Improving Proactive Agent 是什么?

A unified OpenClaw skill that merges self-improvement and proactivity: learn from corrections, maintain active state, recover context fast, and keep work mov... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 157 次。

如何安装 KJ's Self-Improving Proactive Agent?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install kj-self-improving-proactive」即可一键安装,无需额外配置。

KJ's Self-Improving Proactive Agent 是免费的吗?

是的,KJ's Self-Improving Proactive Agent 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

KJ's Self-Improving Proactive Agent 支持哪些平台?

KJ's Self-Improving Proactive Agent 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux, darwin, win32)。

谁开发了 KJ's Self-Improving Proactive Agent?

由 TFOPS22(@tfops22)开发并维护,当前版本 v1.0.0。

💬 留言讨论