agent-memory-mcp 精选
A hybrid memory system that provides persistent, searchable knowledge management for AI agents (Architecture, Patterns, Decisions).
安装方式
cp -r plugins/agentic-awesome-skills-claude/skills/agent-memory-mcp ~/.claude/skills/agent-memory-mcp把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/
/plugin marketplace add sickn33/agentic-awesome-skills⚠️ 该命令形态随客户端版本变化,仅在检测到 .claude-plugin/marketplace.json 时展示;不可用时请用「目录复制」。
https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/09e94102a5008d4d8066e14bdb8d0b95d365748c/plugins/agentic-awesome-skills-claude/skills/agent-memory-mcp/SKILL.md下载后另存为 ~/.claude/skills/agent-memory-mcp/SKILL.md。链接锁定采集时的 commit,内容与本站展示一致。
整仓一次性获取:git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills.git
依赖与权限
- 无需 API Key
- 需要联网访问外部服务
- 依赖外部命令:
gitnodenpm - 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
SKILL.md 正文
Agent Memory Skill
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.
Prerequisites
- Node.js (v18+)
Setup
- Review the Repository:
Ask the user to approve network access to the named repository, then clone the
pinned revision into a temporary directory, not an active skills path:
review_dir="$(mktemp -d)"
git clone --filter=blob:none https://github.com/webzler/agentMemory.git "$review_dir/agent-memory"
git -C "$review_dir/agent-memory" checkout --detach 0409b7b7bb6fe443d0d4b6a6b1ee0d4df214f3cd
git -C "$review_dir/agent-memory" ls-files
Read all bundled files and inspect package.json, lockfiles, lifecycle
scripts, network behavior, credential access, and filesystem scope. Show the
findings and exact commit, then wait for explicit user approval.
- Install the Reviewed Revision:
Copy the reviewed tree to a user-selected location after approval. Install
locked dependencies only after the package scripts have been reviewed:
cd <approved-agent-memory-directory>
npm ci
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)
Capabilities (MCP Tools)
memory_search
Search for memories by query, type, or tags.
- Args:
query(string),type?(string),tags?(string[]) - Usage: "Find all authentication patterns" ->
memory_search({ query: "authentication", type: "pattern" })
memory_write
Record new knowledge or decisions.
- Args:
key(string),type(string),content(string),tags?(string[]) - Usage: "Save this architecture decision" ->
memory_write({ key: "auth-v1", type: "decision", content: "..." })
memory_read
Retrieve specific memory content by key.
- Args:
key(string) - Usage: "Get the auth design" ->
memory_read({ key: "auth-v1" })
memory_stats
View analytics on memory usage.
- Usage: "Show memory statistics" ->
memory_stats({})
Dashboard
This skill includes a standalone dashboard to visualize memory usage.
npm run start-dashboard <absolute_path_to_target_workspace>
Access at: http://localhost:3333
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
- Re-review upstream before changing the pinned revision; a commit pin improves reproducibility but is not a trust guarantee.
质量与来源
- 所属仓库
- sickn33/agentic-awesome-skills
- 仓库星标
- 4.7 万
- 最近更新
- 今天
- 采集时间
- 今天
- commit
- 09e94102a500
- 内容指纹
- sha256:79beb3cef4b82bf
- 文件路径
- plugins/agentic-awesome-skills-claude/skills/agent-memory-mcp/SKILL.md