跳到正文
Skillpedia
智能体31k · #9322

retrieval-reflex

它能做什么

这项技能告诉你的智能体,什么时候应该在回答之前打开知识库中的页面。适用于一个具名的人、公司或项目会影响回答的对话。

适用场景

  • ✓当你提到的人、公司或项目可能在知识库中有笔记的时候。
  • ✓当智能体准备陈述某人的细节,例如职位或状态时。
  • ✓当一个名字出现,智能体不认识它,而且它似乎很重要的时候。

技能链接

https://github.com/garrytan/gbrain/blob/master/recipes/retrieval-reflex/skills/retrieval-reflex/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/garrytan/gbrain/blob/master/recipes/retrieval-reflex/skills/retrieval-reflex/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“在你回答之前,请先查看我关于 Dana 的笔记,因为我想知道我们上次讨论到哪里了。”

每周 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:

  1. Pointer / metadata. If a pointer is already in context (slug + one-line summary), and the task only needs identity, stop there.
  2. Full page. When the entity is the subject or details matter, open it: get_page <slug> (MCP) — read the page before relying on specifics.
  3. Linked neighbors. Only when relationship context is needed, pull graph / backlinks for 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能