Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Manages user preferences, records errors, enforces prohibited words, and ensures safe operations with immediate stop on risky commands.
Manages user preferences, records errors, enforces prohibited words, and ensures safe operations with immediate stop on risky commands.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
OpenClaw Skill - 错误学习与长期记忆系统
用户表达偏好: "我喜欢..." / "不要..." / "记住..." 操作失败时 执行高风险操作时 用户输入包含禁止词 用户输入包含紧急停止词
/lessons_learned learn <错误描述> # 记录错误 /lessons_learned check <操作> # 检查操作 /lessons_learned memory <内容> # 持久化信息
当检测到以下词汇时,立即停止,不执行任何操作: 删除 / 清空 / 格式化 / rm -rf 发送邮件 / 发消息 / 提交代码 执行命令 / sudo / chmod 777 反应: 立即停止操作 输出:"这个操作有风险,请确认是否执行" 等待用户确认
当用户输入包含以下词汇时,立即停止所有操作: 停止 / stop / halt 取消 / cancel / abort 住手 / hold on / wait
根据用户习惯自动执行: 用户说中文 → 用中文回复 用户说英文 → 用英文回复 用户给文件路径 → 先读取内容 用户给URL → 先获取内容
当操作失败时: 记录到 memory/lessons/MISTAKES.md 分析失败原因 生成避免规则 写入 memory/lessons/LESSONS_LEARNED.md
当用户表达偏好时: 立即写入 MEMORY.md 在 memory/lessons/HABITS.md 记录习惯 更新 memory/lessons/PROHIBITED.md 如需要
❌ 重复已知的失败操作 ❌ 忽略已记录的用户偏好 ❌ 跳过禁止词检查 ❌ 忽略紧急停止词
✅ 禁止词 → 立即停止 ✅ 紧急停止词 → 立即停止 ✅ 偏好 → MEMORY.md ✅ 失败 → MISTAKES.md ✅ 习惯 → HABITS.md ✅ 风险操作 → 确认
文件用途memory/lessons/MISTAKES.md错误记录memory/lessons/LESSONS_LEARNED.md强制规范memory/lessons/PROHIBITED.md禁止词列表memory/lessons/HABITS.md用户习惯memory/lessons/SYSTEM_PROMPT.md注入模板MEMORY.md长期记忆
级别定义处理P0致命立即停止P1严重记录并恢复P2一般记录并继续P3轻微记录即可
用户: "帮我删除这个目录" Agent: "这个操作有风险,请确认是否执行"
用户: "停止当前操作" Agent: (立即停止所有操作)
/lessons_learned learn "删除文件时未检查权限"
用户: "我喜欢用中文回复" → 自动写入 MEMORY.md → 自动写入 HABITS.md 版本: 2.0.0 | 更新: 2026-02-26
Identity, auth, scanning, governance, audit, and operational guardrails.
Largest current source with strong distribution and engagement signals.