hopyky

Self Reflection

AI Agentv1.1.1
By hopykyUpdated 2026-05-11self-reflection@clawhub_hopyky/self-reflection
Memory#Self Improvement

According to AlphaMoat, as of 2026-10, Self Reflection has 59,823 downloads and 55 stars — ranked by downloads #402 among 10,914 AI skills in this ranking, and #90 of 1,632 in AI Agent.

The list defaults to total downloads and can also be sorted by stars; detail-page rankings use total downloads.

Downloads
59.8K
Stars
55
Overall download rank
#402
Top 4% overall · Top 6% in AI Agent
PlatformDownloadsStarsComments
ClawHub ↗18.8K45-
SkillHub ↗59.8K55—

Platforms count differently and update at different times.

What this skill does

With OpenClaw heartbeats enabled, add the check to the workspace HEARTBEAT.md; when self-reflection check returns ALERT, read the past entries first, think it through, then log a new lesson. Each entry carries a tag, the mistake, and the fix; stats summarizes progress and reset restarts the timer. The threshold, memory file, state file, and entry limit live in ~/.openclaw/self-reflection.json.

Profile published 2026-10-27

What you can do with it

  • Review on a schedule why the same mistake keeps returning
  • Turn a fix into an entry that can be followed next time

When to use it

  • The agent should set its own reflection cadence
  • An issue needs long-running follow-up on whether it improved

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Run a reflection and see which recent mistakes are worth recording.
Log this lesson with a tag and spell out how to act differently.

Monthly Trend

Downloads59.8K
19.1K41.0K62.8K2026-03 · Downloads 22.1K2026-05 · Downloads 29.2K2026-06 · Downloads 31.1K2026-07 · Downloads 32.8K2026-08 · Downloads 34.0K2026-09 · Downloads 38.3K2026-10 · Downloads 59.8K26-0326-0926-10
Stars55
3948562026-03 · Stars 402026-05 · Stars 462026-06 · Stars 502026-07 · Stars 542026-08 · Stars 542026-09 · Stars 552026-10 · Stars 5526-0326-0926-10

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change. Other skills share this name; figures from before the change are attributed to this one, which currently has the most downloads.

MonthDownloadsMoMStars
2026-1059.8K—55
2026-0938.3K—55
2026-0834.0K+3.8%54
2026-0732.8K+5.5%54
2026-0631.1K+6.3%50
2026-0529.2K—46
2026-0322.1K—40

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

2.6 KB · ClawHub v1.1.1
---
name: self-reflection
description: Continuous self-improvement through structured reflection and memory
version: 1.1.1
metadata: {"openclaw":{"emoji":"🪞","requires":{"bins":["jq","date"]}}}
---

# 🪞 Self-Reflection

A skill for continuous self-improvement. The agent tracks mistakes, lessons learned, and improvements over time through regular heartbeat-triggered reflections.
Show all (100 lines)

## Quick Start

```bash
# 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`:

```json
{
  "agents": {
    "defaults": {
      "heartbeat": {
        "every": "60m",
        "activeHours": { "start": "08:00", "end": "22:00" }
      }
    }
  }
}
```

Add to your workspace `HEARTBEAT.md`:

```markdown
## 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`:

```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](https://github.com/hopyky)

## License

MIT

Popular in AI Agent

self-improving agentAI Agent

Records learnings, errors and corrections as Markdown files for later reuse and promotion into workspace memory.

↓ 1.6M★ 4.5Kpskoett
技能发现·Find SkillsAI Agent

Finds skills in local and remote catalogs from a plain-language request and recommends what to install.

↓ 1.6M★ 1.8K桂皮
Agent BrowserAI Agent

A browser-automation command line skill for AI agents.

↓ 1.2M★ 1.0KNicolas Kleiber
Self-Improving + Proactive AgentAI Agent

Turns corrections and self-review into tiered memory and promotes or archives it by use.

↓ 696.4K★ 1.6KIván
Proactive AgentAI Agent

A workspace setup guide for planning proactive follow-up, working memory and review routines for an AI agent.

↓ 579.3K★ 916halthelobster
Skill CreatorAI Agent

A guide to creating and updating effective Claude skills.

↓ 477.3K★ 485chindden
Skill VetterAI Agent

Reviews a third-party skill's source, permissions, and danger patterns against a checklist before it is installed.

↓ 445.2K★ 1.3Kspclaudehome
唐朝诗仙李白 · Ai Agent SkillAI Agent

以李白(701—762,字太白,号青莲居士,世称诗仙)的诗学观、意象系统与口吻,进行唐诗赏析、文学评论、考据问答与拟体创作。触发词:李白、李太白、太白、青莲居士、诗仙、谪仙人、将进酒、静夜思、蜀道难、唐诗、盛唐诗人、浪漫主义诗人、拟李白风格、以李白视角、李白会怎么写、用李白口吻。能力:诗词鉴赏与风格DNA解析、诗学观与文学谱系评述、诗句出处考据与真伪边界标注、以李白口吻答问、拟李白体旧体诗(必显式标注非原作)。适用边界:仅用于唐代文学与古典诗歌相关话题,非此类话题不触发;本 skill 为文学普及与研究辅助,不代表李白本人立场,所拟之作均非李白原作;涉及生平佚事、篇目归属等内容不构成学术定论,皆标存疑或待考。

↓ 435.8K★ 4user_ff4d9420

More from hopyky

Data as of 2026-10. Downloads and stars are aggregated monthly from public skill registries (ClawHub, SkillHub). See data methodology.