mcpField
O
openclaw

openclaw

github.com/evolv3-aiOther140 installsUpdated 14w ago
Repository

About openclaw

openclaw is a deployment and operations skill for running the OpenClaw AI gateway in containers. It helps operators configure messaging channels, LLM providers, KASM workspaces, and browser automation, with guidance on deployment and security settings.

Key features

  1. 01Docker deployment and configuration guidance
  2. 02Messaging channel setup references
  3. 03Multiple LLM provider configuration
  4. 04KASM workspace setup guidance
  5. 05Browser sidecar automation guidance
  6. 06Security and troubleshooting references

Use cases

  1. 01Deploying OpenClaw with Docker
  2. 02Connecting messaging channels to LLM providers
  3. 03Configuring an OpenClaw KASM workspace
  4. 04Troubleshooting gateway or browser setup

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/evolv3-ai/vibe-skills --skill openclaw

After installing, type/openclawin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

assets/
env-template
references/
browser-automation.md
channels.md
configuration.md
installation.md
kasm-workspace.md
security.md
troubleshooting.md

Details

From the project README

OpenClaw - Self-Hosted AI Gateway

Deploy and manage OpenClaw (coollabsio/openclaw) as a containerized AI gateway. Routes conversations between messaging platforms and multiple LLM providers with full tool use, session isolation, and browser automation.

Production Tested: OpenClaw v2026.1.x on KASM 1.17.0 (Ubuntu 22.04) Source: https://github.com/coollabsio/openclaw


Step 0: Route to the Right Reference

TaskReference
Fresh Docker deploymentreferences/installation.md
KASM workspace setupreferences/kasm-workspace.md
Environment variables & configreferences/configuration.md
Messaging channels (Telegram, Discord, etc.)references/channels.md
Security hardeningreferences/security.md
Troubleshooting errorsreferences/troubleshooting.md
Browser sidecar & automationreferences/browser-automation.md

Critical Rules

  1. ALWAYS set OPENCLAW_GATEWAY_BIND=loopback - Default binding exposes gateway to public internet on port 18789. This is a known critical security issue (Feb 2026).
  2. Never skip AUTH_PASSWORD - nginx basic auth is the first defense layer.
  3. Set directory ownership to uid 1000 before mounting volumes - Container runs as non-root user node.
  4. API keys are environment-only - Never put provider keys in JSON config files.
  5. WhatsApp uses full-overwrite mode - When WHATSAPP_ENABLED=true, entire WhatsApp block is replaced (not merged).
  6. Environment variables override everything - Three-tier merge: JSON < persisted state < env vars.
  7. On KASM: Allocate minimum 4GB RAM per OpenClaw workspace, configure persistent profile for /data volume.

Quick Reference

Architecture
[Messaging Channels] → [OpenClaw Gateway :18789] → [LLM Providers]
       ↑                        ↑                         ↑
  WhatsApp, Telegram    nginx reverse proxy :8080    Anthropic, OpenAI
  Discord, Slack        HTTP Basic Auth              Gemini, Groq, etc.
  Google Chat, Signal   Webhook routing
Default Ports
PortServiceBinding
8080nginx reverse proxy (external)Configurable via PORT
18789OpenClaw gateway (internal)Must be loopback
9223Chrome CDP (browser sidecar)Internal only
Supported AI Providers

Anthropic, OpenAI, Google Gemini, xAI Grok, Groq, Mistral, Cerebras, Venice, Moonshot, Kimi, MiniMax, AWS Bedrock, Ollama (local), GitHub Copilot

Supported Channels

WhatsApp (Baileys), Telegram (grammY), Discord (discord.js), Slack (Bolt), Google Chat, Signal, iMessage/BlueBubbles, Microsoft Teams, Matrix, Zalo


System Requirements

Standalone Docker
ResourceMinimumRecommended
RAM2 GB4 GB+
Disk10 GB20 GB+
DockerEngine + Compose v2Latest stable
Architectureamd64 or arm64Either
KASM Workspace
ResourceValue
Cores2
Memory4096 MB
Docker imagecoollabsio/openclaw:latest
Persistent profileRequired for /data
GPUNot required
Required Configuration

At minimum, OpenClaw needs:

  1. One AI provider API key (e.g., ANTHROPIC_API_KEY)
  2. AUTH_PASSWORD for nginx basic auth
  3. OPENCLAW_GATEWAY_BIND=loopback for security

Minimal Deployment

docker run -d --name openclaw \
  -p 8080:8080 \
  -e ANTHROPIC_API_KEY=sk-ant-... \
  -e AUTH_PASSWORD=changeme \
  -e OPENCLAW_GATEWAY_BIND=loopback \
  -e OPENCLAW_GATEWAY_TOKEN=$(openssl rand -hex 32) \
  -v openclaw-data:/data \
  coollabsio/openclaw:latest

Access dashboard: http://localhost:8080/


Health Check

# Container health
docker inspect --format='{{.State.Health.Status}}' openclaw

# Gateway health
docker exec openclaw node dist/index.js health \
  --token "$OPENCLAW_GATEWAY_TOKEN"

# Diagnostic scan
docker exec openclaw openclaw doctor --fix

# Full status
docker exec openclaw openclaw status --all

# Logs
docker logs -f openclaw

Docker Compose (Full Setup with Browser)

services:
  openclaw-gateway:
    image: coollabsio/openclaw:latest
    container_name: openclaw
    restart: unless-stopped
    ports:
      - "8080:8080"
    environment:
      - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
      - AUTH_USERNAME=admin
      - AUTH_PASSWORD=${AUTH_PASSWORD}
      - OPENCLAW_GATEWAY_BIND=loopback
      - OPENCLAW_GATEWAY_TOKEN=${OPENCLAW_GATEWAY_TOKEN}
      - BROWSER_CDP_URL=http://browser:9223
    volumes:
      - openclaw-data:/data
    depends_on:
      - browser

  browser:
    image: coollabsio/openclaw-browser:latest
    container_name: openclaw-browser
    restart: unless-stopped
    shm_size: 2gb
    environment:
      - PUID=1000
      - PGID=1000
    volumes:
      - browser-data:/config

volumes:
  openclaw-data:
  browser-data:

Errors Prevented by This Skill

#ErrorRoot CausePrevention
1Gateway exposed to internetDefault 0.0.0.0 bindingAlways set OPENCLAW_GATEWAY_BIND=loopback
2"1008 token mismatch"Stale env vars override configRebuild with --no-cache, verify env
3EACCES permission deniedNon-root container (uid 1000)chown -R 1000:1000 on mount dirs
4"context_length_exceeded" false positiveIncorrect token countClear session, reduce history limits
5WhatsApp config ignoredFull-overwrite modeSet all WhatsApp vars when enabled
6API keys in config fileKeys leaked to logs/backupsEnvironment variables only
7No runtime package installNon-root containerUse OPENCLAW_DOCKER_APT_PACKAGES at build
8Browser automation failsNo bundled ChromiumUse browser sidecar container

Comments

Markdown supported