This skill enables arbitrary command execution via hook scripts and
Claims to do
Self-Improvement Skill: Log learnings and errors to markdown files for continuous improvement. Coding agents can later process these into fixes, and important learnings get promoted to project memory.
Actually does
This skill initializes a `.learnings/` directory and creates markdown files (`LEARNINGS.md`, `ERRORS.md`, `FEATURE_REQUESTS.md`) for structured logging. It provides commands to install itself via `git clone` or `clawdhub`, and defines formats for logging various types of information. It also outlines mechanisms for promoting key learnings to project-level documentation files like `CLAUDE.md`, `AGENTS.md`, `SOUL.md`, `TOOLS.md`, or `.github/copilot-instructions.md`, and includes scripts for hook integration and skill extraction.
openclaw skills install pskoett/self-improving-agentThe skill explicitly defines and encourages the use of hook scripts (`activator.sh`, `error-detector.sh`) that are executed by the agent, providing a direct vector for arbitrary command execution.
`command": "./skills/self-improvement/scripts/activator.sh"`
The skill provides and instructs the use of `extract-skill.sh` to create new skills, which is a direct command execution vector that could lead to the creation of malicious sub-agents or tools.
`./skills/self-improvement/scripts/extract-skill.sh skill-name`
The skill mentions `sessions_send` and `sessions_history` tools for inter-session communication, which could be abused to exfiltrate sensitive data to other sessions or gather information from them.
`sessions_list`, `sessions_history`, `sessions_send`, `sessions_spawn`
The installation instructions involve cloning a Git repository from an external source, introducing a supply chain risk if the upstream repository is compromised with malicious code.
`git clone https://github.com/peterskoett/self-improving-agent.git`
The skill instructs copying scripts to a hooks directory and enabling them, providing a mechanism for persistence that allows scripts to run automatically at specific agent lifecycle events.
`cp -r hooks/openclaw ~/.openclaw/hooks/self-improvement`
Despite explicit warnings against logging secrets, the `ERRORS.md` format includes fields for `Error` and `Context` that could inadvertently capture sensitive command output or environment details if redaction fails.
`Do not log secrets, tokens, private keys...`, `Actual error message or output`, `Summary or redacted excerpt of relevant output`
[](https://mondoo.com/ai-agent-security/skills/clawhub/pskoett/self-improving-agent)<a href="https://mondoo.com/ai-agent-security/skills/clawhub/pskoett/self-improving-agent"><img src="https://mondoo.com/ai-agent-security/api/badge/clawhub/pskoett/self-improving-agent.svg" alt="Mondoo Skill Check" /></a>https://mondoo.com/ai-agent-security/api/badge/clawhub/pskoett/self-improving-agent.svgSkills can read files, run commands, and access credentials. Mondoo helps organizations manage the security risks of AI agent skills across their entire fleet.