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がスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
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
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.
よくある質問
どのメモリバンクを使いますか?
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
コメント
- …
このリポジトリの他のスキル
figure
58kエージェントが、GitHubのREADME、プルリクエスト、ブログ記事に使える、アニメーション付きの図を1つのSVGファイルとして描き、処理の流れを示せるよう支援します。
Hindsight Memory
58kエージェントが、組み込みの記憶ツールの代わりに、Hindsightアプリに長期記憶を保存して検索するよう教えます。
hindsight-coding-agent
58kコーディングセッション向けHindsightメモリプラグインを説明します。リポジトリごとのメモリバンク、自動のセッション文脈、設定の変更方法を含みます。
hindsight-recall
58k過去の決定、プロジェクトの文脈、好みを、以前の作業について尋ねられたときに長期記憶から検索できるよう、エージェントを支援します。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。