hindsight-memory
What it does
This skill connects an AI agent to Hindsight, a long-term memory engine. It is for people who want the agent to pick up where earlier sessions left off.
When to use it
- ✓When you refer to earlier work or a past decision and expect the agent to know it.
- ✓When you state a lasting preference, such as how you like things done.
- ✓When you ask a question that earlier project context could answer.
Skill link
https://github.com/vectorize-io/hindsight/blob/main/hindsight-integrations/agent-plugin/skills/hindsight-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 you to remember that our staging database is Postgres 16 on Neon, and check what we decided about it before.”
5 new skills a week. 1 minute to read.
How it works
The agent calls recall to search saved memory before it answers, and retain to store durable facts. Memories are kept in a bank that stays available across sessions.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Hindsight long-term memory
This plugin connects the agent to Hindsight, a long-term memory engine. Memory
persists across sessions in a bank (scoped by HINDSIGHT_BANK_ID), so what you
retain now is available to recall in future conversations.
The hindsight MCP server exposes the tools below. Prefer these over guessing from
scratch when the answer might live in past context.
When to recall (read memory)
Call recall at the start of a task, or whenever the user:
- refers to earlier work, a past decision, or "the thing we set up",
- states a preference or constraint that may already be recorded,
- asks a question that accumulated project/user context could answer.
recall(query: "how do we deploy the API and which region")
recall runs semantic + keyword + graph + temporal retrieval and returns the most
relevant memories. Ground your answer in what comes back, and say when nothing
relevant was found rather than inventing continuity.
When to retain (write memory)
Call retain when you learn something durable and reusable — worth having in
a future session, not just this one:
- stable user preferences ("prefers pnpm; deploys from
mainonly"), - project facts and decisions ("staging DB is Postgres 16 on Neon"),
- outcomes and gotchas ("the flaky test was a timezone bug, fixed in #482").
retain(content: "The user deploys the API to us-east-1 via GitHub Actions on push to main.")
Do not retain transient chatter, secrets, or anything the user asked you to keep out of memory. Retain the fact, not the whole transcript.
When to reflect (reason over memory)
Call reflect when a single recall is too shallow and you need synthesized
reasoning over everything remembered — the why behind a behavior, or a judgment that
weighs many facts together:
reflect(query: "What has repeatedly caused our CI to flake, and what should we standardize?")
reflect is slower and disposition-aware; use it deliberately, not for lookups.
Bank scope
All tools operate on the bank selected by the connection (HINDSIGHT_BANK_ID, default
default). One bank = one memory store — keep a project's or a user's memory in its
own bank so context stays isolated and relevant. You never pass a bank id to a tool;
it is implicit from the endpoint.
FAQ
Which memory bank does it use?
The skill uses the bank set in the HINDSIGHT_BANK_ID setting, so memories stay within that bank.
What should the agent store?
The skill says to store stable preferences, project facts and decisions, and lessons learned, not every detail.
What happens if no memory is found?
The agent should say that nothing relevant was found, rather than inventing past context.
Details
Original description by the author
Long-term memory for the agent via Hindsight. Use to recall relevant past context before answering, retain durable facts as you learn them, and reflect over accumulated memory for the "why" behind a decision. Load whenever continuity across sessions matters — the user refers to earlier work, states a lasting preference, or asks a question that prior context could answer.
repo: vectorize-io/hindsight
Popularity
- GitHub stars
- 58k
- Ranking position
- #3260
- 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-coding-agent
58kExplains the Hindsight memory plugin for coding sessions, including per-repo memory banks, automatic session context, and how to change its settings.
hindsight-recall
58kHelps your agent search long-term memory for past decisions, project context, and preferences when you ask about earlier work.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.