跳到正文
Skillpedia
智能体101k · #1262

mem-search

它能做什么

这个工具可以帮助 AI 记住过去的对话和工作内容。它可以搜索自己的记忆,找出之前做过什么,或某个问题是如何解决的。

适用场景

  • ✓当你想确认某个问题是否已经解决过时。
  • ✓当你需要回忆之前某次会话中是如何做某件事的时候。
  • ✓当你想接着在另一段对话中停下的工作继续做时。

技能链接

https://github.com/thedotmack/claude-mem/blob/main/claude-mem-cursor/skills/mem-search/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“在我的记忆中搜索上周我们是如何解决路线优化问题的。”

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

工作原理

AI 会先在记忆中查找相关信息。如有需要,它还可以调取更深入的细节,甚至是之前发生过的具体交互内容。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

mem-search

Layered workflow. Do not dump full observations until IDs are filtered, and do not reach for raw tool bodies until the summaries came up short.

  1. search(query) — index with IDs
  2. timeline(anchor=ID) — nearby context
  3. get_observations(ids=[...]) — full details for those IDs only
  4. get_tool_uses(ids=[...]) — the ORIGINAL tool_input / tool_response for specific tool calls. Last resort: these are unsummarized and can run to thousands of tokens each.

Stamp platformSource as cursor or grok-bot on writes for this host. When reading, do not drop the other host unless asked.

If MCP is missing, run the install skill first (npx claude-mem install --ide <host>).

常见问题

什么是“ID”?

ID 就像唯一的标签,AI 用它来识别和整理记忆中的不同信息。

为什么 AI 不会一次性显示全部内容?

AI 会逐步显示信息,这样更高效,也不会用不必要的细节打扰你。只有当你提出要求,或初始信息不够时,它才会显示更多细节。

“tool_input”和“tool_response”是什么?

它们是 AI 与其他工具或系统交互时使用的具体指令,以及收到的回应。这些是非常技术性的细节,通常不需要关注。

详情

作者的原始描述

Use this when the user asks to search memory, "did we already solve this?", "how did we do X last time?", or wants work from previous sessions.

repo: thedotmack/claude-mem

热度

GitHub 星标
101k
排名
#1262
许可证
Apache-2.0
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能