agentmemory-mcp-tools
它能做什么
这项技能是一份指南,介绍 agentmemory 服务器通过 MCP 提供的工具。它按用途分组,例如保存、检索、会话和知识。
适用场景
- ✓当你想知道某项任务应使用哪个记忆工具时。
- ✓当某个记忆工具的名称或参数不清楚时。
- ✓当你想了解 agentmemory 通过 MCP 能做的所有事情时。
技能链接
https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/agentmemory-mcp-tools/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我应该用哪个 agentmemory 工具保存一项决定,并在之后再次找到它?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会检查已连接服务器的工具列表和模式,然后选择与任务匹配的工具。一种常见的做法是用关键词保存笔记,之后再用智能搜索工具查找它。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
This skill indexes agentmemory's MCP tools. Use the connected server's tool inventory and schemas; a native memory provider may expose a smaller set under different names. Hermes and OpenClaw skills that need the full surface require a separate MCP connection to the running daemon. For Pi and OMP, connect with --with-mcp to enable the broader workflows. Pi exposes MCP names with an mcp__agentmemory__ prefix; OMP exposes MCP operations as xd://mcp__agentmemory_<tool> devices through its write tool.
Quick start
Save then recall:
memory_savewithcontent(the insight),concepts(comma-separated keywords),files(comma-separated paths).memory_smart_searchwithquery,limit, andtargetLayer: "memory"to retrieve saved knowledge later. OmittargetLayerto also search captured observations. This runs hybrid BM25 plus vector plus graph-expanded search.
Tool families
- Capture:
memory_save,memory_compress_file. Automatic observations use native hooks orPOST /agentmemory/observe, not an MCP observation tool. - Retrieve:
memory_smart_search,memory_recall,memory_file_history,memory_timeline,memory_vision_search. - Sessions and commits:
memory_sessions,memory_commits,memory_commit_lookup. - Knowledge and graph:
memory_lesson_save,memory_lesson_recall,memory_graph_query,memory_relations,memory_patterns,memory_crystallize. - Structured slots:
memory_slot_create,memory_slot_append,memory_slot_get,memory_slot_list,memory_slot_replace,memory_slot_delete. - Governance and health:
memory_governance_delete,memory_audit,memory_verify,memory_heal,memory_diagnose.
Workflow
- Pick the narrowest tool for the task. Prefer
memory_smart_searchfor open recall,memory_recallwhen you already have a focused query,memory_sessionsfor session listings. - Look up exact parameter names and which are required in REFERENCE.md before calling.
- Pass only documented fields. REST handlers whitelist fields and drop unknown ones.
- For budgeted
memory_recall, distinguishmatched_count: 0fromexcluded_by_budget > 0. Expand clipped or omitted IDs withmemory_smart_searchandexpandIds, preserving the same scope filters.
See also
- agentmemory-rest-api for the HTTP equivalents.
- agentmemory-config for tool-visibility and feature flags.
- The user-invocable action skills (remember, recall, recap, handoff, forget) wrap the most common tools.
Reference
Full tool table with parameters and the core-set marking lives in REFERENCE.md, generated from source so it never drifts.
常见问题
最简单的保存和回忆方式是什么?
用记忆保存工具保存笔记,然后用智能搜索工具找到它。
所有客户端看到的工具都一样吗?
不一样。有些宿主只提供较少的工具,名称也可能不同,因此应以已连接服务器的列表为准。
工具名称是固定的吗?
指南遵循服务器当前提供的名称,不同宿主的名称可能有所不同。
详情
作者的原始描述
Map of every agentmemory MCP tool, what each does, and its parameters. Use when choosing which memory tool to call, when a tool name or argument is unclear, or when answering what agentmemory can do via MCP.
repo: rohitg00/agentmemory
热度
- GitHub 星标
- 30k
- 排名
- #9343
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agentmemory-agents
30k帮你的智能体把 agentmemory 记忆服务器连接到 Claude Code、Cursor 和 Codex 等编程工具。
agentmemory-architecture
30k解释 agentmemory 如何为编程智能体存储、搜索和管理记忆,从记录到回忆的整个过程。
agentmemory-config
30k帮你的智能体设置并检查 agentmemory 记忆服务器,包括端口、配置和功能开关。
agentmemory-hooks
30k帮你的智能体自动从编程会话中记录有用的笔记,而不需要你逐条手动保存。