Skip to content
Data
Skill

/memory-retain

Save what was learned to Hindsight long-term memory. Use when a task finishes, when the user states a fact, decision or preference, and when you discover something a later run or another Bot would need.

BOOST
From plugin
hindsight
45k18 skills1 MCP
Install
$ npx -y skills add vectorize-io/hindsight --skill memory-retain --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/memory-retain

Context preview

The summary Claude sees to decide when to auto-load this skill.

Save what was learned to Hindsight long-term memory. Use when a task finishes, when the user states a fact, decision or preference, and when you discover something a later run or another Bot would need.

SKILL.md

memory-retain.SKILL.md
name: memory-retain
description: Save what was learned to Hindsight long-term memory. Use when a task finishes, when the user states a fact, decision or preference, and when you discover something a later run or another Bot would need.

Save what was learned

Memory is only useful if the next run can find it. Save the outcome and the reason, not a transcript.

Steps

1. Decide where it belongs:

  • Only useful to this Bot's own work: this Bot's bank, `grok-bot::<bot-name>`.
  • Useful to any Bot, or a fact about the user: `grok-bot::shared`.

2. Write a short, self-contained note that makes sense with no other context: what happened or was decided, who decided it, when, and why. "On 3 Oct the user chose Vendor B over Vendor A because A has no EU data residency" beats "user picked B". 3. Call `retain` with that note as `content`, and `tags` of `source:grok-bot` and `bot:<bot-name>`.

Rules

  • One note per distinct fact or decision. Do not paste whole conversations or tool output.
  • Never store passwords, one-time codes, API keys, card or account numbers, or health measurements.
  • Never write to banks that belong to the user's other tools.
Ships withhindsight

Hindsight: Agent Memory That Learns

Get the whole plugin
Stats
45,632
Stars
5,918
Forks
Active
Maintenance
Python
Language
MIT
License
31m ago
Last commit
11mo ago
Created

Repo: vectorize-io/hindsight

Other skills on hindsight.