TopRank Skills

Home / Claw Skills / 数据解析 / openclaw-reflect
Official OpenClaw rules 36%

openclaw-reflect

Self-improvement layer with evaluation separation, rollback, and tiered operator gates. Observes outcomes across sessions, detects recurring patterns, proposes improvements, validates proposals through a separate evaluator invocation, and applies changes safely with snapshot/rollback capability.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 openclaw-reflect 技能。 若已安装,则直接安装 openclaw-reflect 技能。

Overview

Skill Key
atlaspa/openclaw-reflect
Author
AtlasPA
Source Repo
openclaw/skills
Version
1.0.2
Source Path
skills/atlaspa/openclaw-reflect
Latest Commit SHA
f0efefc8f22685b475c966a69cd5840615e56093

Extracted Content

SKILL.md excerpt

# openclaw-reflect

You have access to a self-improvement system. It observes your tool outcomes across
sessions, detects recurring failure patterns, and proposes targeted changes to your
persistent memory and instructions.

## Your responsibilities

### During work
The PostToolUse hook records outcomes automatically. You do not need to do anything
unless you notice a significant failure that has no clear cause — in that case, write
a manual observation:

```
node .reflect/scripts/observe.js --manual \
  --type error \
  --tool "ToolName" \
  --pattern "brief description of what went wrong" \
  --context "what you were trying to do"
```

### When prompted (UserPromptSubmit will inject this)
If `.reflect/pending.json` contains proposals awaiting operator approval, surface them:
"I have improvement proposals ready for your review. Run `node .reflect/scripts/status.js`
to see them, or ask me to show you."

### At session end (automatic)
The SessionEnd hook runs classification and promotion automatically. It will:
1. Detect patterns with recurrence >= 3 across >= 2 sessions
2. Generate a structured proposal
3. Route to evaluator for validation
4. Apply low-blast-radius approvals to MEMORY.md automatically
5. Queue high-blast-radius or SOUL.md changes for operator approval

You will see a summary in the session-end output.

## Blast radius tiers

| Tier | Targets | Gate |
|------|---------|------|
| 0 — Observation | `.reflect/outcomes.jsonl` | Automatic (hooks) |
| 1 — MEMORY.md | Factual corrections, preference updates | Auto-apply if confidence >= 0.7 |
| 2 — CLAUDE.md / project instructions | Behavioral pattern changes | Auto-apply if confidence >= 0.85 |
| 3 — SOUL.md | Core values, identity, constraints | Operator approval always required |

## The evaluator gate

Before any Tier 1+ change is applied, a separate evaluator invocation checks:
- Does this contradict existing principles or memory?
- Is the pattern truly...

README excerpt

# openclaw-reflect

**Self-improvement that doesn't trust itself.**

Most self-improvement skills let the same reasoning process that made a mistake also declare the fix valid. This skill breaks that loop by routing every proposal through a separate evaluator invocation with an adversarial mandate before anything is applied.

## What it actually does

```
PostToolUse hook → records outcomes to .reflect/outcomes.jsonl
SessionEnd hook  → classify → propose → evaluate → apply/queue
UserPromptSubmit → surfaces pending proposals if any exist
```

### The pipeline

1. **Observe** — Every tool call outcome is logged automatically. Errors are annotated with normalized error patterns.
2. **Classify** — At session end, patterns are extracted from the outcome log. Threshold: ≥3 occurrences across ≥2 distinct sessions.
3. **Propose** — Qualifying patterns generate structured proposals with a blast-radius tier (1=MEMORY.md, 2=CLAUDE.md, 3=SOUL.md) and a preliminary confidence score.
4. **Evaluate** — Each proposal is sent to a separate Claude invocation running an adversarial evaluator persona. The evaluator is instructed to find reasons to reject, not approve. A proposal that passes is more trustworthy than one the original reasoning process declared valid.
5. **Apply** — Approved proposals above the confidence threshold are auto-applied with a file snapshot first. Below threshold or Tier 3 (SOUL.md) changes are queued for operator review.
6. **Track** — After N sessions, if the same pattern recurs post-fix, the change is marked ineffective and can be rolled back.

## Blast radius tiers

| Tier | Target | Auto-apply threshold |
|------|--------|---------------------|
| 1 | `MEMORY.md` | confidence ≥ 0.70 |
| 2 | `CLAUDE.md` | confidence ≥ 0.85 |
| 3 | `SOUL.md` | Never — operator approval always required |

## What makes this different

| Capability | evolver | self-improving-agent | openclaw-reflect |
|------------|---------|------------------...

Related Claw Skills

openstockdata

stock-data-skill

★ 4

OpenClaw Skill for stock data analysis

capt-marbles

geo-optimization

★ 1

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.

capt-marbles

phantombuster

★ 0

Control PhantomBuster automation agents via API. List agents, launch automations, get output/results, check status, and abort running agents. Use when the user needs to run LinkedIn scraping, Twitter automation, lead generation phantoms, or any PhantomBuster workflow.

caspian9

feishu-file-manager

★ 0

飞书云盘文件管理技能。用于读取、下载和管理飞书云盘中的文件。 当用户需要:访问飞书文件、下载文档、读取PDF/Word/PPT文件、分析飞书云盘内容时使用。 核心方法:使用 tenant_access_token 调用 Drive API 下载文件,解析内容返回给用户。

camopel

ddgs-search

★ 0

Free multi-engine web search via ddgs CLI (DuckDuckGo, Google, Bing, Brave, Yandex, Yahoo, Wikipedia) + arXiv API search. No API keys required. Use when user needs web search, research paper discovery, or when other skills need a search backend. Drop-in replacement for web-search-plus.

camopel

finviz-crawler

★ 0

Continuous financial news crawler for finviz.com with SQLite storage, article extraction, and query tool. Use when monitoring financial markets, building news digests, or needing a local financial news database. Runs as a background daemon or systemd service.