Memoria
Use this skill when OpenClaw should treat Memoria as the durable external memory system for the current user or project.
Routing
Pick the smallest reference that matches the task:
- Install or verify the OpenClaw plugin:
references/setup.md - Decide which memory tool to use:
references/tool-surface.md - Daily store, recall, correct, forget behavior:
references/operations.md - Session lifecycle, goals, recovery, branches, rollback:
references/patterns.md
Core Rules
- Prefer Memoria tools over
MEMORY.mdormemory/YYYY-MM-DD.mdunless the user explicitly asks for file-based notes. - Do not auto-store every turn. Save durable facts, preferences, decisions, workflows, and meaningful progress.
- On task resume or "what do you remember" prompts, retrieve relevant memory first.
- Use the most specific tool available:
memory_profilefor stable preferences,memory_storefor general durable memory,memory_correctormemory_forgetfor repairs. - Before bulk delete, purge, or large rewrites, create a snapshot first.
- Use branches for risky or reversible memory experiments, then diff and merge or delete.
- After important writes, repairs, rollback, or merges, verify with retrieval or list tools.
- Do not claim only
memory_searchormemory_getexist when othermemory_*tools are available.
Default Flow
- At conversation start or task resume, use
memory_retrieveormemory_searchfor relevant context. - During the conversation, store only the durable facts worth keeping.
- If the user corrects or removes memory, repair it immediately with
memory_correct,memory_forget, ormemory_purge. - For risky memory maintenance, create a snapshot or branch before mutating state.
- At the end of meaningful work, store the durable outcome and clean up obsolete working memory.
Important Notes
- OpenClaw's built-in file memory (
openclaw memory) is separate from Memoria (openclaw memoria). - The plugin defaults to explicit writes, not silent auto-capture.
memory_getis a compatibility helper; when in doubt, prefermemory_retrieve,memory_search, ormemory_list.- Memoria's core strengths are semantic retrieval, durable cross-session memory, snapshots, rollback, branches, merge, and governance.
Quick Start
openclaw plugins install @matrixorigin/thememoria
openclaw memoria setup --mode cloud --api-url <MEMORIA_API_URL> --api-key <API_KEY>
openclaw memoria health