Skip to content

Structured reflection skill that logs mistakes and lessons on a heartbeat-triggered timer for OpenClaw agents.

CCM score
44 of 100
skills.sh installs
162
GitHub stars
676
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers a heartbeat-driven reflection loop: a timed check, then reading past lessons and logging new insights
  • Provides the commands check, log, read, stats, and reset, with check --quiet for silent runs
  • Stores entries in a memory file, with a state file tracking the timer and max_entries_context capping how many lessons load
  • Designed for OpenClaw agents that enable a 60-minute heartbeat and a HEARTBEAT.md self-reflection step

Install

$ npx -y skills add sundial-org/awesome-openclaw-skills --skill self-reflection -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

🪞 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

Details

Repository
github.com/sundial-org/awesome-openclaw-skills
Categories
Memory & Context, Agent Workflow & Planning
First seen
Jun 3, 2026

Questions

What does the self-reflection skill do?

The self-reflection skill tracks mistakes, lessons learned, and improvements over time through regular heartbeat-triggered reflections. The agent runs self-reflection check at each heartbeat and, when an alert is due, reads past lessons and logs new insights.

How do I install the self-reflection skill?

Run npx -y skills add sundial-org/awesome-openclaw-skills --skill self-reflection -y in your project. Once installed, the agent can log, read and review its reflections with commands such as self-reflection log and self-reflection stats.

What does the self-reflection skill need to run?

It requires the jq and date command-line tools, and it works with an OpenClaw heartbeat set in openclaw.json. You also add a Self-Reflection Check entry to your workspace HEARTBEAT.md, and optionally create ~/.openclaw/self-reflection.json to set the threshold and file paths.

Where does self-reflection stand in the Memory & Context category?

Self-reflection is listed in the Memory & Context category on Claude Marketplaces, alongside handoff and several caveman skills. It sets itself apart by running reflection on a timed heartbeat and storing lessons in a memory file the agent reads back.

More from sundial-org/awesome-openclaw-skills

All 37

Similar to Self Reflection

More Memory & Context