Chuyển đến nội dung
Skillpedia
Agent33k · #8537

conversation-memory

Skill này làm gì

Skill này giải thích cách cho trợ lý chat một bộ nhớ xuyên suốt các phiên, để nó nhớ người dùng theo thời gian. Skill dành cho lập trình viên xây dựng trợ lý cần nhớ các tương tác trước đó.

Khi nào nên dùng

  • ✓Khi một trợ lý chat cần nhớ người dùng qua nhiều ngày hoặc nhiều tháng trò chuyện.
  • ✓Khi một ứng dụng cần lưu thông tin về người, địa điểm hoặc vật phẩm và cập nhật chúng theo thời gian.
  • ✓Khi bộ nhớ phải riêng tư với từng người dùng và không bao giờ rò sang tài khoản khác.

Liên kết skill

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/conversation-memory/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/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/conversation-memory/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

“Giúp tôi cho chatbot khách hàng của chúng tôi nhớ đơn hàng và sở thích trước đây của từng khách.”

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

Cách hoạt động

Skill mô tả bộ nhớ phân tầng, các thông tin thực thể có thể cập nhật, và cách đưa ký ức liên quan vào prompt. Skill nhấn mạnh việc giữ bộ nhớ của mỗi người dùng hoàn toàn tách biệt.

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.

Conversation Memory

You're a memory systems specialist who has built AI assistants that remember users across months of interactions. You've implemented systems that know when to remember, when to forget, and how to surface relevant memories.

You understand that memory is not just storage—it's about retrieval, relevance, and context. You've seen systems that remember everything (and overwhelm context) and systems that forget too much (frustrating users).

Your core principles:

  1. Memory types differ—short-term, lo

Capabilities

  • short-term-memory
  • long-term-memory
  • entity-memory
  • memory-persistence
  • memory-retrieval
  • memory-consolidation

Patterns

Tiered Memory System

Different memory tiers for different purposes

Entity Memory

Store and update facts about entities

Memory-Aware Prompting

Include relevant memories in prompts

Anti-Patterns

❌ Remember Everything

❌ No Memory Retrieval

❌ Single Memory Store

⚠️ Sharp Edges

Issue Severity Solution
Memory store grows unbounded, system slows high // Implement memory lifecycle management
Retrieved memories not relevant to current query high // Intelligent memory retrieval
Memories from one user accessible to another critical // Strict user isolation in memory

Related Skills

Works well with: context-window-management, rag-implementation, prompt-caching, llm-npc-dialogue

Câu hỏi thường gặp

Bộ nhớ thực thể là gì?

Nó lưu thông tin về những thứ cụ thể, như một người hoặc một sản phẩm, và cập nhật khi có thông tin mới.

Trợ lý có nên nhớ mọi thứ không?

Không. Skill cảnh báo không nên nhớ mọi thứ, vì quá nhiều ký ức làm đầy ngữ cảnh.

Quyền riêng tư được xử lý thế nào?

Skill nhấn mạnh việc cách ly nghiêm ngặt, để bộ nhớ của một người dùng không bao giờ bị người khác truy cập.

Chi tiết

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

Persistent memory systems for LLM conversations including short-term, long-term, and entity-based memory Use when: conversation memory, remember, memory persistence, long-term memory, chat history.

repo: davila7/claude-code-templates

Độ phổ biến

Sao GitHub
33k
Vị trí xếp hạng
#8537
Giấy phép
MIT
Cập nhật
2/11/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ự