Agent Skills › vectorize-io/hindsight › routine-memory

routine-memory

GitHub

指导 Agent 在定时任务运行间通过 Hindsight 记忆机制保持状态,避免重复工作。包含创建任务时注入记忆指令、运行时调用 recall 读取历史及 retain 保存结果的具体步骤,确保上下文连续性。

hindsight-integrations/grok-bot/skills/routine-memory/SKILL.md vectorize-io/hindsight

Trigger Scenarios

用户要求创建或编辑定时任务 执行需要跨周期保持状态的自动化流程

Install

npx skills add vectorize-io/hindsight --skill routine-memory -g -y
More Options

Non-standard path

npx skills add https://github.com/vectorize-io/hindsight/tree/main/hindsight-integrations/grok-bot/skills/routine-memory -g -y

Use without installing

npx skills use vectorize-io/hindsight@routine-memory

指定 Agent (Claude Code)

npx skills add vectorize-io/hindsight --skill routine-memory -a claude-code -g -y

安装 repo 全部 skill

npx skills add vectorize-io/hindsight --all -g -y

预览 repo 内 skill

npx skills add vectorize-io/hindsight --list

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

  1. Call recall on this Bot's bank with the query "last run of ".
  2. 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

  1. Call retain on 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.
  2. Use the tags source:grok-bot, bot:<bot-name> and routine:<routine name>.
  3. If the run found something other Bots should act on, also retain it to grok-bot::shared (see the bot-handoff skill).

Version History

  • 5331da2 Current 2026-10-19 05:25

Same Skill Collection

.claude/skills/code-review/SKILL.md
.claude/skills/figure/SKILL.md
.claude/skills/hs-release/SKILL.md
.claude/skills/ship-it/SKILL.md
.claude/skills/triage/SKILL.md
hindsight-docs/static/skills/openbot/hindsight-memory/SKILL.md
hindsight-integrations/agent-plugin/skills/hindsight-memory/SKILL.md
hindsight-integrations/claude-code/skills/create-agent/SKILL.md
hindsight-integrations/coding-agents/skill/SKILL.md
hindsight-integrations/cursor/skills/hindsight-recall/SKILL.md
hindsight-integrations/grok-bot/skills/bot-handoff/SKILL.md
hindsight-integrations/grok-bot/skills/memory-context/SKILL.md
hindsight-integrations/grok-bot/skills/memory-reflect/SKILL.md
hindsight-integrations/grok-bot/skills/memory-retain/SKILL.md
hindsight-integrations/grok-bot/skills/memory-setup/SKILL.md
skills/hindsight-architect/SKILL.md
skills/hindsight-cloud/SKILL.md
skills/hindsight-docs/SKILL.md
skills/hindsight-local/SKILL.md
skills/hindsight-self-hosted/SKILL.md

Metadata

Files
0
Version
6301f8c
Hash
457f8a6d
Indexed
2026-10-19 05:25

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-07 05:22
浙ICP备14020137号-1