What problem does it solve?
OpenClaw can encounter HTTP 500 errors when environment variable references like ${env:VAR} in the configuration are misinterpreted as Java named capturing groups. This skill provides steps to replace environment references with concrete values and validate the resulting configuration to prevent reoccurrence.
Core Features & Use Cases
- Detect problematic ${env:...} references in the OpenClaw config file (openclaw.json) and prompt for replacement or perform automated remediation.
- Provide a safe, documented workflow to back up the current configuration, apply environment variable replacements, verify JSON validity, and restart the gateway.
- Support common recovery workflows when OpenClaw reports regex errors or configuration parsing failures related to env variable expansion.
Quick Start
Run the OpenClaw configuration fix to replace environment variable references like ${env:...} with actual values and restart the gateway if needed.