routine-memory
できること
このスキルは、AIルーチンに、開始前に前回の実行を読み、終了時にメモを保存することを教えます。定期的なAIタスクを動かし、各実行が前回の結果を活かすようにしたい人向けです。
使う場面
- ✓何度も繰り返し動くAIルーチンを作成または編集するとき。
- ✓ルーチンが開始し、前回残された作業を引き継ぐ必要があるとき。
- ✓ルーチンの実行が終わり、次の実行のために発見内容を保存するべきとき。
スキルのリンク
https://github.com/vectorize-io/hindsight/blob/main/hindsight-integrations/grok-bot/skills/routine-memory/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“毎日の価格チェックのルーチンに、昨日見つけた内容を覚えさせ、変化があったものだけを報告させてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
ルーチンは、開始時に前回の実行のメモをrecallで呼び出し、終わった作業を飛ばしたり結果を比較したりするのに使います。終了時には、次の実行のための短いメモを保存します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Remember between routine runs
A routine runs again and again. Without memory each run starts from zero, repeats work and misses what changed. Read the last run before starting, and record this run before finishing.
When creating or editing a routine
Write the memory steps into the routine's own instructions, so every run carries them even when nobody is in the chat:
- First: "Recall the last run of <routine name> from Hindsight and use it."
- Last: "Retain a run note to Hindsight: what this run found, what changed, and what the next run should check first."
Tell the user you added them.
At the start of the run
- Call
recallon this Bot's bank with the query "last run of <routine name>". - Use it: skip what was already handled, pick up what was left open, and compare against what the last run found.
At the end of the run
- Call
retainon this Bot's bank with a note covering: the routine name, the date, what this run found, what changed since the last run, and what the next run should check first. Retain a note even when nothing changed, so the next run knows when this one looked. - Use the tags
source:grok-bot,bot:<bot-name>androutine:<routine name>. - If the run found something other Bots should act on, also retain it to
grok-bot::shared(see thebot-handoffskill).
よくある質問
誰がルーチンにメモリの手順を追加しますか?
ルーチンを作成または編集するとき、スキルがエージェントに、呼び出しと保存の手順を指示に書き込ませます。
何も変わらなかったときもメモを保存しますか?
はい。スキルは、変化がなかった場合でもメモを保存するよう定めています。次の実行で、このときに確認したことが分かるようにするためです。
メモにタグは付きますか?
はい。メモには、ボットとルーチン名のタグが付きます。
詳細
作者による元の説明
Carry state between runs of a scheduled routine using Hindsight memory. Use when creating or editing a routine, to write the recall and retain steps into the routine's own instructions, and at the start and end of every scheduled or event-triggered routine run.
repo: vectorize-io/hindsight
人気
- GitHubのスター
- 58k
- ランキング
- #3268
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
figure
58kエージェントが、GitHubのREADME、プルリクエスト、ブログ記事に使える、アニメーション付きの図を1つのSVGファイルとして描き、処理の流れを示せるよう支援します。
Hindsight Memory
58kエージェントが、組み込みの記憶ツールの代わりに、Hindsightアプリに長期記憶を保存して検索するよう教えます。
hindsight-memory
58kエージェントが、回答の前に関連する過去の文脈を思い出し、分かったことのうち長く役立つ事実を保存して、メモリを推論に使えるよう支援します。
hindsight-coding-agent
58kコーディングセッション向けHindsightメモリプラグインを説明します。リポジトリごとのメモリバンク、自動のセッション文脈、設定の変更方法を含みます。