remember

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
The user wants to save this to long-term memory: $ARGUMENTS
Use the
memory_save
MCP tool (provided by the agentmemory server that this plugin wires up automatically via
.mcp.json
) to persist it.
Steps:
  1. Analyze what the user wants to remember — pull out the core insight, decision, or fact.
  2. Extract 2-5 searchable
    concepts
    (lowercased keyword phrases) that capture what the memory is about. Prefer specific terms over generic ones (
    "jwt-refresh-rotation"
    beats
    "auth"
    ).
  3. Extract any relevant
    files
    — absolute or repo-relative paths the memory references.
  4. Call
    memory_save
    with the fields:
    • content
      — the full text to remember (preserve the user's phrasing as much as possible)
    • concepts
      — the extracted concept list
    • files
      — the extracted file list (empty array if none apply)
  5. Confirm to the user that the memory was saved and show the concepts you tagged so they know what terms will retrieve it later.
If
memory_save
isn't available, the stdio MCP shim didn't start — tell the user to:
  1. Run
    /plugin list
    in Claude Code and confirm
    agentmemory
    shows as enabled.
  2. Restart Claude Code (the plugin's
    .mcp.json
    is only read on startup).
  3. Check
    /mcp
    to see whether the
    agentmemory
    MCP server is connected.
用户希望将以下内容保存到长期内存中:$ARGUMENTS
使用
memory_save
MCP工具(由agentmemory服务器提供,此插件会通过
.mcp.json
自动连接该服务器)来持久化存储。
步骤:
  1. 分析用户想要记住的内容——提炼出核心见解、决策或事实。
  2. 提取2-5个可搜索的
    concepts
    (小写关键词短语),以概括该内存的主题。优先使用具体术语而非通用术语(
    "jwt-refresh-rotation"
    优于
    "auth"
    )。
  3. 提取所有相关的
    files
    ——该内存引用的绝对路径或仓库相对路径。
  4. 调用
    memory_save
    并传入以下字段:
    • content
      ——要记住的完整文本(尽可能保留用户的表述方式)
    • concepts
      ——提取的概念列表
    • files
      ——提取的文件列表(若无相关文件则为空数组)
  5. 向用户确认内存已保存,并展示你标记的概念,以便他们知道日后可以通过哪些术语检索该内存。
如果
memory_save
不可用,说明stdio MCP垫片未启动——请告知用户执行以下操作:
  1. 在Claude Code中运行
    /plugin list
    ,确认
    agentmemory
    已启用。
  2. 重启Claude Code(插件的
    .mcp.json
    仅在启动时读取)。
  3. 查看
    /mcp
    ,确认agentmemory MCP服务器已连接。