← Back to Skills Marketplace
leohuang8688

Self Improving Agent

by ClawMem.com · GitHub ↗ · v3.2.1 · MIT-0
cross-platform ⚠ suspicious
383
Downloads
0
Stars
3
Active Installs
2
Versions
Install in OpenClaw
/install self-improver
Description
Self-improving agent system for OpenClaw. Enables continuous learning from interactions, errors, and recoveries. Automatically improves performance over time.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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).
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install self-improver
  3. After installation, invoke the skill by name or use /self-improver
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug self-improver
Version 3.2.1
License MIT-0
All-time Installs 3
Active Installs 3
Total Versions 2
Frequently Asked Questions

What is Self Improving Agent?

Self-improving agent system for OpenClaw. Enables continuous learning from interactions, errors, and recoveries. Automatically improves performance over time. It is an AI Agent Skill for Claude Code / OpenClaw, with 383 downloads so far.

How do I install Self Improving Agent?

Run "/install self-improver" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Self Improving Agent free?

Yes, Self Improving Agent is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Self Improving Agent support?

Self Improving Agent is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Self Improving Agent?

It is built and maintained by ClawMem.com (@leohuang8688); the current version is v3.2.1.

💬 Comments