Logo Memos Memory Guide

Memos Memory Guide

Tổ chứcPhổ biến
MemTensor
memos-memory-guide

Dùng hệ thống bộ nhớ MemOS Local để tìm kiếm và sử dụng các cuộc trò chuyện trước đây của người dùng. Dùng kỹ năng này bất cứ khi nào người dùng nhắc đến các cuộc trò chuyện trước, sở thích hoặc lịch sử của họ, hay khi bạn cần trả lời dựa trên ngữ cảnh trước đó. Khi tính năng tự động gọi lại không trả về kết quả (với truy vấn dài hoặc không rõ ràng), hãy tự tạo truy vấn tìm kiếm ngắn rồi gọi memory_search. Các công cụ hiện có: 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_timeline, memory_viewer.

Add to TypingMind

Tổng quan

Nhà phát hànhMemTensor
Kho mãMemOS
Tên kỹ năngmemos-memory-guide
Sao
11.4K
Bản fork
1K
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được MemTensor công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Memos Memory Guide trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/MemTensor/MemOS/tree/main/apps/memos-local-openclaw/skill/memos-memory-guide
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MemTensor/MemOS.git /tmp/MemOS
mkdir -p .claude/skills
cp -r /tmp/MemOS/apps/memos-local-openclaw/skill/memos-memory-guide .claude/skills/memos-memory-guide
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Memos Memory Guide trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Memos Memory Guide ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Memos Memory Guide với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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_search yourself.
  • Memory isolation: Each agent can only see its own local private memories and local public memories. Team-shared data only appears when you search with scope="group" or scope="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 chunkId and optionally task_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_search hit 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 call hub/both (Hub must be configured). Never silently Hub-share.
  • Do not use when: You are creating a brand-new shared note with no existing chunk—use memory_write_public instead.
  • 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 when visibility='group'.

memory_unshare

  • What it does: Remove an existing memory from local agent sharing, team sharing, or both.
  • When to call: A memory should no longer be visible outside the current agent or should be removed from the team.
  • Parameters:
    • chunkId (string, required) — Existing memory chunk ID.
    • target (string, optional) — 'agents', 'hub', or 'all' (default).
    • privateOwner (string, optional) — Rare fallback only for older public memories that have no recorded original owner.

task_summary

  • What it does: Get the detailed summary of a complete task: title, status, narrative summary, and related skills. Use when memory_search returns a hit with a task_id and you need the full story. Preserves critical information: URLs, file paths, commands, error codes, step-by-step instructions.
  • When to call: A memory_search hit included a task_id and you need the full context of that task.
  • Parameters:
    • taskId (string, required) — The task_id from a memory_search hit.

skill_get

  • What it does: Retrieve a proven skill (experience guide) by skillId or by taskId. If you pass a taskId, the system will find the associated skill automatically.
  • When to call: A search hit has a task_id and the task has a "how to do this again" guide. Use this to follow the same approach or reuse steps.
  • Parameters:
    • skillId (string, optional) — Direct skill ID.
    • taskId (string, optional) — Task ID — will look up the skill linked to this task.
    • At least one of skillId or taskId must be provided.

skill_search

  • What it does: Search available skills by natural language. Searches your own skills, local shared skills, or both. It can also include team skills.
  • When to call: The current task requires a capability or guide you don't have. Use skill_search to find one first; after finding it, use skill_get to read it, then skill_install to load it for future turns.
  • Parameters:
    • query (string, required) — Natural language description of the needed skill.
    • scope (string, optional) — 'mix' (default, self + local shared), 'self', 'public' (local shared only), or 'group' / 'all' to include team results.

skill_install

  • What it does: Install a learned skill into the agent workspace so it becomes permanently available. After installation, the skill will be loaded automatically in future sessions.
  • When to call: After skill_get when the skill is useful for ongoing use.
  • Parameters:
    • skillId (string, required) — The skill ID to install.

skill_publish

  • What it does: Share a skill with local agents, or publish it to the team.
  • When to call: You have a useful skill that other agents or your team could benefit from.
  • Parameters:
    • skillId (string, required) — The skill ID to publish.
    • target (string, optional) — 'agents' (default) or 'hub'.
    • visibility (string, optional) — When target='hub', use 'public' (default) or 'group'.
    • groupId (string, optional) — Optional team group ID when target='hub' and visibility='group'.
    • scope (string, optional) — Backward-compatible alias for old calls. Prefer target + visibility in new calls.

skill_unpublish

  • What it does: Stop local agent sharing, remove a team-published copy, or do both.
  • When to call: You want to stop sharing a previously published skill.
  • Parameters:
    • skillId (string, required) — The skill ID to unpublish.
    • target (string, optional) — 'agents' (default), 'hub', or 'all'.

network_memory_detail

  • What it does: Fetches the full content behind a team search hit.
  • When to call: A memory_search result came from the team and you need the full shared memory content.
  • Parameters: remoteHitId.

