A recursive optimization skill that enables AI agents to analyze their own performance and update their knowledge base automatically.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install agent-self-reflection
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install agent-self-reflection using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Self-Reflection skill is a cornerstone of the Openclaw Skills ecosystem, designed to create a continuous improvement loop for autonomous agents. It functions by periodically reviewing recent interaction transcripts to identify what went well, what failed, and how to improve future performance. Instead of leaving lessons in ephemeral logs, this skill synthesizes actionable insights and writes them directly into the agent's long-term memory and configuration files.
By systematically updating documents like AGENTS.md and TOOLS.md, the agent evolves its own internal logic and tool-handling capabilities. This ensures that the agent learns from its mistakes, remembers user preferences, and refines its technical workflows without manual developer intervention, making it a vital utility for any self-hosted agent architecture.
To deploy this skill within your environment, ensure you have the openclaw CLI installed and the following structure ready:
# Ensure the memory directory exists
mkdir -p memory/
# Schedule the skill to run hourly via cron
echo "0 * * * * openclaw run self-reflection" >> my_crontab
Verify that the agent has write permissions for AGENTS.md, TOOLS.md, and the memory directory to allow for successful insight routing.
The skill organizes extracted knowledge across several key files to maintain a clean taxonomy of information:
| File Path | Description | Insight Type |
|---|---|---|
AGENTS.md |
Core agent instructions | Process improvements, safety rules, and high-level workflows. |
TOOLS.md |
Tool configuration and tips | Environment paths, parameter requirements, and execution gotchas. |
memory/YYYY-MM-DD.md |
Daily journal | Chronological log of sessions, events, and temporary project context. |
memory/about-user.md |
User profile | Long-term preferences, communication styles, and personal interests. |
skills/<name>/SKILL.md |
Skill documentation | Direct improvements to the logic or parameters of specific skills. |
Loading
An automated gaming skill that allows AI agents to compete in 1v1 high-stakes matches for USDC rewards.

A comprehensive health integration that fetches, interprets, and charts WHOOP biometric data to optimize recovery and track fitness experiments.

A comprehensive tool for connecting brokerage accounts through SnapTrade to monitor balances and execute stock trades automatically.

Bridges the gap between transient chat logs and long-term memory by summarizing sessions and enabling keyword-based history search.

Automate the entire Amazon shopping lifecycle, from reordering essentials to processing returns, using browser-based AI agents.

A browser automation skill for purchasing, reordering, and processing returns on Amazon using an AI agent.








































