Hindsight Memory
它能做什么
这个技能告诉 AI 智能体把 Hindsight 作为它唯一共享的长期记忆。适合把 Hindsight 连接到 AI 助手、并希望记忆能跨越不同对话延续的人。
适用场景
- ✓当你希望智能体在不同对话之间记住某个事实或偏好的时候。
- ✓当你询问智能体过去的决定或早先的工作的时候。
- ✓当你希望智能体基于已保存的记忆推理,回答关于历史的问题的时候。
技能链接
https://github.com/vectorize-io/hindsight/blob/main/hindsight-docs/static/skills/openbot/hindsight-memory/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我的助手记住我喜欢简短的每周摘要,并在下次使用它。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体使用 retain 工具将事实保存到 Hindsight,之后用 recall 找到它们,并用 reflect 对它们进行推理。这项工作不使用它单独的内置记忆。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Hindsight Memory
When the Hindsight app is connected, Hindsight is your one and only long-term memory. It persists across threads, survives context compaction, and is shared with the other agents on the same bank. Do not rely on the thread alone to remember.
Use Hindsight's tools — not the built-in memory
OpenBot also ships built-in memory tools (remember, search_memories, set_memory_inclusion, forget_memory, and a built-in list_memories). Do not use those — they write to a separate, per-agent store that is not shared and is not where the user keeps their memory. For anything memory-related, use the Hindsight MCP tools instead:
| To do this | Use (Hindsight) | Do NOT use (built-in) |
|---|---|---|
| Save a fact | sync_retain (or retain) |
remember |
| Look something up | recall |
search_memories |
| Reason across memory | reflect |
— |
If a tool name is ambiguous (e.g. two list_memories), prefer the Hindsight one that operates on the connected bank. When in doubt, use recall, sync_retain, and reflect — those are Hindsight's.
Workflow
- Recall first. Before answering anything about the user, the project, past decisions, or prior work, call
recall. Use what it returns; don't guess when memory can tell you. - Save with
sync_retain. When the user states a preference, decision, fact, goal, or a result worth keeping, call Hindsight'ssync_retain(notremember), so it's stored and immediately recallable. Note the returned memory id to confirm it saved to Hindsight. - Reflect for synthesis questions ("what do you know about X", "how should you approach this").
- Don't store secrets, transient chatter, or duplicates — recall first, and correct a wrong memory rather than adding a contradicting one.
Notes
- Memory lives in the Hindsight bank from the connection's MCP URL; agents on the same bank share it, so give an agent its own bank URL for isolation.
- Retained facts are re-worded on extraction — recall by meaning, not exact wording.
常见问题
智能体用什么代替它的内置记忆?
该技能要求使用 Hindsight 工具,例如 sync_retain、recall 和 reflect,而不是内置的 remember 和 search 工具。
Hindsight 需要连接吗?
需要。该技能只有在 Hindsight 应用连接到助手时才适用。
记忆会与其他智能体共享吗?
会。该技能说明,Hindsight 记忆会与使用同一记忆库的其他智能体共享。
详情
作者的原始描述
Use Hindsight (the connected MCP app) as the single long-term memory — save with its retain/sync_retain and retrieve with recall/reflect. Do not use OpenBot's built-in remember/search_memories tools.
repo: vectorize-io/hindsight
热度
- GitHub 星标
- 58k
- 排名
- #3259
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
figure
58k帮你的智能体把流程画成一个动画示意图,保存为单个 SVG 文件,可用于 GitHub README、拉取请求或博客文章。
hindsight-memory
58k帮你的智能体在回答前回忆相关的过往背景,在学到持久事实时将其保存,并基于记忆进行推理。
hindsight-coding-agent
58k介绍用于编程会话的 Hindsight 记忆插件,包括每个仓库的记忆库、自动会话背景,以及如何更改其设置。
hindsight-recall
58k帮你的智能体在你询问早先工作时,搜索长期记忆中的过往决定、项目背景和偏好。