跳到正文
Skillpedia
智能体48k · #3663

agent-memory-systems

它能做什么

这个工具帮助你设计 AI 智能体如何“记住”重要信息。它规定了智能体应该存储什么、如何存储以及保存多久,并确保每位用户的信息彼此分开。

适用场景

  • ✓当你希望 AI 在不同对话之间记住某位用户的偏好时。
  • ✓如果 AI 把不同用户的信息混在了一起时。
  • ✓当你规划如何有条理地存储和调取旧对话时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-memory-systems/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-memory-systems/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“为我的客服机器人设计一套记忆系统,让它能分别记住每位客户的偏好,即使他们使用同一个账号。”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会分析机器人需要记住的内容(事实、事件、方法)、对应的用户是谁,以及存储规则。然后它会定义如何存储和调取这些信息,确保内容不会混淆,并且只有信息的所有者才能访问。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Agent Memory Systems

Choose semantic records for facts/preferences, episodic records for events, and procedural records for reusable methods. Keep retrieval quality separate from storage volume and bind persistent access to verified identity.

Procedure

  1. Establish the actual task, authenticated tenant/user, permission to retain content, retention limits and existing store/model versions.
  2. Read the guide's tenant-scoped contract and relevant storage/chunking sections. Select an adapter supported by the installed SDK; the guide's historical sketches are not deployable integrations.
  3. Specify record IDs, source evidence, timestamps, namespace, retrieval limits and conflict/version policy. Preserve originals and propose consolidation without deletion.
  4. Test cross-identity rejection, stale/conflicting records, bounded retrieval and failed writes with isolated fixtures. Benchmark retrieval against held-out questions before expanding storage.
  5. Deliver the architecture and evidence-backed change plan, listing unresolved adapters and hosted cost/data destinations. Apply only the persistence or provider operations actually authorized.

Detailed Guide

Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.

When to Use

  • Design memory namespaces and retention for an agent serving distinct tenants or users.
  • Diagnose retrieval of stale, conflicting or unauthorized conversation records.
  • Plan an embedding/store migration while preserving source records and verifying isolation.

Example

Request: “Our support agent forgets preferences between sessions. Design memory for two customer tenants without sharing their history.”

Output: Load the tenant-scoped contract and background-extraction sections. Propose a semantic namespace per verified tenant/user, records with source IDs and revisions, and bounded retrieval. Retain conflicting preferences until the owner resolves them; include tests that tenant B cannot retrieve or consolidate tenant A records. Identify the existing persistent adapter and consent/retention evidence before any write.

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.
常见问题

“语义”、“情景”和“程序性”记录分别是什么?

语义记录保存事实和偏好。情景记录保存过去发生的事件。程序性记录保存智能体使用的方法或步骤。

为什么要按用户分开存储记忆?

为了保护隐私,并防止一个用户看到或影响另一个用户的信息。每位用户都有自己的“记忆盒”。

“检索质量”是什么意思?

指 AI 在需要时找到正确且相关信息的能力,并且不会被陈旧或错误的数据干扰。

详情

作者的原始描述

Design tenant-scoped memory, retrieval and retention for agents. Use when planning RAG, conversation history, vector stores or remembering across sessions.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#3663
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能