Agent Skills
› vectorize-io/hindsight
› routine-memory
routine-memory
GitHub指导Agent在定时任务中利用Hindsight记忆保持状态连续性。通过在指令中嵌入recall和retain步骤,实现跨运行读取历史、跳过已处理项并记录变更,避免重复工作。
Trigger Scenarios
创建或编辑定时任务
执行定时任务前
执行定时任务后
Install
npx skills add vectorize-io/hindsight --skill routine-memory -g -y
SKILL.md
Frontmatter
{
"name": "routine-memory",
"description": "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."
}
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
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". - 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).
Version History
- 5331da2 Current 2026-10-19 05:25


