⏳ This skill is pending AI review.
Scores will appear once the review pipeline completes.
install-memory-powermem
OpenClaw skill「快速安装」路径(skill id 与目录名均为 install-memory-powermem):memory-powermem + PowerMem 最少步骤,面向个人用户;默认 powermem-ts(npm 包 powermem)CLI,无需 Python;无需单独配置 powermem.env,复用 OpenClaw 里已配好的对话模型。可独立分发;完整选项、工具说明与排错见 install-memory-powermem-full。
Choose how to use this skill
You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.
1. Native installer
This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.
Do not guess an installer command or replace an existing version without reviewing the diff.
2. Complete package recommended
Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.
No complete ProSkills package is published for this listing yet.3. Prompt-only
Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.
Need only the instruction file?
Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.
No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.
// RATINGS
// README
PowerMem + OpenClaw: maximum token savings for AI agents.
OpenClaw Memory (PowerMem) Plugin
This plugin lets OpenClaw use long-term memory via PowerMem: intelligent extraction, Ebbinghaus forgetting curve, multi-agent isolation. Supports HTTP v2 (per-request config + agent memory sharing), LLM-based experience extraction, and optional dual-write to local SQLite.
Default: CLI mode — the plugin runs pmem locally (no powermem-server). Use HTTP mode when you already run a shared PowerMem API (teams / enterprise).
Follow the steps in order: install PowerMem, then install the plugin, configure OpenClaw (defaults work for CLI + ~/.openclaw/powermem/powermem.env), and verify.
Prerequisites
- OpenClaw installed (CLI + gateway working)
- PowerMem installed (
pip install powermem) withpmemavailable — either on PATH when you start the gateway, or via absolutepmemPathin plugin config .envfor PowerMem with at least database + LLM + Embedding (see PowerMem.env.example); for individuals, prefer~/.openclaw/powermem/powermem.envand SQLite
Step 1: Install and start PowerMem
Choose Option A (CLI, recommended for OpenClaw individuals), Option B (HTTP + pip), or Option C (Docker).
Option A: CLI + SQLite (recommended for individuals)
No HTTP server. Matches the plugin’s default (mode: cli).
-
Install PowerMem (venv recommended):
python3 -m venv ~/.openclaw/powermem/.venv source ~/.openclaw/powermem/.venv/bin/activate pip install powermem -
Config — From a clone of this repo, run
bash install.sh(or the curl one-liner under Install options below) to create an optional~/.openclaw/powermem/powermem.envtemplate, or copy from PowerMem’s.env.example. SetLLM_*andEMBEDDING_*when not relying on OpenClaw-injected models. -
If
pmemexists only inside the venv, setpmemPathin the pluginconfigto the absolute path ofpmemin that venv. -
Verify — With venv activated:
pmem --version. After gateway start:openclaw ltm health.
Option B: Install with pip (run HTTP server locally)
Use this when you want a standalone API or are not using CLI mode. Best if you already have Python 3.11+ on the machine.
1. Install PowerMem
pip install powermem
2. Prepare config
In any directory where you want to keep config (e.g. ~/powermem):
mkdir -p ~/powermem && cd ~/powermem
# Copy from PowerMem repo: if you cloned it, run: cp /path/to/powermem/.env.example .env
If you did not clone the PowerMem repo, create a .env with at least: database + LLM + Embedding. Here is a minimal working example (OceanBase + Qwen; replace with your API key and DB credentials):
# Create .env in ~/powermem (replace your_api_key_here and your_password)
cat > .env << 'EOF'
TIMEZONE=Asia/Shanghai
DATABASE_PROVIDER=oceanbase
OCEANBASE_HOST=127.0.0.1
OCEANBASE_PORT=2881
OCEANBASE_USER=root@sys
OCEANBASE_PASSWORD=your_password
OCEANBASE_DATABASE=powermem
OCEANBASE_COLLECTION=memories
LLM_PROVIDER=qwen
LLM_API_KEY=your_api_key_here
LLM_MODEL=qwen-plus
EMBEDDING_PROVIDER=qwen
EMBEDDING_API_KEY=your_api_key_here
EMBEDDING_MODEL=text-embedding-v4
EMBEDDING_DIMS=1536
EOF
Replace your_api_key_here with your Tongyi Qwen API key (and set your_password and other DB fields as needed for OceanBase). For OpenAI or other providers, see PowerMem’s .env.example for LLM_* and EMBEDDING_*.
3. Start the HTTP server
Run this in the same directory as .env:
cd ~/powermem # or wherever .env lives
powermem-server --host 0.0.0.0 --port 8000
You should see something like Uvicorn running on http://0.0.0.0:8000. Leave this terminal open.
4. Verify PowerMem
In a new terminal:
curl -s http://localhost:8000/api/v1/system/health
If you get JSON (e.g. with "status":"healthy"), PowerMem is ready.
Option C: Run with Docker (no Python needed)
Best if you have Docker and prefer not to install Python.
1. Clone PowerMem and prepare .env
git clone https://github.com/oceanbase/powermem.git
cd powermem
cp .env.example .env
Edit .env and set at least:
LLM_API_KEY,LLM_PROVIDER,LLM_MODELEMBEDDING_API_KEY,EMBEDDING_PROVIDER,EMBEDDING_MODEL
Database: OceanBase is recommended.
2. Start the container
From the powermem project root (same level as .env):
docker-compose -f docker/docker-compose.yml up -d
3. Verify
curl -s http://localhost:8000/api/v1/system/health
JSON response means the server is up. API docs: http://localhost:8000/docs.
Install options
- One-click (Linux/macOS):
From a clone:curl -fsSL https://raw.githubusercontent.com/ob-labs/memory-powermem/main/install.sh | bashcd /path/to/memory-powermem && bash install.sh. Non-interactive: same URL but pipe tobash -s -y. Another OpenClaw instance:bash -s -- --workdir ~/.openclaw-second. Details and troubleshooting: OpenClaw skillinstall-memory-powermem-full(skills/install-memory-powermem-full/). - OpenClaw skill — quickstart (
install-memory-powermem): Copy skills/install-memory-powermem/SKILL.md to~/.openclaw/skills/install-memory-powermem/, then say 「PowerMem 快速安装」 / “PowerMem quickstart” or “Minimal install memory-powermem” / “Install memory powermem minimal”. - OpenClaw skill — full guide (
install-memory-powermem-full): Copy skills/install-memory-powermem-full/SKILL.md (and its sibling.mdfiles in that folder if you mirror the repo) to~/.openclaw/skills/install-memory-powermem-full/, then say 「安装 PowerMem 记忆」 / “Install PowerMem memory”. The quickstart and full-guide skills are independent; use whichever fits your workflow. - Manual: Steps below.
Step 2: Install the plugin into OpenClaw
On your machine (use your actual plugin path):
# Install from npm (recommended for end users; downloads and installs from the official npm registry)
openclaw plugins install memory-powermem
# Install from a local directory (e.g. cloned repo)
cd /path/to/memory-powermem && npm install && npm run build
openclaw plugins install /path/to/memory-powermem
# For development (symlink, no copy)
cd /path/to/memory-powermem && npm install && npm run build
openclaw plugins install -l /path/to/memory-powermem
Note: Starting with OpenClaw 2026.5.4, local path installs require the TypeScript plugin entry to be compiled to runtime JS first, so run npm run build before installing from a local clone. Running npm i memory-powermem in a Node project only adds the package to that project’s node_modules; it does not register the plugin with OpenClaw. To use this as an OpenClaw plugin, you must run openclaw plugins install memory-powermem (or install from a path as above), then restart the gateway.
After install, run openclaw plugins list and confirm memory-powermem is listed. With no plugins.entries["memory-powermem"].config, the plugin uses defaults: mode: "cli", pmemPath: "bundled" (npm powermem from plugin dependencies), useOpenClawModel: true (SQLite under OpenClaw state + LLM from agents.defaults.model), plus autoCapture / autoRecall / inferOnAdd enabled. No separate powermem.env is required unless you opt out of OpenClaw mod
// HOW IT'S BUILT
KEY FILES