This skill describes how to use the MemOS memory tools so you can reliably search and use the user's long-term conversation history.
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. For example:
memory_search with a query you derive (e.g. the user's name, a topic they often mention, or a rephrased question).When you need more detail: Search results only give excerpts and IDs. Use the tools below to fetch full task context, skill content, or surrounding messages.
chunkId and optionally task_id.<memory_context> block, or a note that no memories were found).memory_search(query="...").role='user' to find what the user said, or use a more specific query).query (required), optional minScore, role (e.g. "user").chunkId, and sometimes task_id. Use those IDs with the tools below when you need more context.task_id: title, status, and the complete narrative summary of that conversation task (steps, decisions, URLs, commands, etc.).memory_search hit included a task_id and you need the full story of that task (e.g. what was done, what the user decided, what failed or succeeded).taskId (from a search hit).skillId or by taskId. If you pass taskId, the system finds the skill linked to that task.task_id and the task is the kind that has a "how to do this again" guide (e.g. a workflow the user has run before). Use this to follow the same approach or reuse steps.skillId (direct) or taskId (lookup).skill_install(skillId) if the user or you want that skill loaded for future turns.skillId) into the workspace so it is loaded in future sessions.skill_get when the skill is useful for ongoing use (e.g. the user's recurring workflow). Optional; only when you want the skill to be permanently available.skillId.memory_search hit is relevant but you need the surrounding dialogue (e.g. who said what next, or the exact follow-up question).chunkId (from a search hit), optional window (default 2).No memories in context or auto-recall reported nothing
→ Call memory_search with a self-generated short query (e.g. key topic or rephrased question).
Search returned hits with task_id and you need full context
→ Call task_summary(taskId).
Task has an experience guide you want to follow
→ Call skill_get(taskId=...) (or skill_get(skillId=...) if you have the id). Optionally skill_install(skillId) for future use.
You need the exact surrounding conversation of a hit
→ Call memory_timeline(chunkId=...).
User asks where to see or manage their memories
→ Call memory_viewer() and share the URL.
role='user' when you specifically want to find what the user said (e.g. preferences, past questions).