Memory orchestrator

From OpenBMB/ClawXMemory · View interactive version

Memory orchestrator is an AI agent skill from the GitHub repository OpenBMB/ClawXMemory. Orchestrate ClawXMemory retrieval using memory_search first and memory_get for exact file reads. Use when the user asks for historical context, project progress, project collaboration rules, or user profile facts.

How to use this skill

Skill file

Memory Orchestrator

Use this skill when the answer depends on ClawXMemory rather than only the current chat turn.

Primary Path

  1. If the user is asking what memory exists or what ClawXMemory currently remembers, use memory_overview or memory_list.
  2. Otherwise call memory_search with a concise query.
  3. Read the returned:
  1. If context already contains the needed evidence, answer from it directly.
  2. If exact verification is still useful, call memory_get with the smallest possible subset of refs.files.

Current Tool Contract

memory_search(...) returns the live retrieval contract:

Do not assume any old l2 / l1 / l0 / enoughAt fields exist.

Clarification Guardrail

If memory_search says:

then you must:

  1. Say that no single formal project was selected from memory.
  2. Ask a focused clarification question.
  3. Do not list or guess project names that are not explicitly present in retrieved memory.

Example clarification:

Tool Usage Notes

Example

User asks: "这个项目现在的阶段和下一步是什么?"
1) memory_search({ query: "这个项目现在的阶段和下一步是什么?", limit: 5 })
2) If disambiguationRequired=true, ask which project the user means.
3) Otherwise answer from context.
4) Only if needed, verify one or two refs.files with memory_get.

Guardrails

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.