memory-lesson-manager

结构化学习记录与技能提取工具(V2.0)。用于记录错误/纠正/决策/项目/人员,支持 HOT/WARM/COLD 三层自动分层、状态恢复、技能提取。触发词:记录学习、提取技能、创建学习条目、晋升学习、归档条目。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "memory-lesson-manager" with this command: npx skills add tank2737/memory-lesson-manager

Memory Lesson Manager

结构化学习记录与技能提取系统。

快速参考

场景操作
命令/操作失败记录到 memory/lessons/WARM/errors/ERR-*.md
用户纠正错误记录到 memory/lessons/WARM/corrections/LRN-*.md
发现更好方法记录到 memory/lessons/WARM/best-practices/LRN-*.md
技术选型决策记录到 memory/lessons/WARM/decisions/DEC-*.md
项目启动/复盘记录到 memory/lessons/WARM/projects/PRJ-*.md
重复问题≥3 次使用 extract-skill.sh 提取为技能
7 天内使用≥3 次使用 promote-lesson.sh 晋升到 HOT
90 天未使用使用 archive-cold.sh 归档到 COLD

目录结构

workspace/
├── memory/
│   ├── YYYY-MM-DD.md              # 每日日记
│   ├── lessons/                   # 学习条目(三层结构)
│   │   ├── HOT/                   # 高频使用(≤20 条)
│   │   ├── WARM/                  # 按需加载(默认)
│   │   └── COLD/archive/          # 90 天未用
│   └── templates/                 # 模板文件(9 个)
├── state/                          # 状态文件(2 个)
│   ├── session-state.md
│   └── working-buffer.md
└── skills/memory-lesson-manager/
    ├── SKILL.md                   # 技能主文件
    ├── scripts/                   # 5 个工具脚本
    └── references/                # 详细文档

工具脚本

脚本用途
init-memory-system.sh初始化记忆系统
validate-diary.sh日记质量检查
search-lessons.sh语义搜索(新增)
link-diary-lessons.sh自动关联日记(新增)
extract-skill.sh技能提取
promote-lesson.sh晋升到 HOT(引用次数≥2)
archive-cold.sh归档到 COLD(遗忘曲线)

详细文档:

ID 命名

格式: TYPE-YYYYMMDD-XXXX(日期 +4 位随机哈希)

示例:

  • ERR-20260406-a3f7 — 错误
  • LRN-20260406-b2c1 — 学习/纠正
  • DEC-20260406-d4e8 — 决策
  • PRJ-20260406-f5a9 — 项目
  • PPL-20260406-c6b2 — 人员

优势:

  • ✅ 并发安全,无需查重
  • ✅ 更短,易读
  • ✅ 仍可按日期排序

状态流转

显式状态(2 种):

  • active — 活跃中(默认)
  • archived — 已归档

隐式状态(看文件位置):

  • HOT/ — 高频使用
  • WARM/ — 正常使用
  • COLD/ — 低频使用

⚠️ 迁移提示

首次使用:

  1. 备份:cp -r memory memory-backup-日期
  2. 初始化:./skills/memory-lesson-manager/scripts/init-memory-system.sh
  3. 新记录用 WARM/,现有文件保留原位

详细指南: references/migration-guide.md


详细文档:references/usage-guide.md

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Huo15 Openclaw Enhance

火一五·克劳德·龙虾增强插件 v5.7.8 — 全面适配 openclaw 2026.4.24:peerDep ^4.24 + build/compat 同步到 4.24 + 14 处 api.on 全部去掉 as any 改成 typed hook(hookName 联合类型 + handler 自动推断 Pl...

Registry SourceRecently Updated
General

Content Trend Analyzer

Aggregates and analyzes content trends across platforms to identify hot topics, user intent, content gaps, and generates data-driven article outlines.

Registry SourceRecently Updated
General

Prompt Debugger

Debug prompts that produce unexpected AI outputs — diagnose failure modes, identify ambiguity and conflicting instructions, test variations, compare model re...

Registry SourceRecently Updated
General

Indie Maker News

独行者 Daily - 变现雷达。读对一条新闻,少走一年弯路。每天5分钟,给创业者装上商业雷达。聚焦一人公司、副业、创业变现资讯,智能分类,行动导向。用户下载即能用,无需本地部署!

Registry SourceRecently Updated