agent-memory 精选
A hybrid memory system that provides persistent, searchable knowledge management for AI agents.
安装方式
cp -r plugins/agentic-awesome-skills-claude/skills/agent-memory ~/.claude/skills/agent-memory把该 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/SKILL.md下载后另存为 ~/.claude/skills/agent-memory/SKILL.md。链接锁定采集时的 commit,内容与本站展示一致。
整仓一次性获取:git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills.git
依赖与权限
- 无需 API Key
- 需要联网访问外部服务
- 依赖外部命令:
nodenpm - 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
SKILL.md 正文
agentMemory Skill
When to Use
Use this skill when you need a hybrid memory system that provides persistent, searchable knowledge management for AI agents.
This skill extends your capabilities by providing a persistent, searchable memory bank that automatically syncs with project documentation.
Prerequisites
- Node.js installed
- Check if
agentMemoryis already installed in the project:
ls -la .agentMemory
Setup
- Install Dependencies:
npm install
- Build the Project:
npm run compile
- Start the Memory Server:
You need to run the MCP server to interact with the memory bank.
npm run start-server <project_id> <absolute_path_to_workspace>
Note: This skill typically runs as a background process or via an mcp-server configuration. ensuring it is running is key.
Capabilities (MCP Tools)
Once the server is running, you can use these 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({})
Workflow
- Initialization: The first time you run this in a project, it may attempt to import existing markdown memory banks from
.kilocode/,.clinerules/, or.roo/. - Development Loop:
- Before Task: Search memory for relevant context.
- During Task: Use read/search to answer questions.
- After Task: Write new findings to memory.
- Sync: Your writes are automatically synced to standard markdown files in the project.
Example
User request:
Use @agent-memory for this task: A hybrid memory system that provides persistent, searchable knowledge management for AI agents.
Limitations
- Use this skill only when the task clearly matches its upstream source and local project context.
- Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.
- Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.
质量与来源
- 所属仓库
- sickn33/agentic-awesome-skills
- 仓库星标
- 4.7 万
- 最近更新
- 今天
- 采集时间
- 今天
- commit
- 09e94102a500
- 内容指纹
- sha256:e0772d7c6f8ab68
- 文件路径
- plugins/agentic-awesome-skills-claude/skills/agent-memory/SKILL.md