memory-retain
它能做什么
这个技能告诉 AI 智能体如何把有用的结果保存到 Hindsight 长期记忆中。适合希望智能体记住对后续工作重要事项的人。
适用场景
- ✓当一项任务完成,其结果或理由值得保留的时候。
- ✓当你说明了一个智能体应该记住的事实、决定或偏好的时候。
- ✓当智能体发现某些内容是之后的运行或其他机器人需要的时候。
技能链接
https://github.com/vectorize-io/hindsight/blob/main/hindsight-integrations/grok-bot/skills/memory-retain/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请记住,我更喜欢 PDF 格式的发票,因为我的会计使用 PDF 系统。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会写一条简短、自成一体的笔记,说明决定了什么、谁做出的决定以及原因。它会为笔记添加标签,以便之后找到。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Save what was learned
Memory is only useful if the next run can find it. Save the outcome and the reason, not a transcript.
Steps
- Decide where it belongs:
- Only useful to this Bot's own work: this Bot's bank,
grok-bot::<bot-name>. - Useful to any Bot, or a fact about the user:
grok-bot::shared.
- Only useful to this Bot's own work: this Bot's bank,
- Write a short, self-contained note that makes sense with no other context: what happened or was decided, who decided it, when, and why. "On 3 Oct the user chose Vendor B over Vendor A because A has no EU data residency" beats "user picked B".
- Call
retainwith that note ascontent, andtagsofsource:grok-botandbot:<bot-name>.
Rules
- One note per distinct fact or decision. Do not paste whole conversations or tool output.
- Never store passwords, one-time codes, API keys, card or account numbers, or health measurements.
- Never write to banks that belong to the user's other tools.
常见问题
它会保存整段对话吗?
不会。该技能说明,每条笔记只保存一个事实或决定,不保存完整的对话记录或工具输出。
它可以保存密码或账号吗?
不可以。该技能说明,绝不存储密码、一次性验证码、API 密钥、银行卡号或健康指标数据。
笔记会保存到哪个记忆库?
与机器人自身工作相关的笔记保存到它自己的记忆库,对任何机器人有用或与你相关的笔记保存到共享记忆库。
详情
作者的原始描述
Save what was learned to Hindsight long-term memory. Use when a task finishes, when the user states a fact, decision or preference, and when you discover something a later run or another Bot would need.
repo: vectorize-io/hindsight
热度
- GitHub 星标
- 58k
- 排名
- #3266
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
figure
58k帮你的智能体把流程画成一个动画示意图,保存为单个 SVG 文件,可用于 GitHub README、拉取请求或博客文章。
Hindsight Memory
58k教你的智能体把长期记忆保存并查找在 Hindsight 应用中,而不是使用它自带的记忆工具。
hindsight-memory
58k帮你的智能体在回答前回忆相关的过往背景,在学到持久事实时将其保存,并基于记忆进行推理。
hindsight-coding-agent
58k介绍用于编程会话的 Hindsight 记忆插件,包括每个仓库的记忆库、自动会话背景,以及如何更改其设置。