What problem does it solve?
This Skill provides a clear, production-oriented integration path for using OpenClaw containers as cloud agent backends alongside local vm-agent instances, resolving handshake, routing, and event duplication issues between the gateway and webchat frontend.
Core Features & Use Cases
- WebSocket Bridge: transparent proxying and bidirectional frame forwarding to support OpenClaw websocket handshakes and challenge-response authentication.
- Container Dispatch & DB Migration: container_type routing, required database migration to add container_type, and example SQL for inserting OpenClaw container records.
- Deployment & Frontend Compatibility: configuration guidance for openclaw.json (trustedProxies, control UI origins, device pairing) and webchat rebuild guidance to avoid duplicate agent/chat streams.
- Use Case: deploy an OpenClaw container, register it in the DB with a reachable container_ip, confirm gateway handshake and streaming agent events for webchat.
Quick Start
Add an openclaw container record with container_ip set to the container's reachable IP, set openclaw.json trustedProxies and token, run the DB migration to add container_type, deploy the gateway, and rebuild and sync the webchat static files so the websocket bridge can handshake and stream agent events.