Agents & OrchestrationSûr100100/100
Tanstack IA Memory Hindsight (TanStack)
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.
ou envoie-le directement à ton agent.
Installer dans ton projet
$ curl -fsSL https://arboristhree.xyz/cli/install-skill.mjs -o /tmp/arboris-install-skill.mjs && node /tmp/arboris-install-skill.mjs tanstack-ai-memory-hindsight__tanstack-ai__packages-ai-memory-skills-2fd574f63273TanStack
TanStack/ai
Contenu à copier
---
name: tanstack-ai-memory-hindsight
description: 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.
metadata:
origin: TanStack
---
# Hindsight Memory Adapter
Hosted `recall`/`save` adapter backed by Hindsight. Hindsight owns extraction and
ranking server-side, buckets memory into per-conversation "banks"
(`{tenantId|_}__{user}__{threadId}`), and — uniquely — exposes LLM **tools** through `recall` so the
model can retain/recall/reflect directly.
## Setup
```ts
import { memoryMiddleware } from '@tanstack/ai-memory'
import { hindsight } from '@tanstack/ai-memory/hindsight'
// Build per request from the server-validated session — never from req.body.
function memoryFor(session: { userId: string; threadId: string }) {
const memory = hindsight({ user: session.userId }) // baseUrl defaults to HINDSIGHT_URL
return memoryMiddleware({
adapter: memory,
scope: { threadId: session.threadId, userId: session.userId },
})
}
```
`@vectorize-io/hindsight-client` is an **optional peer dependency**, loaded lazily on
first use — install it where you use `hindsight()`.
## Options
- `user` — durable user id for the bank key (falls back to `scope.userId`).
- `baseUrl` — Hindsight server URL (default `HINDSIGHT_URL` or `http://localhost:8888`).
- `budget` — recall budget: `'low' | 'mid' | 'high'` (default `'mid'`).
- `onToolRetain` / `onToolRecall` — callbacks fired when the model uses the memory tools.
**Scope fields:** bank id is `{tenantId|_}__{user}__{threadId}`. `namespace` is ignored.
## Tools
`recall` returns `hindsight_retain`, `hindsight_recall`, and `hindsight_reflect` in its
`tools` plus a `toolGuidance` block. `memoryMiddleware` merges them into the run so the
model can manage long-term memory itself.Colle ce Markdown dans ton agent ou utilise les boutons ci-dessus pour l’écrire dans ton projet.
Ce que fait Tanstack IA Memory Hindsight (TanStack)
`user` — durable user id for the bank key (falls back to `scope.userId`).
`baseUrl` — Hindsight server URL (default `HINDSIGHT_URL` or `http://localhost:8888`).
`budget` — recall budget: `'low' | 'mid' | 'high'` (default `'mid'`).
`onToolRetain` / `onToolRecall` — callbacks fired when the model uses the memory tools.
Comment utiliser Tanstack IA Memory Hindsight (TanStack)
1
Copie le prompt
Un clic copie le prompt packagé (ou l'envoie à ton agent).
2
L'agent installe le skill
Il ajoute le SKILL.md et ses ressources à ton projet.
3
Activation automatique
Le skill s'active dès que le contexte correspond.
Déclencheurs pour Tanstack IA Memory Hindsight (TanStack)
Dis simplement à ton agent quelque chose comme :
Applique le skill tanstack-ai-memory-hindsight__tanstack-ai__packages-ai-memory-skills-2fd574f63273 à cette tâche
Utilise tanstack-ai-memory-hindsight__tanstack-ai__packages-ai-memory-skills-2fd574f63273 pour améliorer cette implémentation
Passe en revue ce sujet avec tanstack-ai-memory-hindsight__tanstack-ai__packages-ai-memory-skills-2fd574f63273
Skills liés à Tanstack IA Memory Hindsight (TanStack)
Acceleration (Microsoft)
Compare synthetic acceleration options and clearly separate scenario value from forecast commitments.Account Overview (Microsoft)
Create a synthetic Acme account overview and identify evidence that merits seller attention.Acroform Writer (Microsoft)
Use this skill whenever the user wants values written INTO an existing PDF form that lives in the connected SharePoint knowledge source — filling out, completing, populating, or submitting a fillable PDF (application, intake sheet, contract, government form) from data they supply, a spreadsheet row, or the conversation. Triggers include "fill out the job application form", "complete the intake form for [person]", "populate our standard NDA template", and "make this ready to send / non-editable" (flatten). The source form should be found via knowledge search; only ask the user to upload it if knowledge search turns up nothing plausible. different task), and do NOT use it on scanned/image-only PDFs that have no real fillable fields — those need OCR or manual overlay instead, which this skill explicitly detects and reports rather than silently failing.