跳到正文
Skillpedia
智能体30k · #9351

recall

它能做什么

这项技能在智能体的记忆中搜索某个主题在之前会话中做过或决定过的事情。适合希望快速接上之前工作线索的人。

适用场景

  • ✓当你问“我们之前对某个主题做过什么”或“我们是否处理过某件事”的时候。
  • ✓当你想在开始新工作之前,调回先前会话的背景时。
  • ✓当你想检查某个问题是否曾经出现过时。

技能链接

https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/recall/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“我们是否决定过如何轮换登录令牌?请找出我们为此保存过的内容。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会对已保存的记忆进行关键词与语义相结合的搜索,并返回匹配结果。它只显示搜索实际找到的内容,并在可用时附上会话和重要性信息。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

The user wants to recall past context about: $ARGUMENTS

Quick start

memory_smart_search { "query": "jwt refresh token rotation", "limit": 10 }

Expected output:

2 results across 2 sessions.
[importance 8] decision · "Rotate refresh tokens on every use" (session 7f3a9c21)
[importance 5] code · "limit.ts counts per-IP" (session b21d004e)

Why

Only surface what the tool returned. Never fabricate an observation, a session id, or an importance score. If nothing comes back, say so.

Workflow

  1. Call memory_smart_search with the user's text as query and limit: 10. Pass project when the user scopes to a specific repo and agentId when they request one agent's history. Use targetLayer: "memory" for explicitly saved knowledge, or targetLayer: "observation" for captured activity. Omit it for mixed search.
  2. Search results are compact. Before quoting full content or describing provenance, call memory_smart_search with the selected IDs as a comma-separated expandIds string and the same project, agent, and layer filters. If expansion fails or the record is no longer available, report that limitation; a title alone is not the full fact.
  3. Group expanded observations by session and show the returned type, title, and narrative. Include provenance only when the response supplies it.
  4. Lead with the high-signal observations (importance >= 7).
  5. With memory_recall, inspect matched_count, excluded_by_budget, and content_truncated before treating an empty or shortened response as absent knowledge. Recover full content with memory_smart_search using expandIds and the same project, agent, and layer filters. minimum_budget reports the estimated budget needed for a minimal preview when the budget is too small.
  6. If there are no matches, suggest 2-3 alternative search terms and stop. Do not guess.

Anti-patterns

WRONG: results are empty, so you write "We probably discussed token expiry last week" from assumption.

RIGHT: "No memories matched that query. Try refresh token, session expiry, or auth rotation."

Checklist

  • Every observation shown came from the tool response.
  • Results grouped by session, high-importance first.
  • Empty results trigger alternative-term suggestions, not invention.
  • No session id or score was paraphrased or rounded.

See also

  • remember: the write side; recall retrieves what it stores.
  • recap, handoff, session-history: session-scoped views of the same data.
  • memory-discipline: when to run this search unprompted.

Troubleshooting

See TROUBLESHOOTING.md if memory_smart_search is not available.

常见问题

如果什么都没找到,它会编造旧笔记吗?

不会。如果没有匹配内容,智能体会直接说明,而不会虚构过去的工作。

我能把搜索限定在一个项目或一个智能体吗?

能。你可以把搜索范围限定在某个代码仓库,或某个智能体的历史中。

它会显示每条记忆的完整细节吗?

它先显示简要结果,然后只展开你选中的那些。

详情

作者的原始描述

Search agentmemory for past observations, sessions, and learnings about a topic using hybrid BM25 plus vector plus graph search. Use when the user says "recall", "what did we do about", "did we ever", "have we seen", or needs context from past sessions.

repo: rohitg00/agentmemory

热度

GitHub 星标
30k
排名
#9351
许可证
Apache-2.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能