← 返回 Skills 市场
lovensky1992-wk

Self Improving Agent

作者 lovensky1992-wk · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
418
总下载
0
收藏
1
当前安装
8
版本数
在 OpenClaw 中安装
/install self-improving-learner
功能描述
错误学习闭环:记录失败和纠正 → Pattern-Key 分类 → 定期复盘 → 整合长期记忆 → 防止再犯。 Use when: (1) 命令/操作意外失败且原因值得记录, (2) 用户纠正了错误("不对"/"Actually..."/"你搞错了"), (3) 用户要求的能力不存在(能力缺口信号), (4) 外...
安全使用建议
This skill appears to do what it says: remind the agent to log errors and convert repeated issues into persistent learnings. Before installing or enabling hooks globally, note: (1) the activator and error-detector are local scripts that will run with the same permissions as your agent and can write to your workspace (.learnings/, AGENTS.md, etc.); (2) enable the hooks only in the contexts you trust (project-level vs user-level); (3) review scripts (activator.sh, error-detector.sh, extract-skill.sh) and run extract-skill.sh with --dry-run to confirm behavior; (4) if you expect any cross-session operations (sessions_history/sessions_send), explicitly audit any runbooks that instruct the agent to use those APIs because they can access other sessions' data. Finally, be aware of minor metadata/version mismatches in the package (cosmetic) and verify origin if provenance is important.
功能分析
Type: OpenClaw Skill Name: self-improving-learner Version: 1.0.1 The skill bundle implements a structured 'self-improvement' loop for AI agents, allowing them to log errors, user corrections, and new insights into local markdown files. It includes shell scripts (activator.sh, error-detector.sh) and OpenClaw hooks (handler.js/ts) that provide passive reminders to the agent without executing harmful commands or exfiltrating data. The skill-extraction script (extract-skill.sh) demonstrates security awareness by explicitly validating paths to prevent directory traversal.
能力标签
cryptocan-make-purchases
能力评估
Purpose & Capability
Name/description (self-improvement / learning loop) match the included artifacts: activator + error detector hooks, a hook handler for bootstrap injection, templates, and a helper to extract a learning into a new skill. The files and scripts are proportionate to the stated purpose. Minor metadata/version inconsistencies exist between registry metadata, _meta.json, and README/SKILL.md versions (cosmetic, not functional).
Instruction Scope
SKILL.md instructs the agent to read/write project workspace files (.learnings/, AGENTS.md, SOUL.md, MEMORY.md) and to run periodic reviews — this is expected for a learning-capture skill. The documentation also references OpenClaw session APIs (sessions_history, sessions_send, sessions_spawn) as potential capabilities; those are only documented examples and are not automatically invoked by the included code. If an agent were later instructed to call cross-session APIs, that would expand scope and privacy impact — review any runbooks that authorize cross-session reads/writes before enabling globally.
Install Mechanism
There is no remote install/download step in the skill bundle provided. All included scripts and hook handlers are local files (no network fetches or extracts). This is a low-risk install profile. The extract-skill.sh helper writes files under the current working directory when run (it validates and disallows absolute paths and '..' traversal).
Credentials
The skill declares no required env vars or credentials — appropriate. One included helper (scripts/error-detector.sh) reads CLAUDE_TOOL_OUTPUT to detect errors; this is a platform-provided environment variable and aligns with the purpose, but it is not listed in requires.env (document-only). There are no requests for secrets or unrelated cloud credentials.
Persistence & Privilege
always:false and hooks are opt-in. The hook handler injects a virtual bootstrap file (SELF_IMPROVEMENT_REMINDER.md) on agent:bootstrap; other scripts are run only if the user configures hooks (references/hooks-setup.md). The skill does not modify other skills' configuration or request permanent system-level privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install self-improving-learner
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /self-improving-learner 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Daily sync
v1.0.14
Daily sync
v1.0.13
Daily sync
v1.0.12
Daily sync
v3.0.7
Daily sync
v3.0.6
Daily sync
v3.0.5
Daily sync - fix slug conflict
v1.0.0
Initial release: Fork of pskoett/self-improving-agent with Chinese localization and operational improvements
元数据
Slug self-improving-learner
版本 1.0.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 8
常见问题

Self Improving Agent 是什么?

错误学习闭环:记录失败和纠正 → Pattern-Key 分类 → 定期复盘 → 整合长期记忆 → 防止再犯。 Use when: (1) 命令/操作意外失败且原因值得记录, (2) 用户纠正了错误("不对"/"Actually..."/"你搞错了"), (3) 用户要求的能力不存在(能力缺口信号), (4) 外... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 418 次。

如何安装 Self Improving Agent?

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

Self Improving Agent 是免费的吗?

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

Self Improving Agent 支持哪些平台?

Self Improving Agent 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Self Improving Agent?

由 lovensky1992-wk(@lovensky1992-wk)开发并维护,当前版本 v1.0.1。

💬 留言讨论