retrieval-reflex
できること
このスキルは、AIエージェントが答える前にブレインのページを開くべきタイミングを教えます。名前が挙がった人物、会社、プロジェクトが答えに関係する会話のためのものです。
使う場面
- ✓ブレインにメモがあるかもしれない人物、会社、プロジェクトに言及したとき。
- ✓エージェントが、役割や状態などの詳細を述べようとしているとき。
- ✓エージェントが知らない名前が出て、それが重要そうなとき。
スキルのリンク
https://github.com/garrytan/gbrain/blob/master/recipes/retrieval-reflex/skills/retrieval-reflex/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“答える前に、ダナについてのメモを確認してください。前回どこまで話したかを知りたいです。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、名前のついたエンティティが返答に重要かどうかを判断し、そのブレインのページを開きます。作業に必要な範囲でのみ、より深い検索に進み、述べる前に詳細を確認します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Retrieval Reflex — retrieve on demand, when an entity is salient
A person doesn't bulk-load their whole address book into working memory. They retrieve on demand, when an entity becomes salient, use it, and drop it. Encode that reflex. The brain probably has the data — if a name is salient and you haven't opened its page, open it before you answer.
Trigger policy — WHEN to retrieve
Retrieve when ANY of these holds AND the page isn't already loaded in context:
- An entity (person / company / project / deal / place) is the subject of the message, or a decision/judgment about it is being made, or the exchange is substantive / relational / emotional about it.
- A brain-page pointer appeared in context this turn (the deterministic layer told you the page exists) — open it before relying on details.
- A name or term appears that you don't recognize and that looks notable → do a quick resolve (the human reflex).
- You're about to assert a non-trivial detail about an entity (attribution, status, history) → verify against the brain first. Say "let me check", not a guess.
Skip trivial passing mentions, logistics pings, and anything already loaded. Judgment first — retrieve when it changes the quality of the reply, not reflexively.
Retrieval spec — WHAT to pull, and when to stop
Escalate only as far as the task needs:
- Pointer / metadata. If a pointer is already in context (slug + one-line summary), and the task only needs identity, stop there.
- Full page. When the entity is the subject or details matter, open it:
get_page <slug>(MCP) — read the page before relying on specifics. - Linked neighbors. Only when relationship context is needed, pull
graph/backlinksfor the slug.
Resolve only the name(s) the current task needs, use them, drop them. No bulk-loading the inner circle.
The failure this prevents
If you've discussed a named person for more than a message without opening their page, open it now. The write side captures everything; the read side only helps if you actually look.
See also: skills/query/SKILL.md (search the brain), skills/brain-ops/SKILL.md.
よくある質問
エージェントはすべての名前を確認しますか?
いいえ。些細な言及や物流に関するものは飛ばし、返答を変える名前だけを調べます。
エージェントが詳細を確かでないときはどうしますか?
推測せず、ブレインを確認すると伝えます。
指名されたページ以外も検索しますか?
作業上必要な場合のみです。答えるのに十分な情報が得られたら止まります。
詳細
作者による元の説明
When/what to retrieve — open the brain page for a salient entity before answering from memory.
repo: garrytan/gbrain
人気
- GitHubのスター
- 31k
- ランキング
- #9322
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
gbrain
31kエージェントが、共有の社内ナレッジブレインで人、プロジェクト、決定事項についての事実を検索し、永続的なメモを保存できるようにします。
brain-ingest-gate
31k重複を避け、名前付きのエンティティを先に解決するため、新しい内容をナレッジブレインに追加する前に、既存のブレインと照合するようエージェントを支援します。
brain-link-discipline
31kエージェントが報告する各ブレインのページについて、同じメッセージの中で動くリンクを必ず含め、すぐに開けるようにします。
brain-ops
31kナレッジブレインの基本的な手順をエージェントに与えます。まず既存の文脈を確認し、出典つきで明示的なメモを保存し、関連するページをリンクします。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。