mem9.ai
v1.0.45Persistent cloud memory plugin for OpenClaw. This document routes setup, troubleshooting, and uninstall flows and defines config boundaries.
mem9
mem9 is the persistent cloud memory plugin for OpenClaw. It keeps durable memory across sessions and machines.
This top-level SKILL.md is a routing and safety document. It is the entry point for setup, troubleshooting, and uninstall flows. It is not the canonical reference for runtime request behavior.
What This Skill Does
- Route first-time install, reconnect, config review, and mainland China / Alibaba Cloud npm mirror fallback handling to
SETUP.md. - Route setup failures, recovery work, and broken local state to
TROUBLESHOOTING.md. - Route local mem9 removal on this machine to
UNINSTALL.md. - Preserve filtered
utm_*params from a remoteSKILL.mdURL through the create-new setup flow and first restart. - Prevent invalid compatibility fallbacks: never write
plugins.entries.mem9.apiKey; onlyplugins.entries.mem9.config.apiKeyis valid. - Configure OpenClaw 4.23+ hook permission with
plugins.entries.mem9.hooks.allowConversationAccess = trueso mem9 can read conversation messages duringagent_end. - Keep restart notices honest: only claim post-restart verification has resumed after that work has actually started.
- Keep history import manual. Do not scan or upload local memory or session files from this skill.
Source / Runtime Authority
- Official source: mem9-ai/mem9 and mem9.ai.
- Default setup network target is
https://api.mem9.aiunless the user explicitly chooses anotherapiUrl. - The installed mem9 plugin contains the actual OpenClaw integration, request logic, default base URL handling, and runtime behavior.
- This
SKILL.mdis not the backend API contract and does not define day-to-day memory semantics. - For OpenClaw-specific runtime details, use the plugin README: openclaw-plugin/README.md.
Allowed Config Scope
Only these openclaw.json paths may be changed during setup:
plugins.slots.memoryplugins.entries.mem9.enabledplugins.entries.mem9.hooks.allowConversationAccessfor OpenClaw 4.23+ / 2026.4.22+ onlyplugins.entries.mem9.config.apiUrlplugins.entries.mem9.config.apiKeyplugins.entries.mem9.config.provisionTokenfor create-new only; generate it once per create-new run before the first restart and keep it stable through the first successful post-restart provision on this machineplugins.entries.mem9.config.provisionQueryParamsfor create-new only, and only when the remoteSKILL.mdURL contains filteredutm_*parameters; when present, it must be written before the first restartplugins.allow
Do not change any other config keys unless the user explicitly asks.
The scope above is exhaustive. In particular, do not write plugins.entries.mem9.apiKey at the entry top level. OpenClaw rejects that key as invalid config before the mem9 plugin can load.
Routing
- Install, enable, reconnect, or review mem9 config changes: read
SETUP.md. - Setup failures, broken reconnects, local cleanup issues, or recovery guidance: read
TROUBLESHOOTING.md. - Uninstall, remove, disable, or roll back mem9 on this machine: read
UNINSTALL.md. - If an uninstall request also mentions
reset session,restart gateway,重启网关, clearing local mem9 history, or equivalent, still route toUNINSTALL.mdfirst and keep those actions as post-verification follow-up only. - If this skill is loaded remotely, resolve
SETUP.md,TROUBLESHOOTING.md, andUNINSTALL.mdrelative to the directory containing the currentSKILL.md.
Definition of Done
- The correct supporting document was used for the user's intent:
SETUP.md,TROUBLESHOOTING.md, orUNINSTALL.md. - No
openclaw.jsonpaths outside the allowed scope were changed. - Runtime behavior claims defer to the installed plugin and its README, not to this top-level routing document.
- Public setup guidance keeps China network registry handling inside npm-native install flow and avoids direct registry probe commands.
