Token导航 LogoToken导航TokenDH.com
研究检索执行命令clawhub未标认证来源可访问clear审计通过

learn-reflect学习反思

Agent Skill

learn-reflect 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,357

周安装

178

GitHub Stars

公开资料未说明

下载量

1,396
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:learn-reflect(学习反思)
来源仓库:https://github.com/futurizerush/learn-reflect
安装命令:
openclaw skills install learn-reflect
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install learn-reflect

简介

当用户要求“记录我们学到的东西”、“保存教训”、“知识捕获”、“反思发生的事情”、“写下经验”时,应该使用此技能。

SKILL.md

name
Learn
description
|
version
0.2.0

Learn: Explore, Reflect, Anneal

Capture knowledge and experience from work sessions. Turn mistakes into system improvements through structured reflection and self-annealing.

When to Use

  • After completing a non-trivial task
  • After encountering and fixing an error
  • After discovering something unexpected
  • When the user says "record this" or "what did we learn"

The Learning Cycle

Every learning opportunity follows this cycle:

Explore → Attempt → Observe Result → Reflect → Record → Anneal

1. Explore: What Did We Try?

Record the actions taken, in order:

  • What was the goal?
  • What approach did we choose and why?
  • What alternatives did we consider?

2. Reflect: What Happened?

Analyze results honestly:

  • What worked? Why?
  • What failed? What was the root cause (not the symptom)?
  • What surprised us?
  • What assumption turned out to be wrong?

3. Record: Structured Knowledge Capture

Write each lesson in this format:

## [Topic]: [One-line summary]

**Context:** What we were doing when we learned this.
**What happened:** The specific event or error.
**Root cause:** Why it happened (not just what happened).
**Fix/Solution:** What we did to resolve it.
**Lesson:** The reusable knowledge (applicable beyond this specific case).
**Prevention:** What mechanism prevents this from happening again.

4. Anneal: Make the System Stronger

The most important step. A lesson that only lives in notes will be forgotten. Annealing means embedding the lesson into the system itself:

Error occurred
  → Fix the immediate problem
  → Update the tool/script that failed
  → Test the updated tool
  → Update the directive/documentation
  → System is now stronger against this class of error

Annealing targets (in order of durability):

TargetDurabilityExample
Code/ScriptHighestAdd validation, fix the bug, add error handling
Automated checkHighAdd to pre-push script, CI check, linter rule
Directive/PlaybookMediumUpdate the SOP with new step or warning
Memory/NotesLowestSave as memory for future conversations

Always aim for the highest durability target. A lesson embedded in code cannot be forgotten.

Do / Don't Checklist

Do

  • [ ] Record the root cause, not just the symptom
  • [ ] Distinguish fact (verified, reproducible) from inference (likely but unproven) from assumption (believed but untested)
  • [ ] Include the specific error message, file path, or command that triggered the learning
  • [ ] Write lessons as reusable knowledge (applicable beyond the specific case)
  • [ ] Embed prevention into tools/scripts when possible (annealing)
  • [ ] Record what DIDN'T work (negative knowledge is valuable)
  • [ ] Date the entry (knowledge has a shelf life)

Don't

  • [ ] Don't record obvious things everyone knows
  • [ ] Don't write vague lessons ("be more careful next time")
  • [ ] Don't skip the root cause analysis ("it just broke" is not a lesson)
  • [ ] Don't only record successes — failures teach more
  • [ ] Don't reference external files that won't be available later
  • [ ] Don't mix facts with assumptions without labeling them

The Reflection Process

When the user asks to reflect or record lessons, follow this exact process:

Step 1: Inventory List everything that happened in the session — actions, errors, fixes, discoveries.

Step 2: Classify For each event, ask: Is this a fact, inference, or assumption?

TypeDefinitionExample
FactVerified by output, test, or tool"API returns 404 when token is expired"
InferenceLikely based on evidence, but not directly tested"The rate limit is probably per-IP based on the error pattern"
AssumptionBelieved but not verified"This endpoint probably supports pagination"

Step 3: Extract Lessons For each non-trivial event, write the structured lesson (Context → What happened → Root cause → Fix → Lesson → Prevention).

Step 4: Anneal For each lesson, identify the highest-durability target and implement the prevention mechanism.

Step 5: Verify Read back the recorded lessons. Ask:

  • Is the root cause correct, or just a guess?
  • Is the lesson specific enough to be actionable?
  • Is the prevention mechanism actually implemented, or just written down?

Self-Annealing Examples

Weak annealing (just a note):

"Remember to check CI after pushing."

Strong annealing (embedded in tooling):

Added gh pr checks call to pre_push_check.py. Script now blocks if CI hasn't been checked. The lesson cannot be forgotten because the tool enforces it.

Weak annealing:

"Don't use \s in grep character classes."

Strong annealing:

Added shell script linter rule that flags \s inside [...]. Also added to the shell script checklist in the directive. Two layers of prevention.

Plan Log: Track Intent, Prevent Drift

Attention drift is real. You start with Plan A, get pulled into a side task, and forget what you originally set out to do. The Plan Log solves this.

How It Works

Every time a plan is created or a non-trivial task begins, save a timestamped snapshot:

PlanLog/
├── 202604111430_apify-skills-collection.md
├── 202604111600_clawhub-distribution.md
├── 202604111730_clawhub-deep-dive.md
└── 202604111800_learn-skill-update.md

Plan Log Entry Format

# Plan: [Title]
**Created:** YYYY-MM-DD HH:mm
**Status:** in-progress | completed | paused | abandoned
**Original goal:** [What we set out to do]

## Tasks
- [x] Completed task
- [ ] Pending task
- [ ] Task that got deferred

## Outcome
[What actually happened — filled in at the end]

## Drift Log
[If attention shifted, record when and why]
- HH:mm — Shifted to X because Y
- HH:mm — Returned to original plan / Decided to continue with X instead

When to Write a Plan Log Entry

  • When entering plan mode or starting a multi-step task
  • When the user says "let's do X" and X is non-trivial
  • When you notice attention has drifted from the original goal

When to Review the Plan Log

  • At the start of a new session (read recent entries for context)
  • When unsure what was supposed to happen next
  • When the user asks "what were we doing?" or "what's left?"
  • Before declaring a task complete (check: did we finish what we planned?)

Attention Drift Checklist

  • [ ] What was the original goal for this session?
  • [ ] Are we still working toward it, or did we get pulled into something else?
  • [ ] If we drifted, was it intentional (new priority) or accidental (got distracted)?
  • [ ] Are there unfinished tasks from the original plan?
  • [ ] Should we return to the original plan or update it?

Where to Save Knowledge

Knowledge typeWhere to save
Technical fact (reusable)Directive or knowledge base file
Project-specific contextMemory system or project notes
Tool bug or limitationComment in the tool's source code
Process improvementUpdate the relevant SOP/playbook
One-time contextDon't save — it's ephemeral

Tips

  • The best time to record is immediately after the event, while context is fresh.
  • If you can't articulate the root cause, you haven't learned the lesson yet.
  • A lesson without a prevention mechanism is a lesson that will repeat.
  • Negative knowledge ("X doesn't work because Y") is often more valuable than positive knowledge.
  • Date everything. Knowledge decays. APIs change. Tools update.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

87.97%
按下载量换算1,228

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install learn-reflect 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills