跳到正文
Skillpedia
智能体58k · #3262

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/vectorize-io/hindsight/blob/main/hindsight-integrations/cursor/skills/hindsight-recall/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

  1. Identify the key topic or question from the user's request.
  2. Check if <hindsight_memories> in the current context already contains relevant results from the automatic session-start recall.
  3. If session memory already covered it, use those memories directly.
  4. If the user needs more specific or deeper recall, use the Hindsight MCP recall tool to search for additional memories.
  5. If you want to reason over accumulated memories for architectural decisions, use the reflect tool.

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.json configuration
常见问题

如果记忆与当前代码有冲突怎么办?

该技能说明,智能体应优先采用当前的背景,并指出两者的差异。

它会显示我的原始记忆数据吗?

不会。该技能说明,除非你要求,否则不会显示原始记忆细节。

如果 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能