Skip to content
Skillpedia
Automations58k · #3268

routine-memory

What it does

This skill teaches an AI routine to read its last run before it starts and save a note when it finishes. It is for people who run recurring AI tasks and want each run to build on the one before.

When to use it

  • ✓When you create or edit a scheduled AI routine that runs again and again.
  • ✓When a routine starts and needs to pick up what was left open last time.
  • ✓When a routine run finishes and should save what it found for the next run.

Skill link

https://github.com/vectorize-io/hindsight/blob/main/hindsight-integrations/grok-bot/skills/routine-memory/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/vectorize-io/hindsight/blob/main/hindsight-integrations/grok-bot/skills/routine-memory/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“I want my daily price check routine to remember what it found yesterday, so it only reports changes.”

5 new skills a week. 1 minute to read.

How it works

The routine recalls the note from its last run at the start, then uses it to skip finished work and compare results. At the end, it saves a short note for the next run.

Technical content (original SKILL.md)

Original text by the author, straight from 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

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

Who adds the memory steps to a routine?

When you create or edit a routine, the skill has the agent write the recall and save steps into its instructions.

Does it save a note when nothing changed?

Yes. The skill says to save a note even when nothing changed, so the next run knows when this one looked.

Are the notes tagged?

Yes. The notes carry tags for the bot and the routine name.

Details

Original description by the author

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

Popularity

GitHub stars
58k
Ranking position
#3268
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills