本文へスキップ
Skillpedia
エージェント58k · #3260

hindsight-memory

できること

このスキルは、長期記憶エンジンのHindsightにAIエージェントを接続します。前のセッションの続きから作業を再開させたい人向けです。

使う場面

  • ✓以前の作業や過去の決定に触れ、エージェントがそれを知っていると期待するとき。
  • ✓長く続く好み、たとえば物事の進め方の好みを伝えたとき。
  • ✓以前のプロジェクトの文脈で答えられる質問をするとき。

スキルのリンク

https://github.com/vectorize-io/hindsight/blob/main/hindsight-integrations/agent-plugin/skills/hindsight-memory/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/vectorize-io/hindsight/blob/main/hindsight-integrations/agent-plugin/skills/hindsight-memory/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“ステージング用のデータベースはNeon上のPostgres 16だと覚えておいてください。以前これについて何を決めたか確認してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、回答する前にrecallを呼んで保存されたメモリを検索し、長く役立つ事実はretainで保存します。メモリは、セッションをまたいで利用できるバンクに保たれます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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 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.

よくある質問

どのメモリバンクを使いますか?

HINDSIGHT_BANK_ID設定で指定されたバンクを使うため、メモリはそのバンク内に保たれます。

エージェントは何を保存すべきですか?

スキルでは、安定した好み、プロジェクトの事実や決定、学んだ教訓を保存するよう定めており、すべての細部を保存するわけではありません。

関連するメモリが見つからない場合は?

エージェントは、関連する内容が見つからなかったと伝えるべきで、過去の文脈を作り出してはいけません。

詳細

作者による元の説明

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

人気

GitHubのスター
58k
ランキング
#3260
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル