Agent Skills
› thedotmack/claude-mem
› mem-search
mem-search
GitHub提供分层记忆搜索工作流,通过ID过滤、时间线上下文及原始工具调用细节检索历史会话数据。适用于查询过往解决方案或工作记录。
Trigger Scenarios
用户询问是否已解决过某问题
用户想了解过去如何完成某任务
需要回溯历史会话的工作内容
Install
npx skills add thedotmack/claude-mem --skill mem-search -g -y
SKILL.md
Frontmatter
{
"name": "mem-search",
"description": "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."
}
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.
search(query)— index with IDstimeline(anchor=ID)— nearby contextget_observations(ids=[...])— full details for those IDs onlyget_tool_uses(ids=[...])— the ORIGINALtool_input/tool_responsefor 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>).
Version History
- 4520de9 Current 2026-09-23 05:11


