Claude Skill
MemTensor/MemOS-Cloud-OpenClaw-Plugin
Official MemOS Cloud plugin for OpenClaw. Enables long-term memory for AI agents by recalling context before execution and saving conversations after each run.
Overview
Repository
Install this Skill
git clone https://github.com/MemTensor/MemOS-Cloud-OpenClaw-Plugin.gitRegistry
Summary
MemOS-Cloud-OpenClaw-Plugin is the official MemOS Cloud plugin for OpenClaw, providing long-term memory capabilities to AI agents by recalling relevant context before execution and saving conversations after each run.
OpenClaw 官方 MemOS 云插件。通过在执行前回忆上下文并在每次运行后保存对话,为智能体提供长期记忆功能。
Key features
- Long-term memory for AI agents
- Context recall before execution
- Conversation saving after each run
- Seamless integration with OpenClaw
- Powered by MemOS Cloud
Use cases
- Enhancing AI agent continuity in multi-turn tasks
- Building persistent memory for OpenClaw-based assistants
- Improving context-aware decision making in AI workflows
- Enabling personalized agent interactions over time
README excerpt
# MemOS Cloud OpenClaw Plugin (Lifecycle) Official plugin maintained by MemTensor. A minimal OpenClaw lifecycle plugin that **recalls** memories from MemOS Cloud before each run and **adds** new messages to MemOS Cloud after each run. ## Features - **Recall**: `before_prompt_build` (`before_agent_start` on older OpenClaw hosts) → `/search/memory` - **Add**: `agent_end` → `/add/message` - **Config UI**: starting the gateway also starts a local plugin config page for editing `plugins.entries.memos-cloud-openclaw-plugin.config` - Uses **Token** auth (`Authorization: Token <MEMOS_API_KEY>`) ## Config UI - On gateway start, the plugin launches a local config page and prints the URL in the terminal (default: `http://127.0.0.1:38463`). - The page reads and writes the host config file directly: - OpenClaw: `~/.openclaw/openclaw.json` - Moltbot: `~/.moltbot/moltbot.json` - ClawDBot: `~/.clawdbot/clawdbot.json` - If the preferred UI port is already in use, the plugin automatically picks the next free port. - Saving changes writes `plugins.entries.memos-cloud-openclaw-plugin.config`. (Note: you may need to manually restart the gateway after saving for settings to take effect). ## Install ### Option A — NPM (Recommended) ```bash openclaw plugins install @memtensor/memos-cloud-openclaw-plugin@latest openclaw gateway restart ``` > **Note for Windows Users**: > If you encounter `Error: spawn EINVAL`, this is a known issue with OpenClaw's plugin installer on Windows. Please use **Option B** (Manual Install) below. Make sure it’s enabled in `~/.openclaw/openclaw.json`: ```json { "plugins": { "entries": { "memos-cloud-openclaw-plugin": { "enabled": true } } } } ``` ### Option B — Manual Install (Workaround for Windows) 1. Download the latest `.tgz` from [