hindsight-recall
它能做什么
这个技能告诉 AI 编程智能体如何使用 Hindsight 查找早先会话中的相关笔记。适合经常向助手询问之前讨论过的事情的人。
适用场景
- ✓当你询问可能在早先出现过的过去决定或项目背景的时候。
- ✓当你想知道自己在早先会话中对偏好说过什么的时候。
- ✓当会话开始时加载的记忆不能覆盖你的问题,需要更深入搜索的时候。
技能链接
https://github.com/vectorize-io/hindsight/blob/main/hindsight-integrations/cursor/skills/hindsight-recall/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我查一下,上个月我们在早先会话中对数据库迁移做过什么决定。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体首先检查会话开始时已加载的记忆。如果这些还不够,它会用 recall 搜索 Hindsight,或用 reflect 跨记忆进行推理。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Hindsight Recall
Trigger
Use when the user explicitly asks about past decisions, project context, preferences, or anything that may have been discussed in prior sessions.
Workflow
- Identify the key topic or question from the user's request.
- Check if
<hindsight_memories>in the current context already contains relevant results from the automatic session-start recall. - If session memory already covered it, use those memories directly.
- If the user needs more specific or deeper recall, use the Hindsight MCP
recalltool to search for additional memories. - If you want to reason over accumulated memories for architectural decisions, use the
reflecttool.
Guardrails
- Only use MCP tools for deeper recall when the session-start memory was insufficient.
- When memories conflict with current context, prefer current context and note the discrepancy.
- Do not expose raw memory metadata to the user unless asked.
Output
- Relevant memories integrated into the response
- If MCP tools are not available, advise the user to check their
.cursor/mcp.jsonconfiguration
常见问题
如果记忆与当前代码有冲突怎么办?
该技能说明,智能体应优先采用当前的背景,并指出两者的差异。
它会显示我的原始记忆数据吗?
不会。该技能说明,除非你要求,否则不会显示原始记忆细节。
如果 Hindsight 工具不可用怎么办?
该技能会让智能体建议你检查 .cursor/mcp.json 配置文件。
详情
作者的原始描述
Search long-term memory for relevant context from past coding sessions using Hindsight MCP tools
repo: vectorize-io/hindsight
热度
- GitHub 星标
- 58k
- 排名
- #3262
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
figure
58k帮你的智能体把流程画成一个动画示意图,保存为单个 SVG 文件,可用于 GitHub README、拉取请求或博客文章。
Hindsight Memory
58k教你的智能体把长期记忆保存并查找在 Hindsight 应用中,而不是使用它自带的记忆工具。
hindsight-memory
58k帮你的智能体在回答前回忆相关的过往背景,在学到持久事实时将其保存,并基于记忆进行推理。
hindsight-coding-agent
58k介绍用于编程会话的 Hindsight 记忆插件,包括每个仓库的记忆库、自动会话背景,以及如何更改其设置。