Recall

rohitg00/agentmemory/plugin/skills/recall

作者 rohitg00007a1a7fe864无许可证29K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库今天更新

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.

仅含说明AI & Agents
AI 生成的概览

通过混合搜索检索过往的智能体记忆观察与会话,仅呈现工具实际返回的内容。

功能
对智能体记忆库执行 memory_smart_search 查询,按会话分组、按重要性排序展示匹配的历史观察记录。每条结果包含类型、标题和叙述,并借助来源渠道解决冲突。若无匹配结果,则建议替代搜索词,而不是编造内容。
适用场景
适用于用户要求回忆、询问某事的处理情况、是否曾经见过,或需要此前会话上下文的场景。也适合将搜索限定到特定项目或代码库时使用。
运行要求
需要访问名为 memory_smart_search 的智能体记忆搜索工具;不附带脚本,仅为说明文档。当该工具不可用时,会引用一份共享的故障排查文档。

The user wants to recall past context about: $ARGUMENTS

Quick start

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

Expected output:

text
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.
  2. Group results by session. Records carry a provenance channel (user, agent, tool, import, shared); when results conflict, prefer user over agent inference, and flag shared records as another teammate's write.
  3. For each observation show its type, title, and narrative.
  4. Lead with the high-signal observations (importance >= 7).
  5. If zero results, 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 ../_shared/TROUBLESHOOTING.md if memory_smart_search is not available.

来源与署名

来源:rohitg00/agentmemory位于plugin/skills/recall提交007a1a7

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架