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
- ava-silver/skillstheir own version, first seen Aug 24, 2026
- Hassaan146/claude-skillstheir own version, first seen Jul 25, 2026
- mahiunfiltered/claude-code-skillstheir own version, first seen Jul 8, 2026
- Hussain-Elfalah/Agentic-Skillstheir own version, first seen Jun 4, 2026
- csiddhant796-blip/claude-skills-collectiontheir own version, first seen May 10, 2026
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-blipSkillkarpathy-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-ElfalahSkillai-act-readiness
Also in 3 projects that use this
Hussain-ElfalahSkillandreessen
Also in 3 projects that use this
- +9 more from Hussain-Elfalah
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- Hassaan146/claude-skills★ 18same name
- csiddhant796-blip/claude-skills-collection★ 2same name
- Hussain-Elfalah/Agentic-Skills★ 2same name
- mahiunfiltered/claude-code-skills★ 1same name
- ava-silver/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- SKILL.mdSkill
- behavior-analyzerSkill
- cache-monitorSkill
- compact-guardianSkill
- evolveSkill
- fusion-engineSkill
- knowledge-federationSkill
- memory-compactionSkill
- rule-optimizerSkill
- safe-execSkill
- smart-compactSkill
- yolo-permissionsSkill
The file
Files
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
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
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.

