memos-memory-guide
Skill này làm gì
Skill hướng dẫn agent AI cách tìm kiếm và dùng bộ nhớ dài hạn từ các cuộc trò chuyện trước bằng các công cụ bộ nhớ MemOS. Skill dành cho người muốn agent nhớ lịch sử và sở thích của họ.
Khi nào nên dùng
- ✓Khi bạn nhắc đến một cuộc trò chuyện cũ hoặc điều bạn đã nói với agent trước đây.
- ✓Khi tra cứu bộ nhớ tự động không tìm được gì cho một câu hỏi dài hoặc không rõ.
- ✓Khi bạn muốn agent kiểm tra dữ liệu mà nhóm của bạn đã chia sẻ.
Liên kết skill
https://github.com/MemTensor/MemOS/blob/main/apps/memos-local-openclaw/skill/memos-memory-guide/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
“Nhắc tôi xem tôi đã quyết định gì về thay đổi giá trong các cuộc trò chuyện trước của chúng ta.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent tìm trong bộ nhớ bằng một truy vấn ngắn, tập trung, rồi đọc các đoạn trích khớp. Sau đó nó dùng các đoạn này để trả lời. Dữ liệu nhóm chỉ được tìm khi truy vấn có bao gồm nó.
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.
MemOS Local Memory — Agent Guide
This skill describes how to use the MemOS memory tools so you can reliably search and use the user's long-term conversation history, query team-shared data, share tasks, and discover or pull reusable skills.
Two sharing planes exist and must not be confused:
- Local agent sharing: visible to agents in the same OpenClaw workspace only.
- Team sharing: visible to teammates through the configured team server.
How memory is provided each turn
- Automatic recall (hook): At the start of each turn, the system runs a memory search using the user's current message and injects relevant past memories into your context. You do not need to call any tool for that.
- When that is not enough: If the user's message is very long, vague, or the automatic search returns no memories, you should generate your own short, focused query and call
memory_searchyourself. - Memory isolation: Each agent can only see its own local private memories and local
publicmemories. Team-shared data only appears when you search withscope="group"orscope="all".
Tools — what they do and when to call
memory_search
- What it does: Search long-term conversation memory for past conversations, user preferences, decisions, and experiences. Returns relevant excerpts with
chunkIdand optionallytask_id. Only returns memories belonging to the current agent or marked as public. - When to call:
- The automatic recall did not run or returned nothing.
- The user's query is long or unclear — generate a short query yourself and call
memory_search(query="..."). - You need to search with a different angle (e.g. filter by
role='user').
- Parameters:
query(string, required) — Natural language search query.scope(string, optional) —'local'(default) for current agent + local shared memories, or'group'/'all'to include team-shared memories.maxResults(number, optional) — Increase when the first search is too narrow.minScore(number, optional) — Lower slightly if recall is too strict.role(string, optional) — Filter local results by'user','assistant','tool', or'system'.
memory_get
- What it does: Get the full original text of a memory chunk. Use to verify exact details from a search hit.
- When to call: A
memory_searchhit looks relevant but you need to see the complete original content, not just the summary/excerpt. - Parameters:
chunkId(string, required) — The chunkId from a search hit.maxChars(number, optional) — Max characters to return (default 4000, max 12000).
memory_write_public
- What it does: Create a brand new local shared memory. These memories are visible to all agents in the same OpenClaw workspace during
memory_search. This does not publish anything to the team server. - When to call: In multi-agent or collaborative scenarios, when you want to create a new persistent shared note from scratch (e.g. shared decisions, conventions, configurations, workflows). Do not use it if you already have a specific memory chunk to expose.
- Parameters:
content(string, required) — The content to write to local shared memory.summary(string, optional) — Short summary of the content.
memory_share
- What it does: Share an existing memory either with local OpenClaw agents, to the team, or to both.
- When to call:
- If you want to share conversation content to team or hub, first retrieve memories related to that content to obtain the right
chunkId(s), then share. target='agents'(default): When those memories would clearly help other agents in the same workspace, you may share proactively without asking the user.target='hub'or'both': Only after explicit user consent when the content would benefit collaborators—explain briefly, ask first, then callhub/both(Hub must be configured). Never silently Hub-share.
- If you want to share conversation content to team or hub, first retrieve memories related to that content to obtain the right
- Do not use when: You are creating a brand-new shared note with no existing chunk—use
memory_write_publicinstead. - Parameters:
chunkId(string, required) — Existing memory chunk ID.target(string, optional) —'agents'(default),'hub', or'both'.visibility(string, optional) — Team visibility when target includes team:'public'(default) or'group'.groupId(string, optional) — Optional team group ID whenvisibility='group'.
Câu hỏi thường gặp
Agent có thấy bộ nhớ của người khác không?
Không. Mỗi agent chỉ thấy bộ nhớ riêng và bộ nhớ công khai cục bộ. Dữ liệu nhóm chỉ xuất hiện khi tìm kiếm có bao gồm nó.
Khác biệt giữa chia sẻ cục bộ và chia sẻ nhóm là gì?
Chia sẻ cục bộ áp dụng cho các agent trong cùng một workspace. Chia sẻ nhóm áp dụng cho đồng đội trên máy chủ nhóm đã cấu hình.
Nếu tìm kiếm bộ nhớ không ra kết quả thì sao?
Agent tự viết một truy vấn tìm kiếm ngắn khác và thử lại.
Chi tiết
Mô tả gốc của tác giả
Use the MemOS Local memory system to search and use the user's past conversations. Use this skill whenever the user refers to past chats, their own preferences or history, or when you need to answer from prior context. When auto-recall returns nothing (long or unclear user query), generate your own short search query and call memory_search. Available tools: memory_search, memory_get, memory_write_public, memory_share, memory_unshare, task_summary, skill_get, skill_search, skill_install, skill_publish, skill_unpublish, network_memory_detail, network_skill_pull, network_team_info, memory_timelin
repo: MemTensor/MemOS
Độ phổ biến
- Sao GitHub
- 12k
- Vị trí xếp hạng
- #11400
- 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
memos-local
12kGiúp agent của bạn cài đặt và thiết lập MemOS, một plugin bộ nhớ cục bộ cho OpenClaw, để nó nhớ các cuộc trò chuyện trước trên thiết bị của bạn.
browserwing-admin
12kGiúp agent của bạn cài đặt và quản lý BrowserWing, một công cụ tự động hóa trình duyệt, gồm tạo, chạy và sửa các script tự động hóa.
browserwing-executor
12kCho phép agent của bạn điều khiển trình duyệt qua HTTP API để mở trang, nhấp, gõ, trích xuất dữ liệu, chụp màn hình và chạy hàng loạt bước.
ask-user-question
12kCho phép agent của bạn mở một hộp câu hỏi trong ứng dụng để hỏi bạn về một lựa chọn, sở thích hoặc sự phê duyệt trước khi tiếp tục tác vụ.
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.