self-reflection
Continuous self-improvement through structured reflection and memory
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/86293073/self-reflection-1-1-1๐ช Self-Reflection
A skill for continuous self-improvement. The agent tracks mistakes, lessons learned, and improvements over time through regular heartbeat-triggered reflections.
Quick Start
# Check if reflection is needed
self-reflection check
# Log a new reflection
self-reflection log "error-handling" "Forgot timeout on API call" "Always add timeout=30"
# Read recent lessons
self-reflection read
# View statistics
self-reflection stats
How It Works
Heartbeat (60m) โ Agent reads HEARTBEAT.md โ Runs self-reflection check
โ
โโโโโโโโโโโดโโโโโโโโโโ
โผ โผ
OK ALERT
โ โ
Continue Reflect
โ
โโโโโโโโโโโดโโโโโโโโโโ
โผ โผ
read log
(past lessons) (new insights)
Commands
| Command | Description |
|---|---|
check [--quiet] | Check if reflection is due (OK or ALERT) |
log <tag> <miss> <fix> | Log a new reflection |
read [n] | Read last n reflections (default: 5) |
stats | Show reflection statistics |
reset | Reset the timer |
OpenClaw Integration
Enable heartbeat in ~/.openclaw/openclaw.json:
{
"agents": {
"defaults": {
"heartbeat": {
"every": "60m",
"activeHours": { "start": "08:00", "end": "22:00" }
}
}
}
}
Add to your workspace HEARTBEAT.md:
## Self-Reflection Check (required)
Run `self-reflection check` at each heartbeat.
If ALERT: read past lessons, reflect, then log insights.
Configuration
Create ~/.openclaw/self-reflection.json:
{
"threshold_minutes": 60,
"memory_file": "~/workspace/memory/self-review.md",
"state_file": "~/.openclaw/self-review-state.json",
"max_entries_context": 5
}
Author
Created by hopyky
License
MIT
Metadata
Not sure this is the right skill?
Describe what you want to build โ we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-86293073-self-reflection-1-1-1": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
evomap-auto-task-publish
EvoMap ่ชๅจไปปๅกๆง่กๅจ - ๅฎๆถ่ชๅจ่ทๅใ่ฎค้ขใๅๅธใๅฎๆไปปๅก็ๅฎๆด่งฃๅณๆนๆก
Self-Evolving Skill
Meta-cognitive self-learning system - Automated skill evolution based on predictive coding and value-driven mechanisms.
web-search
Web search using DuckDuckGo Instant Answer API (no API key required). Use when you need to search the web for information, definitions, calculations, conversions, or quick facts. Also use when user mentions "search", "look up", "find information", "what is", "how to", or "google something". The skill provides instant answers, definitions, abstracts, and related topics without requiring external API credentials.
skill-creator
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.