Enable continuous self-improvement for AI agents through structured reflection, mistake tracking, and memory management.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install 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 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 specialized tool designed to facilitate long-term growth and error correction for AI agents. By utilizing a structured feedback loop, this skill allows agents to maintain a memory of past mistakes and the corresponding fixes. This ensures that the agent evolves over time, becoming more efficient and reliable as it integrates into various Openclaw Skills workflows.
This skill is particularly valuable for complex, long-running projects where maintaining a record of 'lessons learned' prevents the repetition of previous errors. It leverages the heartbeat mechanism to ensure that reflection isn't just an afterthought but a core part of the agent's operational lifecycle.
To install and configure the Self-Reflection skill, ensure you have the required dependencies (jq and date) installed on your system.
# Verify the installation by checking if reflection is due
self-reflection check
# Log an initial reflection to test the system
self-reflection log "setup" "manual-config" "automated-heartbeat-check"
Integrate the skill by adding the heartbeat configuration to your ~/.openclaw/openclaw.json and updating your workspace HEARTBEAT.md with the requirement to run self-reflection check.
The skill manages data across two primary files: a human-readable Markdown log and a JSON state file.
| File Type | Path | Purpose |
|---|---|---|
| Memory File | ~/workspace/memory/self-review.md | Stores the history of tags, mistakes, and fixes. |
| State File | ~/.openclaw/self-review-state.json | Tracks the last reflection timestamp and configuration limits. |
| Context | N/A | Limits the number of past entries fed into the agent's active memory (default: 5). |
Loading
A comprehensive backup, update, and restore utility designed to protect Clawdbot configurations, workspaces, and Openclaw Skills.

A high-performance REST API service for managing persistent long-term memory and knowledge retrieval for AI agents.

A Python-powered weather skill providing 7-day forecasts and life comfort indices for Chinese cities without requiring an API key.

A developer-friendly tool for creating webhook bins and local tunnels to test, inspect, and replay HTTP requests programmatically.

An AI-powered skill to automate high-quality text-to-speech voice message delivery on WhatsApp in over 40 languages.

A comprehensive command-line interface for managing Wiki.js instances through the GraphQL API.








































