← 返回 Skills 市场
leohuang8688

Self Improving Agent

作者 ClawMem.com · GitHub ↗ · v3.2.1 · MIT-0
cross-platform ⚠ suspicious
383
总下载
0
收藏
3
当前安装
2
版本数
在 OpenClaw 中安装
/install self-improver
功能描述
Self-improving agent system for OpenClaw. Enables continuous learning from interactions, errors, and recoveries. Automatically improves performance over time.
安全使用建议
High-level guidance before installing: - Inspect the full source locally (SKILL.md, README, src/, hooks/) before enabling. The code runs locally and writes to a learnings/ folder; verify exactly where data will be stored. - Confirm how the skill integrates with OpenClaw in your environment: the docs claim automatic learning after each session, but the visible code does not clearly register with OpenClaw lifecycle events — test in an isolated environment first. - Look for hidden/odd characters in SKILL.md (the scanner flagged unicode-control-chars). Open the file in a hex-aware editor or run a control-character stripper to confirm there is no obfuscated instruction. - Start with auto-apply / auto-learn disabled in configuration if possible. Manually review learnings and the hooks that get applied before letting the skill mutate agent behavior automatically. - Check where learnings are written; the hooks modules currently write under the skill directory (Path(__file__).parent.parent/learnings) which may differ from your workspace path — ensure permissions and retention policy are acceptable. - Run the included tests (pytest) and try the CLI commands (learn/review/export) locally to confirm behavior. What would change this assessment: seeing the full implementations of src/hooks.py and src/memory.py (to confirm whether session logs are read and whether any network calls or external endpoints exist), or evidence that the skill registers itself automatically with OpenClaw's runtime in a secure, auditable way. If those files show no network/exfiltration and workspace handling is consistent, the risk would be lower (benign). If additional files show network uploads, credential access, or automatic remote code execution, the rating would rise to higher concern.
功能分析
Type: OpenClaw Skill Name: self-improver Version: 3.2.1 The bundle implements a 'self-improving' system that dynamically loads and executes arbitrary Python code from a hooks directory using importlib (`src/hooks.py`), which presents a significant risk of Remote Code Execution (RCE) if the environment is tampered with. Additionally, the agent automatically captures and stores sensitive execution data, including full stack tracebacks and session metadata, into local JSON files (`hooks/error_learning.py`, `hooks/session_learning.py`). While these capabilities are consistent with the stated purpose of a learning agent and no active data exfiltration was found, the combination of arbitrary code execution and sensitive data collection is inherently high-risk.
能力评估
Purpose & Capability
The name/description (self-improving agent for OpenClaw) align with the included code: hooks for errors/sessions/performance, a CLI entrypoint, and local learnings storage. This is coherent: the code implements learning hooks and persistence, which matches the stated purpose. Minor mismatch: README/SKILL.md repeatedly says integration with OpenClaw and automatic learning after each session, but the visible code offers a CLI and hook modules that appear to operate on local files — the integration mechanism with the OpenClaw runtime (automatic registration/triggers) is not clearly implemented in the exposed files.
Instruction Scope
SKILL.md instructs cloning into the OpenClaw skills directory and claims 'Auto-learning is enabled by default' and automatic learning after each session. However, the code shown (main.py and hooks/*) does not clearly demonstrate automatic registration with OpenClaw session lifecycle; hooks in hooks/ use Path(__file__).parent.parent for their workspace (the skill repo root) instead of using the workspace path passed to the CLI components. SKILL.md also suggests creating .env variables and config.json values that the visible code does not read. Additionally, a pre-scan detected 'unicode-control-chars' in SKILL.md (prompt-injection style), which could be an attempt to influence automated processing or hide text; review the raw SKILL.md file for hidden/obfuscated content.
Install Mechanism
No automated install spec in registry; SKILL.md recommends git clone + pip install -e (standard, low-risk). The repository referenced is GitHub (common host). There are no download-from-arbitrary-URL installers or packaged binary extracts in the registry metadata. Because code files ship with the skill, installing will write Python files to disk (normal for a skill).
Credentials
The registry metadata declares no required env vars or credentials (good). SKILL.md and README suggest optional .env and config.json keys (WORKSPACE_PATH, LEARNING_ENABLED, etc.), but the visible code does not appear to consume these environment variables consistently. There are no requests for secrets or unrelated credentials. The mismatch is an implementation/documentation inconsistency rather than an escalatory credential ask.
Persistence & Privilege
The skill persistently stores learnings and logs under a 'learnings' directory and applies hooks to change runtime behavior (auto-apply is a documented feature). The registry flags do not set always:true and the skill does not request system-wide privileges. Still, the skill is capable of modifying agent behavior over time (self-improvement and auto-apply), so you should treat it as a persistent, behavioral modifier and enable it carefully (e.g., start with auto_apply disabled).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install self-improver
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /self-improver 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v3.2.1
- Removed learnings/errors.json, learnings/recoveries.json, and learnings_export.md files. - Updated README.md with relevant changes and instructions. - No user-facing feature changes; mostly cleanup of redundant or outdated files.
v3.2.0
**self-improver v3.2.0 changelog** - Added comprehensive documentation in SKILL.md detailing installation, usage, features, hooks, learning types, and project structure. - Clarified the auto-learning process and provided clear instructions for both OpenClaw skill and standalone Python package installations. - Listed available CLI commands for running, learning, reviewing, and exporting learnings. - Described the hook system and configuration options for integration with OpenClaw. - Included guides for best practices and examples of learning file formats.
元数据
Slug self-improver
版本 3.2.1
许可证 MIT-0
累计安装 3
当前安装数 3
历史版本数 2
常见问题

Self Improving Agent 是什么?

Self-improving agent system for OpenClaw. Enables continuous learning from interactions, errors, and recoveries. Automatically improves performance over time. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 383 次。

如何安装 Self Improving Agent?

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

Self Improving Agent 是免费的吗?

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

Self Improving Agent 支持哪些平台?

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

谁开发了 Self Improving Agent?

由 ClawMem.com(@leohuang8688)开发并维护,当前版本 v3.2.1。

💬 留言讨论