memory-management
Skill này làm gì
Skill giải thích cách AI nên tra cứu công việc trước đó khi bạn nhắc đến, và loại bài học nào nên được lưu để dùng sau. Dành cho người dùng DeepChat muốn AI tích lũy kiến thức hữu ích theo thời gian.
Khi nào nên dùng
- ✓Khi người dùng nhắc đến công việc trước đó bằng những từ như lần trước hoặc tiếp tục.
- ✓Khi người dùng muốn một bài học hoặc sở thích được lưu để các cuộc trò chuyện sau tuân theo.
- ✓Khi người dùng cần nguồn chính xác hoặc nhật ký đằng sau một quyết định trước đây.
Liên kết skill
https://github.com/ThinkInAIXYZ/deepchat/blob/dev/resources/skills/memory-management/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
“Hãy nhớ rằng tôi thích câu trả lời ngắn với gạch đầu dòng, và tiếp tục từ chỗ chúng ta dừng ở báo cáo.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill yêu cầu AI dựa vào bộ nhớ có sẵn cho bối cảnh thông thường, tìm lại các bản ghi trước khi được yêu cầu chi tiết chính xác, và chỉ lưu các kết luận bền vững vào danh mục cụ thể nhấ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.
Memory Management
Use this skill when a task may produce durable learning or when the user asks you to recall, remember, continue earlier work, preserve an exact statement, capture a reusable procedure, or handle a recurring need.
Recall
Rely on automatic memory injection for ordinary context. Use memory_recall when the user refers to previous work with cues such as again, last time, before, continue, same project, remember, or asks what you already know.
Use tape_search and then tape_context when the user needs source evidence, exact wording, logs, command output, file snippets, or why a prior decision was made. Memory is a durable conclusion layer, not the raw transcript.
Remember
Use memory_remember only for durable conclusions that should change future behavior. Choose the most specific category:
user_preference: stable user preferences, constraints, communication style, environment choices.project_fact: durable project conventions, architecture entry points, commands, dependencies, paths, or operational constraints.task_outcome: completed, blocked, or deliberately deferred task results. Include status, outcome, and blocker in prose when relevant.heuristic: reusable troubleshooting strategy, workflow, decision rule, or engineering lesson.anti_pattern: repeated mistake, unsafe approach, brittle pattern, stale assumption, or thing to avoid.
Do not remember raw tool results, bash output, grep output, file contents, transient mechanics, one-off failures, secrets, credentials, hidden reasoning, or anything only useful for the current turn.
Verbatim Scope
Store exact wording only when the user explicitly asks you to remember a sentence or phrase verbatim. In that case, keep the requested text intact and make the surrounding content minimal.
Automatic extraction is different: it should normalize durable facts into concise memory content, deduplicate related entries, and avoid preserving raw transcript text.
Procedures -> Skill
When the useful learning is a reusable multi-step procedure, prefer drafting a skill with skill_manage instead of stuffing the full procedure into Memory. Memory may keep a short pointer or heuristic, but the repeatable workflow belongs in a Skill.
Use skill_manage for draft skills only. Do not modify installed skills unless the user explicitly asks through the supported review flow.
Recurring -> Scheduled Task
When the user asks for a periodic, low-frequency, or future recurring action, suggest creating a Scheduled Task in settings. Memory does not wake the agent, schedule future work, or create automation side effects.
End-of-task Learning Check
Before finishing a non-trivial task, check whether there is one durable lesson to save:
- Did the user reveal a stable preference or constraint?
- Did you learn a durable project fact?
- Is there a task outcome, blocker, or explicit deferral worth preserving?
- Did a reusable heuristic work?
- Did an anti-pattern or stale assumption become clear?
- Is this actually a reusable procedure for
skill_manageor a recurring need for Scheduled Tasks rather than Memory?
Remember only the smallest durable conclusion. Leave raw process in Tape.
Câu hỏi thường gặp
Khác nhau giữa bộ nhớ và bản ghi gốc là gì?
Skill nói bộ nhớ giữ các kết luận bền vững, còn bản ghi gốc giữ nguyên văn và nhật ký chính xác.
Nó lưu những loại bài học nào?
Nó nêu các danh mục như sở thích người dùng, dữ kiện dự án, kết quả tác vụ, kinh nghiệm dùng lại được và mẫu nên tránh.
Nó có lưu mọi thứ từ một cuộc trò chuyện không?
Không. Skill nói chỉ lưu những kết luận nên thay đổi hành vi trong tương lai.
Chi tiết
Mô tả gốc của tác giả
Guide the agent to recall, remember, and route durable learning into Memory, Skills, Scheduled Tasks, or Tape.
repo: ThinkInAIXYZ/deepchat
Độ phổ biến
- Sao GitHub
- 6.4k
- Vị trí xếp hạng
- #14233
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
computer-use
6.4kGiúp agent của bạn thao tác với ứng dụng máy tính để bàn, như mở, đọc và nhấp qua một chương trình để hoàn thành tác vụ.
feishu-tools
6.4kGiúp agent của bạn đọc và sửa tài liệu, bảng tính và nội dung không gian làm việc Feishu hoặc Lark thông qua các công cụ Feishu đã kết nối.
memcode
6.4kGiúp agent của bạn lưu các sự kiện đã được duyệt vào Memcode và gợi lại ký ức liên quan qua các cuộc trò chuyện, chỉ khi bạn yêu cầu.
nowledge-mem
6.4kGiúp agent của bạn dùng Nowledge Mem để tải bối cảnh khởi đầu, gợi lại các quyết định trước đó, lưu những bài học hữu ích và kiểm tra kết nối.
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.