task_share / task_unshare

  • What they do: Share a local task to the team, or remove it later.
  • When to call: A task is valuable to your group or to the whole team and should be discoverable via shared search.
  • Parameters: taskId, plus sharing visibility/scope when required.

network_skill_pull

  • What it does: Pulls a team-shared skill bundle down into local storage.
  • When to call: skill_search found a useful team skill and you want to use it locally or offline.
  • Parameters: skillId.

network_team_info

  • What it does: Returns current team server connection information, user, role, and groups.
  • When to call: You need to confirm whether team sharing is configured or which groups the current client belongs to.
  • Call this first before: memory_share(... target='hub'|'both'), memory_unshare(... target='hub'|'all'), task_share, task_unshare, skill_publish(... target='hub'), skill_unpublish(... target='hub'|'all'), or network_skill_pull.
  • Parameters: none.

memory_timeline

  • What it does: Expand context around a memory search hit. Pass the chunkId from a search result to read the surrounding conversation messages.
  • When to call: A memory_search hit is relevant but you need the surrounding dialogue.
  • Parameters:
    • chunkId (string, required) — The chunkId from a memory_search hit.
    • window (number, optional) — Context window ±N messages, default 2.

memory_viewer

  • What it does: Show the MemOS Memory Viewer URL. Call this when the user asks how to view, browse, manage, or check their memories. Returns the URL the user can open in their browser.
  • When to call: The user asks where to see or manage their memories.
  • Parameters: None.

Quick decision flow

  1. No memories in context or auto-recall reported nothing → Call memory_search(query="...") with a self-generated short query.

  2. Need to see the full original text of a search hit → Call memory_get(chunkId="...").

  3. Search returned hits with task_id and you need full context → Call task_summary(taskId="...").

  4. Task has an experience guide you want to follow → Call skill_get(taskId="...") or skill_get(skillId="..."). Optionally skill_install(skillId="...") for future use.

  5. You need the exact surrounding conversation of a hit → Call memory_timeline(chunkId="...").

  6. You need a capability/guide that you don't have → Call skill_search(query="...", scope="mix") to discover available skills.

  7. You have new shared knowledge useful to all local agents → Call memory_write_public(content="...").

  8. You already have an existing memory chunk and want to expose or hide it → Call memory_share(chunkId="...", target="agents|hub|both") or memory_unshare(chunkId="...", target="agents|hub|all").

  9. You are about to do anything team-sharing-related → Call network_team_info() first if team server availability is uncertain.

  10. You want to share/stop sharing a skill with local agents or team → Prefer skill_publish(skillId="...", target="agents|hub", visibility=...) and skill_unpublish(skillId="...", target="agents|hub|all").

  11. User asks where to see or manage their memories → Call memory_viewer() and share the URL.

Writing good search queries

  • Prefer short, focused queries (a few words or one clear question).
  • Use concrete terms: names, topics, tools, or decisions.
  • If the user's message is long, derive one or two sub-queries rather than pasting the whole message.
  • Use role='user' when you specifically want to find what the user said.

Memory ownership and agent isolation

Each memory is tagged with an owner (e.g. agent:main, agent:sales-bot). This is handled automatically — you do not need to pass any owner parameter.

  • Your memories: All tools (memory_search, memory_get, memory_timeline) automatically scope queries to your agent's own memories.
  • Local shared memories: Memories marked as local shared are visible to all agents in the same OpenClaw workspace. Use memory_write_public to create them, or memory_share(target='agents') to expose an existing chunk.
  • Cross-agent isolation: You cannot see memories owned by other agents (unless they are public).
  • How it works: The system identifies your agent ID from the OpenClaw runtime context and applies owner filtering automatically on every search, recall, and retrieval.

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

Kỹ năng AI Memos Memory Guide làm được gì?

Dùng hệ thống bộ nhớ MemOS Local để tìm kiếm và sử dụng các cuộc trò chuyện trước đây của người dùng. Dùng kỹ năng này bất cứ khi nào người dùng nhắc đến các cuộc trò chuyện trước, sở thích hoặc lịch sử của họ, hay khi bạn cần trả lời dựa trên ngữ cảnh trước đó. Khi tính năng tự động gọi lại không trả về kết quả (với truy vấn dài hoặc không rõ ràng), hãy tự tạo truy vấn tìm kiếm ngắn rồi gọi memory_search. Các công cụ hiện có: memory_search, memory_get, memory_write_public, memory_share, memory_unshare, task_summary, skill_get, skill_search, skill_install, skill_publish, skill_unpublish, ne...

Vì sao nên dùng Memos Memory Guide trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Memos Memory Guide là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Memos Memory Guide trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/MemTensor/MemOS/tree/main/apps/memos-local-openclaw/skill/memos-memory-guide. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Memos Memory Guide?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Memos Memory Guide với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Memos Memory Guide với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Memos Memory Guide có miễn phí không?

Có. Kỹ năng này được MemTensor phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