← Back to Skills Marketplace
405
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install strict-self-improvement
Description
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Clau...
Usage Guidance
This skill appears to do what it says — it only injects reminders, detects command errors locally, scaffolds new skills from learnings, and aggregates promotion candidates. Before enabling it: 1) review the scripts (activator.sh, error-detector.sh, extract-skill.sh, promote-review.sh) so you understand what files they write and where; 2) be aware hooks run with the agent's permissions and will create/modify files under ~/.openclaw/workspace and memory/core; 3) logs and learning entries may contain command output or context that could include secrets — decide whether to redact or avoid logging sensitive output; 4) if activations are too frequent, use matcher filters (as documented) to limit when hooks run; and 5) only enable the OpenClaw hook(s) if you trust the skill and want persistent reminders and local file writes. If you want additional assurance, run the scripts in a dry-run or test workspace first.
Capability Analysis
Type: OpenClaw Skill
Name: strict-self-improvement
Version: 1.0.2
The skill bundle is classified as suspicious due to a critical shell injection vulnerability found in `scripts/extract-skill.sh`. The `SKILL_NAME` argument is directly interpolated into a command executed by `sed` and `awk` without proper sanitization or quoting, specifically in the line generating the H1 title. This allows an attacker to execute arbitrary shell commands by crafting a malicious `skill-name` (e.g., `my-skill; rm -rf /`). While the script's intended purpose is benign (creating a skill scaffold), this vulnerability allows for unauthorized command execution, making it a significant security risk. Other components, including the agent's self-improvement instructions and hook scripts, appear benign and even include security-positive restrictions like human-in-the-loop approval for promoting knowledge to core agent instructions.
Capability Assessment
Purpose & Capability
The name/description (Rule of 3 self-improvement) aligns with the included artifacts: hooks that inject reminders, scripts to detect errors, scripts to scaffold extracted skills, and a promoter that aggregates candidate promotions. All code and documentation support the declared goal; no unrelated cloud credentials, binaries, or external services are required.
Instruction Scope
SKILL.md and the hook handlers clearly instruct creating workspace memory files, enabling an optional OpenClaw hook, and optionally wiring scripts into agent hooks (UserPromptSubmit, PostToolUse). The scripts operate on local files and environment variables expected in the agent environment (e.g., CLAUDE_TOOL_OUTPUT). The instructions do not direct reading of unrelated system credentials or exfiltration to external endpoints.
Install Mechanism
This is instruction-only (no remote install/download). All executable helpers are included in the package (bash scripts, hook handlers). There are no network download or extract steps that would pull arbitrary code from personal servers or shorteners.
Credentials
The skill declares no required environment variables or credentials. Runtime scripts read CLAUDE_TOOL_OUTPUT (a platform-provided variable) and respect SKILLS_DIR/SKILLS_DIR-like overrides; they write files under the user's workspace or $HOME. While no secrets are requested, logs and learned entries written to workspace files may contain command output or user-supplied context — users should consider whether such persisted logs may include sensitive data.
Persistence & Privilege
The skill is opt-in (always: false). Installing the hook (openclaw hooks enable ...) gives it ongoing presence during agent bootstrap and hook-triggered events. This is expected for a self-improvement hook, but note the hook and scripts will run with the same permissions as the agent and will create/modify files in the user's OpenClaw workspace (~/.openclaw/workspace and memory/core).
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install strict-self-improvement - After installation, invoke the skill by name or use
/strict-self-improvement - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
No code or documentation changes detected in this version.
- Version bump with no user-facing or implementation changes.
- No updates to SKILL.md or other files.
- Safe to upgrade; existing workflows remain unchanged.
v1.0.1
No functional or documentation changes in this version.
- Version incremented to 1.0.1 with no detected file modifications.
- All features, setup instructions, and protocol rules remain unchanged.
v1.0.0
Initial release of strict-self-improvement (v1.0.0):
- Introduces a structured, quantitative system for self-improvement using the "Rule of 3"—issues must recur 3 times before promotion.
- Prevents context bloat by logging all learnings, errors, and feature requests in dedicated core memory files (`learning.md`, `error.md`, `features.md`).
- Enforces strict separation of behavioral, workflow, and tool knowledge for promotion to SOUL.md, AGENTS.md, or TOOLS.md.
- Requires human-in-the-loop review for promoting entries from log files to core agent instructions.
- Provides detailed templates, workspace structure, and setup instructions for OpenClaw and other AI frameworks.
Metadata
Frequently Asked Questions
What is Strict Self-Improving Agent (Rule of 3)?
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Clau... It is an AI Agent Skill for Claude Code / OpenClaw, with 405 downloads so far.
How do I install Strict Self-Improving Agent (Rule of 3)?
Run "/install strict-self-improvement" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Strict Self-Improving Agent (Rule of 3) free?
Yes, Strict Self-Improving Agent (Rule of 3) is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Strict Self-Improving Agent (Rule of 3) support?
Strict Self-Improving Agent (Rule of 3) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Strict Self-Improving Agent (Rule of 3)?
It is built and maintained by jayv29 (@jayv29); the current version is v1.0.2.
More Skills