agent-memory-mcp by davila7/claude-code-templates
npx skills add https://github.com/davila7/claude-code-templates --skill agent-memory-mcp本技能提供了一个持久化、可搜索的记忆库,能够自动与项目文档同步。它作为 MCP 服务器运行,允许对长期记忆进行读取/写入/搜索。
克隆仓库:将 agentMemory 项目克隆到你的智能体工作区或一个并行目录中:
git clone https://github.com/webzler/agentMemory.git .agent/skills/agent-memory
安装依赖:
cd .agent/skills/agent-memory npm install npm run compile
启动 MCP 服务器:使用辅助脚本为你当前的项目激活记忆库:
npm run start-server <project_id> <absolute_path_to_target_workspace>
针对当前目录的示例:
npm run start-server my-project $(pwd)
memory_search通过查询、类型或标签搜索记忆。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
query (string), type? (string), tags? (string[])memory_search({ query: "authentication", type: "pattern" })memory_write记录新知识或决策。
key (string), type (string), content (string), tags? (string[])memory_write({ key: "auth-v1", type: "decision", content: "..." })memory_read通过键检索特定的记忆内容。
key (string)memory_read({ key: "auth-v1" })memory_stats查看记忆使用情况的分析。
memory_stats({})此技能包含一个独立的仪表板,用于可视化记忆使用情况。
npm run start-dashboard <absolute_path_to_target_workspace>
访问地址:http://localhost:3333
每周安装量
331
仓库
GitHub 星标数
23.5K
首次出现
2026年1月25日
安全审计
安装于
opencode284
gemini-cli268
codex266
github-copilot254
claude-code230
cursor217
This skill provides a persistent, searchable memory bank that automatically syncs with project documentation. It runs as an MCP server to allow reading/writing/searching of long-term memories.
Clone the Repository : Clone the agentMemory project into your agent's workspace or a parallel directory:
git clone https://github.com/webzler/agentMemory.git .agent/skills/agent-memory
Install Dependencies :
cd .agent/skills/agent-memory
npm install
npm run compile
Start the MCP Server : Use the helper script to activate the memory bank for your current project:
npm run start-server <project_id> <absolute_path_to_target_workspace>
Example for current directory:
npm run start-server my-project $(pwd)
memory_searchSearch for memories by query, type, or tags.
query (string), type? (string), tags? (string[])memory_search({ query: "authentication", type: "pattern" })memory_writeRecord new knowledge or decisions.
key (string), type (string), content (string), tags? (string[])memory_write({ key: "auth-v1", type: "decision", content: "..." })memory_readRetrieve specific memory content by key.
key (string)memory_read({ key: "auth-v1" })memory_statsView analytics on memory usage.
memory_stats({})This skill includes a standalone dashboard to visualize memory usage.
npm run start-dashboard <absolute_path_to_target_workspace>
Access at: http://localhost:3333
Weekly Installs
331
Repository
GitHub Stars
23.5K
First Seen
Jan 25, 2026
Security Audits
Gen Agent Trust HubFailSocketPassSnykPass
Installed on
opencode284
gemini-cli268
codex266
github-copilot254
claude-code230
cursor217
超能力技能使用指南:AI助手技能调用优先级与工作流程详解
40,300 周安装