← Back to Skills Marketplace
Self-Improvement Agent
by
lucasye378
· GitHub ↗
· v1.0.0
· MIT-0
461
Downloads
0
Stars
3
Active Installs
1
Versions
Install in OpenClaw
/install self-improvement-agent
Description
Captures learnings, errors, and corrections for continuous improvement. Use when: (1) A command fails unexpectedly, (2) User corrects you ('No, that's wrong....
Usage Guidance
This skill appears coherent and implements a local 'log learnings' workflow. Key things to consider before installing or enabling hooks:
- No credentials are requested, and there are no remote downloads; the code is local and readable. Review the scripts (activator.sh, error-detector.sh, extract-skill.sh) and handler.js/handler.ts yourself before enabling.
- Enabling the provided hook(s) (project or user-level) will cause the scripts/handler to run automatically during agent bootstrap or after tool use; those scripts run with the same permissions as your agent and can read/write files in the workspace and skills directories. If you prefer limited scope, enable the hook only at the project level (not user/global) or keep PostToolUse hooks disabled.
- The skill suggests using inter-session APIs (sessions_history, sessions_send). If you enable those behaviors, sessions_history can expose other session transcripts — enable only if you are comfortable sharing session content between sessions.
- If you install, set script permissions intentionally (chmod +x) and prefer absolute paths in hook configs to avoid surprises. If you want minimal exposure, use the activator reminder only (no PostToolUse error detector) and avoid running extract-skill.sh unless you explicitly want to create new skill files.
Overall: coherent and reasonable for its stated purpose, but treat hook/script activation as an explicit opt-in action and review them before enabling globally.
Capability Analysis
Type: OpenClaw Skill
Name: self-improvement-agent
Version: 1.0.0
This skill bundle implements a structured 'Self-Improvement' framework for OpenClaw agents, allowing them to log errors, corrections, and feature requests to a `.learnings/` directory. It utilizes OpenClaw hooks (`handler.js/ts`) to inject reminders into the agent's context and provides utility scripts (`extract-skill.sh`) for scaffolding new skills from captured learnings. The code and instructions are transparent, lack any indicators of data exfiltration or unauthorized execution, and align entirely with the stated goal of improving agent performance through iterative feedback.
Capability Assessment
Purpose & Capability
Name/description (capture learnings, errors, promotions) match the included files: templates, logging formats, promotion rules, hook handlers, and helper scripts. The files and scripts relate to recording and promoting learnings and to optional local setup; nothing obvious is requested that is unrelated to logging and skill extraction.
Instruction Scope
SKILL.md and helpers instruct the agent to log to .learnings/*, promote recurring items to workspace files, and optionally use inter-session APIs (sessions_history, sessions_send, sessions_spawn) to share learnings across sessions. Those inter-session calls are consistent with cross-session knowledge sharing but are sensitive because they read other sessions' transcripts. Scripts reference the CLAUDE_TOOL_OUTPUT environment variable (used by the error detector) which is a platform-provided variable but isn't listed in requires.env — this is expected for hooks but worth noting.
Install Mechanism
No remote install or downloads. This is effectively an instruction-only skill with bundled local scripts and a hook handler. The scripts and handler are plain-text, no obfuscated code, and the extract-skill and activator scripts operate on local paths. There are no URLs, package registry installs, or archive extracts.
Credentials
The skill declares no required environment variables or credentials. However: (1) the error detector reads CLAUDE_TOOL_OUTPUT (a platform-provided variable) when run as a hook, and (2) scripts may write files under the skills or workspace directories when executed (e.g., extract-skill.sh). No secrets or unrelated service credentials are requested.
Persistence & Privilege
always:false (not force-included). The skill provides an OpenClaw hook and shell scripts that, if enabled in your project-level or user-level hook config, will run during agent bootstrap and on PostToolUse. Hook scripts run with the same permissions as your agent process, so enabling them (especially at user/global scope) grants regular execution in your sessions — this is expected for hooks but you should enable only where you trust the code.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install self-improvement-agent - After installation, invoke the skill by name or use
/self-improvement-agent - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Streamlined SKILL.md (231 lines, was ~800). Fixed clawdhub→clawhub command. Added trigger words to description. Split verbose multi-agent content into references/. Added skill-extraction and other-agents reference files. Added OpenClaw inter-session tool examples. Improved logging format with real examples.
Metadata
Frequently Asked Questions
What is Self-Improvement Agent?
Captures learnings, errors, and corrections for continuous improvement. Use when: (1) A command fails unexpectedly, (2) User corrects you ('No, that's wrong.... It is an AI Agent Skill for Claude Code / OpenClaw, with 461 downloads so far.
How do I install Self-Improvement Agent?
Run "/install self-improvement-agent" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Self-Improvement Agent free?
Yes, Self-Improvement Agent is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Self-Improvement Agent support?
Self-Improvement Agent is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Self-Improvement Agent?
It is built and maintained by lucasye378 (@lucasye378); the current version is v1.0.0.
More Skills