Chuyển đến nội dung
Skillpedia
Agent48k · #3663

agent-memory-systems

Skill này làm gì

Công cụ này giúp thiết kế cách một agent AI “ghi nhớ” thông tin quan trọng. Nó sắp xếp những gì agent cần lưu, lưu bằng cách nào và trong bao lâu, đảm bảo thông tin của mỗi người dùng được tách riêng.

Khi nào nên dùng

  • ✓Khi bạn muốn AI ghi nhớ sở thích của người dùng giữa các cuộc trò chuyện khác nhau.
  • ✓Khi AI đang trộn lẫn thông tin của các người dùng khác nhau.
  • ✓Khi lên kế hoạch lưu và truy xuất các cuộc trò chuyện cũ một cách có tổ chức.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-memory-systems/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Thiết kế một hệ thống bộ nhớ cho bot hỗ trợ khách hàng của tôi, để nó ghi nhớ sở thích của từng khách hàng riêng biệt, ngay cả khi họ dùng cùng một tài khoản.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ phân tích những gì bot cần ghi nhớ (sự kiện, dữ kiện, phương pháp), ai là người dùng và các quy tắc lưu trữ. Nó xác định cách lưu và truy xuất thông tin, đảm bảo không bị lẫn lộn và chỉ chủ sở hữu mới truy cập được.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.
Câu hỏi thường gặp

Bản ghi “semantic”, “episodic” và “procedural” là gì?

Bản ghi semantic lưu sự kiện và sở thích. Bản ghi episodic lưu các sự kiện trong quá khứ. Bản ghi procedural lưu các phương pháp hoặc bước mà agent thực hiện.

Vì sao cần tách bộ nhớ theo từng người dùng?

Để bảo vệ quyền riêng tư và ngăn một người dùng xem hoặc ảnh hưởng đến thông tin của người khác. Mỗi người dùng có “hộp bộ nhớ” riêng.

“Chất lượng truy xuất” nghĩa là gì?

Đó là khả năng của AI tìm đúng và liên quan thông tin khi cần, mà không bị nhầm lẫn bởi dữ liệu cũ hoặc sai.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#3663
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự