← Back to Skills Marketplace
705
Downloads
0
Stars
3
Active Installs
1
Versions
Install in OpenClaw
/install self-improving-agent-local
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 coherent and low-risk for its stated local self-improvement purpose, but take these precautions before installing or enabling hooks:
- Review the scripts (activator.sh, error-detector.sh, extract-skill.sh and the hook handlers) yourself. They run with your user permissions and can write files in the workspace.
- Be careful what you log: the error template suggests appending full source and file contents to .learnings/ERRORS.md. Do NOT include secrets, private keys, or credentials in learning entries or when promoting entries to shared workspace files.
- Prefer project-scoped activation (project-level settings) rather than user/global hooks until you verify behavior. Use matcher filters to limit when hooks run.
- If you pull the repository, verify the GitHub source and its commit history if you need higher assurance.
- Test in an isolated workspace first: create a temporary project, enable the minimal activator-only setup, and observe outputs before enabling PostToolUse hooks or running extract-skill.sh.
If you want, I can extract the exact lines in the scripts that create or write files and highlight anything that writes outside the current workspace or that could send data externally.
Capability Analysis
Type: OpenClaw Skill
Name: self-improving-agent-local
Version: 1.0.10
The skill instructs the AI agent to modify its own operational context files (e.g., `SOUL.md`, `AGENTS.md`, `TOOLS.md`, `CLAUDE.md`, `.github/copilot-instructions.md`) based on 'learnings' and 'recurring patterns' as detailed in `SKILL.md`. This self-modification capability, while intended for benign self-improvement, creates a significant prompt injection attack surface. If an attacker can influence the agent's 'learnings' (e.g., through crafted error messages or user prompts), they could potentially inject malicious instructions into these persistent context files, altering the agent's future behavior. Additionally, the `scripts/extract-skill.sh` allows the agent to create new skills, which could also be abused if the extracted 'learning' is malicious. There is no clear evidence of intentional harmful behavior like data exfiltration or backdoors in the provided code.
Capability Assessment
Purpose & Capability
Name/description match the artifacts: hooks inject reminders at bootstrap, activator and error-detector scripts prompt logging, and extract-skill.sh scaffolds new skills. The only declared env var (CLAUDE_TOOL_OUTPUT) is used by the error-detector script as expected. No unrelated credentials, binaries, or install actions are requested.
Instruction Scope
Runtime instructions stay within the stated goal (create .learnings/, append entries, optionally promote learnings, install an OpenClaw hook). One important caveat: the Error Entry template explicitly encourages including 'Full source of all included files' in ERROR.md and the SKILL.md describes promoting entries to shared workspace files; that is coherent for debugging but can capture and persist sensitive code/config or secrets if present. Users should avoid logging secrets and review what the agent will capture before promoting learnings to shared workspace files.
Install Mechanism
No automatic install spec; instruction-only with local scripts and optional manual git clone from GitHub. Scripts are included in the package (activator.sh, error-detector.sh, extract-skill.sh) and create or modify files under the local workspace. No remote downloads or archive extraction at install time.
Credentials
Only CLAUDE_TOOL_OUTPUT is declared and referenced. The scripts read that variable to detect errors; no other credentials or sensitive environment variables are requested. There are no unexplained secret or cloud credentials requested by the skill.
Persistence & Privilege
The skill is opt-in (always:false) and requires explicit hook enablement. Hooks and scripts run with the same user permissions as the agent; activator outputs text reminders only, but extract-skill.sh can write new skill files to the local workspace if you run it. This behavior is consistent with the purpose, but enabling hooks or installing at user/global scope will cause code to run automatically on events — review and test scripts before enabling globally.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install self-improving-agent-local - After installation, invoke the skill by name or use
/self-improving-agent-local - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.10
- Major update: Comprehensive rewrite of the documentation for the self-improving agent skill.
- Clearly describes all logging standards for learnings, errors, and feature requests, including detailed templates and metadata.
- Outlines the continuous improvement workflow, including how and when to promote key learnings to project memory files.
- Provides setup instructions for both OpenClaw and generic environments, including examples of workspace directory structure.
- Explains inter-session communication features within OpenClaw for distributing learnings.
- Adds explicit guidance for status management, entry resolution, and ID formatting conventions.
Metadata
Frequently Asked Questions
What is Self Improving Agent Local?
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 705 downloads so far.
How do I install Self Improving Agent Local?
Run "/install self-improving-agent-local" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Self Improving Agent Local free?
Yes, Self Improving Agent Local is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Self Improving Agent Local support?
Self Improving Agent Local is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Self Improving Agent Local?
It is built and maintained by healersss (@healersss); the current version is v1.0.10.
More Skills