← Back to Skills Marketplace
Self Improving Agent
by
chengyz3327-design
· GitHub ↗
· v3.0.7
· MIT-0
139
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install warren-self-improving-agent-v2
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 is coherent with its stated goal of logging and promoting learnings and appears safe to inspect and opt into, but take these precautions before enabling it globally: 1) Review the hook handler (hooks/openclaw/handler.{js,ts}) and the scripts (scripts/activator.sh, error-detector.sh, extract-skill.sh) so you understand what will run and when. 2) Note that enabling hooks writes or references files under your ~/.openclaw (or project) workspace and will inject reminder content into sessions — enable only if you use OpenClaw/Claude-style hooks. 3) The error detector reads CLAUDE_TOOL_OUTPUT (tool output); ensure you’re comfortable with hooks inspecting tool outputs in your environment. 4) If you enable scripts, prefer project-level (not global) configuration for testing; test with dry-run / minimal setup first. 5) The extract-skill.sh includes path checks preventing absolute/parent directory writes, but avoid running it with elevated privileges and verify generated files before promoting them. If you don’t use OpenClaw or hooks, you can still use the logging templates manually without installing hooks.
Capability Analysis
Type: OpenClaw Skill
Name: warren-self-improving-agent-v2
Version: 3.0.7
The 'self-improving-agent' skill bundle is designed to help AI agents log errors, user corrections, and best practices into a local `.learnings/` directory for continuous improvement. It includes utility scripts like `extract-skill.sh` for scaffolding new skills from logs and `error-detector.sh` for identifying command failures via environment variables. The OpenClaw hooks (`handler.js`, `handler.ts`) and markdown instructions (`SKILL.md`) are strictly aligned with the stated purpose of self-documentation and workflow optimization, showing no signs of data exfiltration, unauthorized persistence, or malicious prompt injection.
Capability Assessment
Purpose & Capability
The name/description describe logging learnings and promoting them into workspace files; the repository contains templates, logging formats, helper scripts, and an OpenClaw hook that injects reminders. Required binaries/env/credentials are none, which matches a local logging/promote workflow. The provided scripts and hook directly support the described functionality (activator, error detector, extract-skill), so the requested capabilities are proportionate to the stated purpose.
Instruction Scope
The SKILL.md instructs copying hooks into ~/.openclaw/hooks, creating ~/.openclaw/workspace/.learnings (or project-level .learnings/), and optionally enabling hooks that run on lifecycle events. The scripts read the CLAUDE_TOOL_OUTPUT environment variable (used by PostToolUse hooks) and output reminder blocks; extract-skill.sh creates new skill directories. These instructions stay within the scope of capturing and scaffolding learnings, but they do give the skill a way to inject content into every session (via workspace files and hook injection). Review the hook handler and scripts before enabling to ensure you’re comfortable with that session-level injection.
Install Mechanism
There is no network-based install spec; this is an instruction-first skill with bundled scripts and hooks. That is lower-risk than remote downloads. The included extract-skill.sh writes files but contains path checks that prevent absolute paths and parent-directory writes. The hook handler only inserts a virtual bootstrap file and does not perform network requests. Overall install mechanism is proportional and localized.
Credentials
The skill declares no required environment variables or credentials, which is appropriate. However, the error-detector script reads CLAUDE_TOOL_OUTPUT (an environment variable provided by the host agent runtime). This is expected for a PostToolUse hook but is an environment access worth noting: the hook can inspect tool output text. No secrets (API keys, AWS, tokens) are requested or required by the skill.
Persistence & Privilege
always:false (no forced/global inclusion). The skill instructs users to copy hooks and workspace files into their OpenClaw home (e.g., ~/.openclaw/), which, if enabled, gives it recurring presence and the ability to inject reminders into each session. This is expected for a self-improvement hook, but you should treat enabling hooks as granting ongoing influence over session context (opt-in rather than automatic).
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install warren-self-improving-agent-v2 - After installation, invoke the skill by name or use
/warren-self-improving-agent-v2 - Provide required inputs per the skill's parameter spec and get structured output
Version History
v3.0.7
- Major documentation overhaul for v3.0.7: detailed skill usage instructions, new logging standards, and project integration guidelines.
- Expanded "Quick Reference" with use-case-specific logging guidance.
- Added comprehensive setup instructions for OpenClaw and generic agent workflows.
- Standardized formats for logging learnings, errors, and feature requests in markdown.
- Included procedures for promoting important learnings to long-term project memory files.
- Clarified workspace structure and support for inter-session communication in OpenClaw.
Metadata
Frequently Asked Questions
What is Self Improving Agent?
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 139 downloads so far.
How do I install Self Improving Agent?
Run "/install warren-self-improving-agent-v2" 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 chengyz3327-design (@chengyz3327-design); the current version is v3.0.7.
More Skills