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.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
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
- Establish the actual task, authenticated tenant/user, permission to retain content, retention limits and existing store/model versions.
- 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.
- Specify record IDs, source evidence, timestamps, namespace, retrieval limits and conflict/version policy. Preserve originals and propose consolidation without deletion.
- Test cross-identity rejection, stale/conflicting records, bounded retrieval and failed writes with isolated fixtures. Benchmark retrieval against held-out questions before expanding storage.
- 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.
Độ 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
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.