agentleFS
ybbms777ybbms777/openclaw-claude-code-integration/skills/self-eval/SKILL.md

self-eval

Skill4 starsChanged 7 months agoMITView on GitHub

自我评估钩子。每次 session 结束时自动检查三种异常情况(用户纠正/工具重试失败/上报规则触发),有任一情况则写入 reflection 记忆到 LanceDB。无异常则静默退出。

5 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use karpathy-coder, ai-act-readiness and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • csiddhant796-blipSkill

    karpathy-coder

    Use when writing, reviewing, or committing code to enforce Karpathy's 4 coding principles — surface assumptions before coding, keep it simple, make surgical changes, define verifiable goals. Triggers on "review my diff", "check complexity", "am I overcomplicating this", "karpathy check", "before I commit", or any code quality concern where the LLM might be overcoding.

    Also in 4 projects that use this

  • Hussain-ElfalahSkill

    ai-act-readiness

    Also in 3 projects that use this

  • Hussain-ElfalahSkill

    andreessen

    Also in 3 projects that use this

  • +9 more from Hussain-Elfalah

The file

Files
SKILL.md

Self-Eval — 自我评估钩子

功能

每次 session 结束时自动运行,检查三种异常情况:

检测类型关键词/模式
用户纠正不对、重来、不是这个意思、错了、我想要的是...
工具重试失败重试2次仍失败、工具调用失败、失败后停止
上报规则触发需要我确认、先告诉我、暂停等待

触发条件

有任一情况 → memory_store 写入 reflection 记忆:

  • category: reflection
  • importance: 0.9
  • 格式:自我评估:[场景]。正确做法:[应该怎么做]。触发原因:[类型]

无任何异常 → 静默退出,不输出任何内容。

核心文件

文件作用
scripts/self_eval.py主脚本(检测 + 写入 LanceDB)

注册方式

通过 OpenClaw session_end 钩子自动触发。

依赖

  • LanceDB(memory-lancedb-pro 已安装)
  • 读取 ~/.openclaw/agents/main/sessions/*.jsonl

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.