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"
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-recall-50ada0400b02 ,按照其中的说明把「recall」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
The user wants to recall past context about: $ARGUMENTS
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)
Only surface what the tool returned. Never fabricate an observation, a session id, or an importance score. If nothing comes back, say so.
memory_smart_search with the user's text as query and limit: 10.
Pass project when the user scopes to a specific repo.user, agent,
tool, import, shared); when results conflict, prefer user over agent
inference, and flag shared records as another teammate's write.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."
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.See ../_shared/TROUBLESHOOTING.md if memory_smart_search is not available.