360 Secure SkillHub
360 安全技能中心

Agentmemory Agents

核心功能:通过`agentmemory connect <agent>`命令将内存服务合并到宿主编码代理配置,保留现有服务,支持REST协议,对MCP宿主适配stdio桥接。典型场景:安装agentmemory到特定代理、查询支持的代理类型、修复适配器配置路径错误。输入为代理名称(如claude-code、cursor等),执行后需重启宿主代理或重载MCP生效,验证需确认代理显示完整工具集。Windows需用WSL2,记忆类技能需单独安装。

rohitg00
rohitg00
热度 15.90
最近更新 2026-07-18 09:19:25
分类:开发依赖:代码执行 / MCP 服务 / 读写文件应用场景:API 集成 / 自动化脚本 / 调试排错 / DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add agentmemory-agents
Metadata
name
agentmemory-agents
description
How agentmemory wires into host coding agents via the connect command. Use when installing agentmemory into a specific agent, when asked which agents are supported, or when a connect adapter writes the wrong config path.
user-invocable
false

agentmemory connect <agent> merges the memory server into a host agent's config and preserves any existing servers. REST is the underlying protocol; for MCP-only hosts the adapter wires the stdio MCP bridge.

Quick start

agentmemory connect claude-code   # or cursor, codex, gemini-cli, ...

After wiring, restart the host or run its MCP reload (for example /mcp in Claude Code) so it picks up the server. Then confirm the agent lists agentmemory's tools.

Workflow

  1. Detect the calling agent. If unknown, default to claude-code.
  2. Run agentmemory connect <name> using a name from the table in REFERENCE.md.
  3. Verify: the host should show the full tool set with a server running. Only 7 tools means the MCP shim could not reach a server (see ../_shared/TROUBLESHOOTING.md).

Notes

  • The action skills (remember, recall, and the rest) are installed separately with npx skills add rohitg00/agentmemory. connect makes tools available; skills teach the agent when to use them.
  • Windows: use WSL2. Native Windows runs the server but connect is not supported there.

See also

  • agentmemory-mcp-tools, agentmemory-rest-api, agentmemory-hooks.

Reference

The full adapter list with display names and protocol notes lives in REFERENCE.md, generated from src/cli/connect/.