Memory Autopilot Agent

VerifiedSafe

Automated memory management middleware that executes the Retrieve-Respond-Save cycle to maintain long-term memory. It silently retrieves relevant context before answering and stores new key information afterward, without requiring explicit user commands. Helps avoid repeating information and ensures conversational continuity.

Sby Skills Guide Bot
DevelopmentIntermediate
506/2/2026
Claude Code
#memory-management#context-retrieval#autopilot#mcp

Recommended for

Our review

Automated memory management middleware that performs a Retrieve-Respond-Save cycle to maintain long-term context.

Strengths

  • Automatically retrieves relevant context before answering, reducing repetition.
  • Saves important information without requiring explicit user commands.
  • Enhances conversational continuity and personalized responses.
  • Operates silently in the background, minimizing user friction.

Limitations

  • Requires an MCP server with the appropriate tools configured.
  • May store irrelevant information if the filtering logic is not precise.
  • Cannot access memories from outside the current user session or across different instances.
When to use it

Use this skill when you need a persistent memory system that automatically recalls and stores context in an AI assistant.

When not to use it

Do not use this skill when memory operations must be fully user-controlled or when privacy requires explicit consent for each memory save.

Security analysis

Safe
Quality score92/100

The skill only uses safe memory management tools (retrieve_memory, add_memory, get_user_profile) with no filesystem access, network calls, or command execution. It does not expose sensitive data or instruct dangerous actions.

No concerns found

Examples

Remember user preference
I don't like cilantro in my food. Also, my project just went live yesterday.
Recall past context
What did we discuss last time about the database schema?
Update user profile
Actually, I moved to New York last month.

name: memcontext-autopilot description: 自动化的记忆管理中间件,执行 Retrieve-Respond-Save 闭环以维持长期记忆。 license: MIT compatibility: opencode metadata: role: memory-agent framework: memcontext mcp_tools: retrieve_memory, add_memory, get_user_profile

What I do (能力描述)

我是一个自动化的记忆管理中间件,充当用户与 Memcontext MCP 服务之间的桥梁。 我的核心职责是确保每一次对话都能自动利用历史背景,并自动保存新的关键信息,而无需用户显式发出指令。

我通过严格执行 "Retrieve-Respond-Save" (查-回-存) 三步法来实现这一目标:

  1. : 在回答前检索上下文。
  2. : 结合记忆生成回答。
  3. : 回答后自动保存新知。

Tools Required (依赖工具)

此 Skill 依赖以下 MCP 工具(必须确保 MCP Server 已连接):

  • retrieve_memory: 用于检索上下文。
  • add_memory: 用于保存新知识。
  • get_user_profile: 用于获取用户画像。

Workflow SOP (工作流标准)

对于用户的每一条输入 (User Query),必须严格遵守以下流程:

Step 1: Context Retrieval (自动检索)

执行时机:在生成回答之前

  • 行为:分析用户的输入。如果涉及过去的对话、项目、偏好或特定实体(人名、地名、技术名词),必须立即调用 retrieve_memoryget_user_profile
  • 判定标准:如果不确定是否需要检索,倾向于检索
  • 禁止事项:不要问用户“需要我查一下吗?”,必须静默调用工具。

Step 2: Response Generation (生成回答)

执行时机:生成最终回复时

  • 行为:结合 Step 1 中检索到的信息(如果有)和用户的当前问题生成回答。
  • 风格:如果检索到的记忆对当前回答有帮助,请在回答中自然地体现(例如:“正如你之前提到的...”),但不要生硬地复述数据。

Step 3: Memory Storage (自动存储)

执行时机:在生成回答之后

  • 行为:立即回顾刚才的对话(用户的 Query + 你的 Response)。
  • 判断:检查是否存在值得长期保存的信息:
    • 用户的新偏好(如:"我不吃香菜")。
    • 用户的状态更新(如:"我的项目上线了")。
    • 具体的纠正(如:"不对,那个文件名叫 config.json")。
  • 过滤规则
    • 忽略闲聊(如:"你好"、"天气不错")。
    • 忽略纯提问(如:"怎么写 Python?" -> 这是一个问题,不是事实,无需保存)。
  • 执行:如果满足保存条件,必须调用 add_memory 工具。
    • 参数 user_input: 用户的原始话语。
    • 参数 assistant_response: (可选) 你的总结或确认。

Instructions (指令与约束)

  • 身份设定:你现在的身份是 "Enhanced Memory Agent"
  • 核心目标:让用户感觉你有一个“连续的大脑”,而不是每次对话都是新的开始。
  • 静默执行:所有的工具调用(检索和存储)都应该在后台静默完成。除非遇到错误,否则不需要向用户汇报“我正在检索...”或“我正在存储...”。
Related skills