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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
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
- 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).
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
Comments
- …
More skills from this repository
figure
58kHelps your agent draw an animated diagram as one SVG file for a GitHub README, pull request, or blog post, showing how a process flows.
Hindsight Memory
58kTeaches your agent to save and look up long-term memory in the Hindsight app, instead of using its built-in memory tools.
hindsight-memory
58kLets your agent recall relevant past context before answering, save durable facts as it learns them, and reason over its memory.
hindsight-coding-agent
58kExplains the Hindsight memory plugin for coding sessions, including per-repo memory banks, automatic session context, and how to change its settings.
Similar skills
knowledge-automation
394kHelps your agent set up a recurring job that brings new content into your Knowledge vault on a schedule, then checks that the job runs.
knowledge-source-ingest
394kHelps your agent keep a Knowledge vault current with new items from chat channels, feeds, or mailboxes, without re-adding what it already has.
benchmark
280kHelps your agent measure code speed and performance. It's useful for ensuring things are fast and finding slowness issues.