routine-memory
它能做什么
这个技能教 AI 例行任务在开始前阅读上一次的运行记录,并在完成时保存笔记。适合运行定期 AI 任务、并希望每次运行都建立在前一次基础上的人。
适用场景
- ✓当你创建或编辑一个会反复运行的定时 AI 例行任务的时候。
- ✓当例行任务开始运行,需要接续上次留下未完成的内容的时候。
- ✓当例行任务运行结束,应当为下一次运行保存其发现的内容的时候。
技能链接
https://github.com/vectorize-io/hindsight/blob/main/hindsight-integrations/grok-bot/skills/routine-memory/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请让我的每日价格检查例行任务记住昨天发现的内容,这样它只报告变化。”
每周 5 个新技能,1 分钟读完。
工作原理
例行任务在开始时调出上次运行的笔记,并用它跳过已完成的工作、比较结果。结束时,它会为下一次运行保存一条简短笔记。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Remember between routine runs
A routine runs again and again. Without memory each run starts from zero, repeats work and misses what changed. Read the last run before starting, and record this run before finishing.
When creating or editing a routine
Write the memory steps into the routine's own instructions, so every run carries them even when nobody is in the chat:
- First: "Recall the last run of <routine name> from Hindsight and use it."
- Last: "Retain a run note to Hindsight: what this run found, what changed, and what the next run should check first."
Tell the user you added them.
At the start of the run
- Call
recallon this Bot's bank with the query "last run of <routine name>". - Use it: skip what was already handled, pick up what was left open, and compare against what the last run found.
At the end of the run
- Call
retainon this Bot's bank with a note covering: the routine name, the date, what this run found, what changed since the last run, and what the next run should check first. Retain a note even when nothing changed, so the next run knows when this one looked. - Use the tags
source:grok-bot,bot:<bot-name>androutine:<routine name>. - If the run found something other Bots should act on, also retain it to
grok-bot::shared(see thebot-handoffskill).
常见问题
谁来把记忆步骤添加到例行任务中?
当你创建或编辑例行任务时,该技能会让智能体把回忆和保存步骤写入它的指令中。
没有变化时也会保存笔记吗?
会。该技能要求即使没有变化也保存笔记,这样下一次运行就知道这次检查的时间。
笔记会加标签吗?
会。笔记带有机器人和例行任务名称的标签。
详情
作者的原始描述
Carry state between runs of a scheduled routine using Hindsight memory. Use when creating or editing a routine, to write the recall and retain steps into the routine's own instructions, and at the start and end of every scheduled or event-triggered routine run.
repo: vectorize-io/hindsight
热度
- GitHub 星标
- 58k
- 排名
- #3268
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
figure
58k帮你的智能体把流程画成一个动画示意图,保存为单个 SVG 文件,可用于 GitHub README、拉取请求或博客文章。
Hindsight Memory
58k教你的智能体把长期记忆保存并查找在 Hindsight 应用中,而不是使用它自带的记忆工具。
hindsight-memory
58k帮你的智能体在回答前回忆相关的过往背景,在学到持久事实时将其保存,并基于记忆进行推理。
hindsight-coding-agent
58k介绍用于编程会话的 Hindsight 记忆插件,包括每个仓库的记忆库、自动会话背景,以及如何更改其设置。