返回顶部
s

self-reflection

Continuous self-improvement through structured reflection and memory

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.1.1
安全检测
已通过
14,676
下载量
40
收藏
概述
安装方式
版本历史

self-reflection

# 🪞 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 ```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

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 self-reflection-1776377341 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 self-reflection-1776377341 技能

通过命令行安装

skillhub install self-reflection-1776377341

下载 Zip 包

⬇ 下载 self-reflection v1.1.1

文件大小: 4.72 KB | 发布时间: 2026-4-17 14:46

v1.1.1 最新 2026-4-17 14:46
Initial ClawHub release: Continuous self-improvement through structured reflection

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部