Self-Improving + Proactive Agent

Self-Improving + Proactive Agent is a skill for Claude Code, Codex from L-LesterYu/OpenClaw-hot-skills-zh. It costs 121 tokens per session (2,538 once invoked), scanned A, original, MIT.

A self-improvement system for an AI agent that reviews its work, captures errors and corrections, and stores lessons in organized memory files.

In plain words
What is it for?
It is for keeping project and topic memory, logging corrections, reflecting on completed tasks, and maintaining workspace guidance.
Why use it?
It lets the agent reuse past feedback instead of making the same mistakes again.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions AGENTS.md; built for openclaw.

Good fit It is for keeping project and topic memory, logging corrections, reflecting on completed tasks, and maintaining workspace guidance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/l-lesteryu/openclaw-hot-skills-zh/self-improving-proactive-agent-zh
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add L-LesterYu/OpenClaw-hot-skills-zh --skill self-improving-proactive-agent-zh
Clone the repo
git clone --depth 1 https://github.com/L-LesterYu/OpenClaw-hot-skills-zh

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Self-Improving + Proactive Agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/self-improving-proactive-agent-zh/github.svg)](https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/self-improving-proactive-agent-zh)
Your own site
<a href="https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/self-improving-proactive-agent-zh"><img src="https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/self-improving-proactive-agent-zh/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Self-Improving + Proactive Agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/self-improving-proactive-agent-zh"><img src="https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/self-improving-proactive-agent-zh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,538 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00121 $0.02538
Opus 5 $0.00060 $0.01269
Sonnet 5 $0.00024 $0.00508
Haiku 4.5 $0.00012 $0.00254

Measured 9d ago against content hash 72f48e815d71, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

Self-Improving + Proactive Agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/self-improving-proactive-agent-zh/SKILL.md · 251 lines

How it starts

The opening of the file, as written. The whole thing — 251 lines — stays where its author put it; the contents beside it link to each section on GitHub.

何时使用

用户纠正你或指出错误。你完成重要工作并想评估结果。你注意到自己的输出中有可以改进的地方。知识应该随着时间积累,无需手动维护。

架构

记忆存储在 ~/self-improving/ 中,采用分层结构。如果 ~/self-improving/ 不存在,运行 setup.md。 工作区设置应将标准的自我改进引导添加到工作区的 AGENTS、SOUL 和 HEARTBEAT.md 文件中,并通过 heartbeat-rules.md 路由定期维护。

~/self-improving/
├── memory.md          # HOT: ≤100 行,始终加载
├── index.md           # 主题索引及行数
├── heartbeat-state.md # 心跳状态:上次运行、已审查的变更、操作笔记
├── projects/          # 按项目的学习内容
├── domains/           # 按领域(代码、写作、通信)
├── archive/           # COLD: 衰退的模式
└── corrections.md     # 最近 50 条纠正日志

快速参考

主题 文件
设置指南 setup.md
心跳状态模板 heartbeat-state.md
记忆模板 memory-template.md
工作区心跳片段 HEARTBEAT.md
心跳规则 heartbeat-rules.md
学习机制 learning.md
安全边界 boundaries.md
扩展规则 scaling.md
记忆操作 operations.md
自我反思日志 reflections.md
OpenClaw HEARTBEAT 种子 openclaw-heartbeat.md

要求

  • 无需凭证
  • 无需额外二进制文件
  • 可选安装 Proactivity 技能可能需要网络访问

学习信号

当你注意到这些模式时自动记录:

纠正 → 添加到 corrections.md,评估是否加入 memory.md

  • "不,那不对..."
  • "实际上,应该是..."
  • "你搞错了..."
  • "我更喜欢 X,而不是 Y"
  • "记住我总是..."
  • "我之前告诉过你..."
  • "别再做 X 了"
  • "你为什么总是..."

偏好信号 → 如果明确,添加到 memory.md

  • "我喜欢你..."
  • "总是为我做 X"
  • "永远不要做 Y"
  • "我的风格是..."
  • "对于 [项目],使用..."

模式候选 → 跟踪,重复 3 次后提升:

  • 相同指令重复 3 次以上
  • 反复运行良好的工作流程
  • 用户称赞的特定方法

忽略(不记录):

  • 一次性指令("现在做 X")
  • 特定上下文("在这个文件中...")
  • 假设性问题("如果...会怎样")

自我反思

完成重要工作后,暂停并评估:

  1. 是否达到预期? — 比较结果与意图
  2. 哪些可以更好? — 为下次识别改进点
  3. 这是一个模式吗? — 如果是,记录到 corrections.md

何时自我反思:

  • 完成多步骤任务后
  • 收到反馈(正面或负面)后
  • 修复错误或失误后
  • 当你注意到自己的输出可以更好时

日志格式:

CONTEXT: [任务类型]
REFLECTION: [我注意到的内容]
LESSON: [下次应该怎么做]

示例:

上下文:构建 Flutter UI
反思:间距看起来不对,不得不重做
教训:在展示给用户前检查视觉间距

自我反思条目遵循相同的提升规则:成功应用 3 次 → 提升到 HOT。

快速查询

用户说 操作
"你对 X 了解什么?" 在所有层级中搜索 X
"你学到了什么?" 显示 corrections.md 中的最近 10 条
"显示我的模式" 列出 memory.md (HOT)
"显示 [项目] 模式" 加载 projects/{name}.md
"温存储中有什么?" 列出 projects/ + domains/ 中的文件
"记忆统计" 显示各层级的计数
"忘记 X" 从所有层级中移除(先确认)
"导出记忆" 压缩所有文件

Read the full file on GitHub · 251 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 251 lines · 121 tokens per session scan A 72f48e815d71

Subscribe to this mod's changes

Self-Improving + Proactive Agent is a skill published in the GitHub repository L-LesterYu/OpenClaw-hot-skills-zh (54 stars, last pushed 5mo ago), licensed MIT. It adds 121 tokens to every session and 2,538 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

media-ingest

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

garrytan/gbrain · 52 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

establishing-project-context

Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.

GanyuanRan/Aegis · 45 tokens