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 從公開儲存庫中收錄這些內容。

檢舉或申請下架