返回 Skill 列表
extension
分类: AI Agent 能力无需 API Key

memory

执行提取并使用之前会话中的项目记忆,以提供具有上下文意识的帮助。在回忆过去的决定、检查项目惯例或理解用户偏好时使用。可以通过诸如“记得当”、“像以前一样”或“关于我们之前的决定是什么”等短语触发。

person作者: jakexiaohubgithub

Memory

Overview

This skill provides automated assistance for the described functionality.

Prerequisites

Before using this skill, ensure you have:

  • Project memory file at {baseDir}/.memories/project_memory.json
  • Read permissions for the memory storage location
  • Understanding that memories persist across sessions
  • Knowledge of slash commands for manual memory management

Instructions

  1. Locate memory file using Read tool
  2. Parse JSON structure containing memory entries
  3. Identify relevant memories based on current context
  4. Extract applicable decisions, conventions, or preferences

See {baseDir}/references/implementation.md for detailed implementation guide.

Output

  • Memories applied automatically without announcement
  • Decisions informed by historical context
  • Consistent behavior aligned with past choices
  • Natural incorporation of established patterns
  • List of all stored memories with timestamps
  • Confirmation of newly added memories

Error Handling

See {baseDir}/references/errors.md for comprehensive error handling.

Examples

See {baseDir}/references/examples.md for detailed examples.

Resources

  • /remember [text] - Add new memory to manual_memories array
  • /forget [text] - Remove matching memory from storage
  • /memories - Display all currently stored memories
  • Apply memories silently without announcing to user
  • Current explicit requests always override stored memories