memory-reflection

hughescr 的头像作者 hughescr

当用户要求回顾、巩固、组织或清理记忆时,应该使用此技能。触发诸如“回顾你所记得的内容”、“巩固我的记忆”、“你注意到什么模式”、“组织你的记忆”、“执行记忆维护”或“清理旧记忆”等请求。还可以在长时间会话期间主动使用,以保持内存卫生并防止上下文过载。

📖 中文导读:当用户要求回顾、巩固、组织或清理记忆时,应该使用此技能。触发诸如“回顾你所记得的内容”、“巩固我的记忆”、“你注意到什么模式”、“组织你的记忆”、“执行记忆维护”或“清理旧记忆”等请求。还可以在长时间会话期间主动使用,以保持内存卫生并防止上下文过载。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: memory-reflection version: 1.0.0 description: This skill should be used when the user asks to review, consolidate, organize, or clean up memories. Triggers on requests like "review what you remember," "consolidate my memories," "what patterns do you notice," "organize your memory," "perform memory maintenance," or "clean up old memories." Also use proactively during long sessions to maintain memory hygiene and prevent context overload.

Memory Reflection Skill

Reflect on recent experiences and consolidate learnings to maintain organized, useful memory.

When to Use

Invoke this skill when:

  • Starting a new day or session
  • Completing significant conversations
  • Noticing cluttered or disorganized memory

Reflection Process

  1. Review Recent Events

    • Call mcp__memory__list on /events/ to retrieve recent activity
    • Identify patterns, recurring topics, or themes
  2. Identify Key Learnings

    • Extract new information discovered
    • Note preferences or patterns that emerged from user interactions
    • Assess what worked well and what did not
  3. Update Identity/State

    • Promote important learnings to /state/ layer
    • Update /identity/ when core understanding has evolved
  4. Consolidate User Knowledge

    • Review /users/{userId}/ entries
    • Merge related observations about each user
  5. Clean Up

    • Remove redundant event entries
    • Archive information that has been consolidated

Output

Summarize after reflection:

  • Key learnings consolidated
  • Memories archived or removed
  • Areas needing more information