From openclaw-assist
Diagnose and fix OpenClaw problems. Use when the user says "OpenClaw is broken", "openclaw not working", "fix OpenClaw", "debug OpenClaw", "openclaw gateway won't start", "openclaw doctor fails", "bot not responding", "no replies from OpenClaw", "openclaw error", "openclaw logs show errors", "channel not connecting", "openclaw upgrade broke things", or needs help resolving any OpenClaw runtime, gateway, channel, or post-upgrade issue.
npx claudepluginhub jamesprial/prial-plugins --plugin openclaw-assistThis skill uses the workspace's default tool permissions.
Diagnose and resolve OpenClaw runtime failures, gateway connectivity issues, channel-specific problems, and post-upgrade breakage. This skill provides a structured diagnostic workflow: run the command ladder first, match symptoms to known fixes, then escalate to channel-specific or post-upgrade guides as needed.
Answers OpenClaw questions on configuration, troubleshooting, setup, architecture, features, channels, gateway, automation, models, and design decisions using clawdocs and openclaw CLIs.
Guides installation, configuration, troubleshooting, security hardening, and management of OpenClaw AI gateway for 23+ messaging platforms like Slack, Telegram, Discord.
Diagnoses OpenClaw local setup: model configuration and usage, gateway status, session log parsing, and Tailscale routing for WorldArchitect integration.
Share bugs, ideas, or general feedback.
Diagnose and resolve OpenClaw runtime failures, gateway connectivity issues, channel-specific problems, and post-upgrade breakage. This skill provides a structured diagnostic workflow: run the command ladder first, match symptoms to known fixes, then escalate to channel-specific or post-upgrade guides as needed.
Always start troubleshooting by running these five commands in order. Each successive command provides deeper visibility into the system state.
Get a high-level snapshot of the entire OpenClaw system -- daemon state, gateway reachability, active channels, and config validity.
openclaw status
A healthy system reports all components as ok or running. Any component showing error or stopped indicates where to focus next.
Inspect the gateway runtime specifically. This is the most common failure point.
openclaw gateway status
Expected healthy output:
Runtime: running
RPC probe: ok
If Runtime shows stopped or RPC probe shows fail, the gateway needs attention. Proceed to openclaw logs for details.
Stream live logs to observe errors as they occur. This is essential for capturing transient failures and startup crashes.
openclaw logs --follow
Watch for connection errors, authentication failures, or stack traces. Press Ctrl+C to stop the stream.
Run the comprehensive automated health check. This validates Node.js version, port availability, config syntax, API key reachability, daemon registration, and gateway responsiveness.
openclaw doctor
To attempt automatic repair of any detected issues:
openclaw doctor --fix
The --fix flag restarts the daemon, regenerates corrupt config files, re-binds ports, and repairs file permissions where possible.
Test each configured channel individually. The --probe flag sends a lightweight test message through each channel to verify end-to-end connectivity.
openclaw channels status --probe
Channels reporting probe: fail have a connectivity or authentication problem. Route to channel-specific troubleshooting below.
For detailed output interpretation, expected vs. error states, and log patterns for each command, read ${CLAUDE_PLUGIN_ROOT}/skills/troubleshooting/references/diagnostic-commands.md.
These five problems account for the majority of OpenClaw support requests.
| Issue | Fix |
|---|---|
openclaw: command not found | Add npm global bin to PATH: export PATH="$(npm prefix -g)/bin:$PATH" |
| Gateway ECONNREFUSED | openclaw gateway restart or openclaw doctor --fix |
| Port 18789 in use | sudo lsof -i :18789 to find the culprit, then kill the process or change gateway.port in ~/.openclaw/config.yaml |
| Docker permission denied | sudo chown -R 1000:1000 ~/.openclaw then restart the container |
| Config validation error | openclaw configure to re-run the configuration wizard |
The binary is not on PATH. This commonly happens after npm global installs or when using Node version managers.
npm config get prefix, then add <prefix>/bin to the shell profile.which openclaw after switching Node versions. Re-run npm install -g openclaw@latest under the active Node version.~/.bashrc~/.zshrcfish_add_path (npm prefix -g)/binThe gateway process is not listening on the expected port. Common causes:
openclaw gateway restart.openclaw gateway start --foreground to see the error output directly.gateway.mode is set to "local" in ~/.openclaw/config.yaml. Remote mode disables the local listener.Another process holds the default gateway port.
sudo lsof -i :18789
Either stop the conflicting process or edit ~/.openclaw/config.yaml to set a different gateway.port value, then restart with openclaw gateway restart.
Container file ownership does not match the host user. The OpenClaw container runs as UID 1000 by default.
sudo chown -R 1000:1000 ~/.openclaw
Restart the container after fixing permissions.
The config file contains invalid YAML or unrecognized keys. Re-run the configuration wizard to regenerate a valid config:
openclaw configure
This preserves existing API keys and channel definitions while fixing structural issues.
For expanded troubleshooting steps, environment-specific workarounds, and edge cases for each of these issues, read ${CLAUDE_PLUGIN_ROOT}/skills/troubleshooting/references/common-issues.md.
Each messaging channel has unique failure modes. Diagnose the affected channel first with openclaw channels status --probe, then apply the relevant fix below.
mode: polling).discord.com/developers. Without this, the bot receives empty message bodies and cannot respond.Send Messages, Read Message History, and View Channel permissions in the target server and channel.openclaw logs --follow for reconnection attempts. If drops are frequent, verify no proxy or firewall is terminating idle WebSocket connections.xapp-), not a bot token. Verify the correct token type is configured.signal-cli daemon. Registration involves receiving an SMS or voice verification code. Follow the guided setup with openclaw channels add signal rather than manual configuration.disconnected, re-scan the QR code by running openclaw channels reconnect whatsapp and scanning with the WhatsApp mobile app.When the bot connects but never responds, check these in order:
~/.openclaw/config.yaml.openclaw channels status and confirm the channel shows paired: true.require_mention setting.For per-channel setup guides, authentication walkthroughs, and detailed error message explanations, read ${CLAUDE_PLUGIN_ROOT}/skills/troubleshooting/references/channel-issues.md.
Upgrading OpenClaw can introduce breaking changes that disrupt a previously working installation. The three most common causes of post-upgrade failures:
Newer versions may change how authentication tokens are validated or how URL overrides resolve. Symptoms include 401 Unauthorized errors or requests routing to unexpected endpoints. Review the release notes for auth-related changes and update ~/.openclaw/config.yaml accordingly.
Security improvements may enforce stricter bind address validation or reject previously accepted auth configurations. The gateway may refuse to start with errors about invalid bind addresses or insecure auth settings. Check openclaw logs --follow for specific rejection messages and update the config to comply.
Channel pairing state or device identity formats may change between versions, causing channels to show as unpaired or unknown. Re-pair affected channels with openclaw channels reconnect <channel-name>.
Reinstall service metadata without losing configuration:
openclaw gateway install --force
This regenerates the systemd unit or launchd plist while preserving config.yaml and channel state.
Nix users -- roll back to the previous generation if the upgrade causes irrecoverable issues:
home-manager switch --rollback
Then pin the working OpenClaw version in home.nix before rebuilding.
For version-specific breaking changes, migration guides, and rollback procedures, read ${CLAUDE_PLUGIN_ROOT}/skills/troubleshooting/references/post-upgrade.md.
Use these guidelines to route problems to the correct reference file:
${CLAUDE_PLUGIN_ROOT}/skills/troubleshooting/references/common-issues.md${CLAUDE_PLUGIN_ROOT}/skills/troubleshooting/references/diagnostic-commands.md${CLAUDE_PLUGIN_ROOT}/skills/troubleshooting/references/channel-issues.md${CLAUDE_PLUGIN_ROOT}/skills/troubleshooting/references/post-upgrade.mdLoad these resources for expanded detail on each topic:
${CLAUDE_PLUGIN_ROOT}/skills/troubleshooting/references/diagnostic-commands.md -- Detailed output interpretation for each diagnostic command, expected vs. error states, log pattern matching, and advanced diagnostic flags.${CLAUDE_PLUGIN_ROOT}/skills/troubleshooting/references/common-issues.md -- Expanded troubleshooting for common problems including PATH issues across shell environments, NODE_PATH with version managers, permission errors, and config repair.${CLAUDE_PLUGIN_ROOT}/skills/troubleshooting/references/channel-issues.md -- Per-channel troubleshooting guides covering Telegram, Discord, Slack, Signal, WhatsApp, and generic "no replies" debugging.${CLAUDE_PLUGIN_ROOT}/skills/troubleshooting/references/post-upgrade.md -- Post-upgrade breakage resolution including version-specific breaking changes, migration steps, service metadata reinstallation, and rollback procedures.