diff --git a/README.md b/README.md index 2d45d02e..6d4b7db7 100644 --- a/README.md +++ b/README.md @@ -118,6 +118,16 @@ Start a new Claude Code session in the terminal and enter the following commands Restart Claude Code. Context from previous sessions will automatically appear in new sessions. +### 🦞 OpenClaw Gateway + +Install claude-mem as a persistent memory plugin on [OpenClaw](https://openclaw.ai) gateways with a single command: + +```bash +curl -fsSL https://install.cmem.ai/openclaw.sh | bash +``` + +The installer handles dependencies, plugin setup, AI provider configuration, worker startup, and optional real-time observation feeds to Telegram, Discord, Slack, and more. See the [OpenClaw Integration Guide](https://docs.claude-mem.ai/openclaw-integration) for details. + **Key Features:** - 🧠 **Persistent Memory** - Context survives across sessions diff --git a/docs/public/openclaw-integration.mdx b/docs/public/openclaw-integration.mdx index d5847f04..e52083a7 100644 --- a/docs/public/openclaw-integration.mdx +++ b/docs/public/openclaw-integration.mdx @@ -263,6 +263,29 @@ The feed only sends `new_observation` events — not raw tool usage. Observation ## Installation +Run this one-liner to install everything automatically: + +```bash +curl -fsSL https://install.cmem.ai/openclaw.sh | bash +``` + +The installer handles dependency checks (Bun, uv), plugin installation, memory slot configuration, AI provider setup, worker startup, and optional observation feed configuration. + +You can also pre-select options: + +```bash +# With a specific AI provider +curl -fsSL https://install.cmem.ai/openclaw.sh | bash -s -- --provider=gemini --api-key=YOUR_KEY + +# Fully unattended (defaults to Claude Max Plan) +curl -fsSL https://install.cmem.ai/openclaw.sh | bash -s -- --non-interactive + +# Upgrade existing installation +curl -fsSL https://install.cmem.ai/openclaw.sh | bash -s -- --upgrade +``` + +### Manual Configuration + Add `claude-mem` to your OpenClaw gateway's plugin configuration: ```json diff --git a/openclaw/SKILL.md b/openclaw/SKILL.md index bfb984a1..47cea087 100644 --- a/openclaw/SKILL.md +++ b/openclaw/SKILL.md @@ -7,7 +7,7 @@ This guide walks through setting up the claude-mem plugin on an OpenClaw gateway Run this one-liner to install everything automatically: ```bash -curl -fsSL https://raw.githubusercontent.com/thedotmack/claude-mem/main/openclaw/install.sh | bash +curl -fsSL https://install.cmem.ai/openclaw.sh | bash ``` The installer handles dependency checks (Bun, uv), plugin installation, memory slot configuration, AI provider setup, worker startup, and optional observation feed configuration — all interactively. @@ -17,19 +17,19 @@ The installer handles dependency checks (Bun, uv), plugin installation, memory s Pre-select your AI provider and API key to skip interactive prompts: ```bash -curl -fsSL https://raw.githubusercontent.com/thedotmack/claude-mem/main/openclaw/install.sh | bash -s -- --provider=gemini --api-key=YOUR_KEY +curl -fsSL https://install.cmem.ai/openclaw.sh | bash -s -- --provider=gemini --api-key=YOUR_KEY ``` For fully unattended installation (defaults to Claude Max Plan, skips observation feed): ```bash -curl -fsSL https://raw.githubusercontent.com/thedotmack/claude-mem/main/openclaw/install.sh | bash -s -- --non-interactive +curl -fsSL https://install.cmem.ai/openclaw.sh | bash -s -- --non-interactive ``` To upgrade an existing installation (preserves settings, updates plugin): ```bash -curl -fsSL https://raw.githubusercontent.com/thedotmack/claude-mem/main/openclaw/install.sh | bash -s -- --upgrade +curl -fsSL https://install.cmem.ai/openclaw.sh | bash -s -- --upgrade ``` After installation, skip to [Step 4: Restart the Gateway and Verify](#step-4-restart-the-gateway-and-verify) to confirm everything is working. diff --git a/openclaw/install.sh b/openclaw/install.sh index 197e6a41..51da77b5 100755 --- a/openclaw/install.sh +++ b/openclaw/install.sh @@ -5,9 +5,9 @@ set -euo pipefail # Installs the claude-mem persistent memory plugin for OpenClaw gateways. # # Usage: -# curl -fsSL https://raw.githubusercontent.com/thedotmack/claude-mem/main/openclaw/install.sh | bash +# curl -fsSL https://install.cmem.ai/openclaw.sh | bash # # Or with options: -# curl -fsSL https://raw.githubusercontent.com/thedotmack/claude-mem/main/openclaw/install.sh | bash -s -- --provider=gemini --api-key=YOUR_KEY +# curl -fsSL https://install.cmem.ai/openclaw.sh | bash -s -- --provider=gemini --api-key=YOUR_KEY # # Direct execution: # bash install.sh [--non-interactive] [--upgrade] [--provider=claude|gemini|openrouter] [--api-key=KEY] @@ -1613,7 +1613,7 @@ print_completion_summary() { fi echo "" echo -e " ${COLOR_BOLD}To re-run this installer:${COLOR_RESET}" - echo " bash <(curl -fsSL https://raw.githubusercontent.com/thedotmack/claude-mem/main/openclaw/install.sh)" + echo " bash <(curl -fsSL https://install.cmem.ai/openclaw.sh)" echo "" }