openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > Self Reflection 1.1.1

Continuous self-improvement through structured reflection and memory

开发与 DevOps

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.0

统计:⭐ 0 · 200 · 5 current installs · 5 all-time installs

0

安装量(当前) 5

🛡 VirusTotal :良性 · OpenClaw :可疑

Package:86293073/self-reflection-1-1-1

安全扫描(ClawHub)

  • VirusTotal :良性
  • OpenClaw :可疑

OpenClaw 评估

The skill's stated purpose and requested access are reasonable, but there are coherence issues (no implementation provided for the CLI it documents and a metadata mismatch) that merit review before installing or enabling automated use.

目的

The skill claims a simple reflection/notes function and only requires small tooling (jq, date). Those requirements are proportionate. However, the SKILL.md and README repeatedly reference a CLI binary (bin/self-reflection) and provide installation steps (git clone, ln -s) even though the registry package contains no code files or install spec — the skill as published is instruction-only but documents a CLI that is not present in the bundle.

说明范围

Runtime instructions are limited to checking/reading/writing local state and a workspace markdown memory file and to integrating with OpenClaw heartbeat. There are no instructions to transmit data externally or to access unrelated system credentials. The only data reads/writes are config/state/memory files under the user's home or workspace, which is consistent with the stated purpose.

安装机制

No install spec is included in the registry (lowest risk), but the README instructs users to git clone a GitHub repo and symlink a binary. If a user follows those manual install steps they will execute code fetched from an external repository. The registry package itself does not provide that code; the manual-install instructions point to a public GitHub URL (author: hopyky).

证书

The skill requests no environment variables or external credentials. The file paths it asks to read/write (~/workspace/memory/self-review.md and ~/.openclaw/*) are proportionate to a local memory/state feature.

持久

always is false and the skill does not demand permanent/global privileges. It asks the operator to add a heartbeat entry to the OpenClaw config to enable periodic invocation; that is a user-controlled configuration change rather than an automatic escalation. No other skills or system-wide settings are modified by the instructions as published.

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Self Reflection 1.1.1」。简介:Continuous self-improvement through structured reflection and memory。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/86293073/self-reflection-1-1-1/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
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.

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