Skip to content
Skills Library
AI & agents · Tool integration

hindsight-memory

/hindsight-memory

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.

Repository
hindsight ↗
Licence
MIT
Last repository change
27.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

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.

Triggers from the description

why
Original author description

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.

How it works

  1. When to recall (read memory)
  2. When to retain (write memory)
  3. When to reflect (reason over memory)
  4. Bank scope
Original SKILL.md headings · 61 lines, 381 words
SKILL.md preview
---
name: hindsight-memory
description: 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.
---

# 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 `main` only"),
- 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.

Versions

RepositoryScoreLicence
This page · vectorize-io/hindsight100MIT
viktorbezdek/skillstack100MIT

Identical content appears in 1 other GitHub folders. We show one copy with the highest score.

Database snapshot: 13.11.2026 · package version eae8fefd951e (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100memory-context
    Load relevant long-term memory from Hindsight before starting work. Use at the start of every task or request, before planning or answering, and whenever the user mentions people, projects, decisions, preferences or anything done before.
  • 100memory-setup
    Set up and check Hindsight long-term memory for this Bot. Use the first time a Bot uses Hindsight, when the user asks to connect or check memory, or whenever a Hindsight tool call fails.
  • 100tanstack-ai-memory-hindsight
    Use when wiring hindsight() from @tanstack/ai-memory/hindsight — a hosted memory adapter that buckets memory per conversation and exposes retain/recall/reflect tools to the model. Requires the optional @vectorize-io/hindsight-client peer.
  • 86memory-bridge
    Retain, recall, or reflect through the optional Hindsight and Jev memory bridge. Use when explicitly requesting these memory actions through that bridge.
  • 90hindsight-retrieval
    基于 Hindsight(vectorize-io/hindsight,面向「会学习」agent 的记忆系统)做高精度 记忆检索与回忆接入:当用户抱怨召回不准/时序混乱、要显式控制 retain/recall/reflect 的存取时机、给编码 agent 装 per-repo 长期项目记忆、或部署调优其四路混合检索时触发。 边界:不承接通用记忆层选型(未定技术栈时),不做静态代码库知识图谱,不做经验分层 沉淀与符号压缩。
  • 100memory
    Persistent long-term memory via memini. Use to remember durable facts, decisions, and preferences, and to recall relevant context before acting. Triggers when the user says "remember", "what do you know about", or when starting a task that may have prior context.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.