julia/openclaw/skills/openclaw-troubleshoot/SKILL.md
Diagnose and fix common OpenClaw problems: gateway auth failures, CLI pairing issues, channel connection failures, and high CPU. Use when openclaw health fails, the CLI times out, a channel shows as disconnected, or the gateway is consuming excessive CPU.
npx skillsauth add abzhaw/juliaz_agents openclaw-troubleshootInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Work through the decision tree below in order. Do not skip steps.
openclaw health 2>&1
launchctl print gui/$UID/ai.openclaw.gateway 2>&1 | grep -E "state|pid|exit"
cat ~/.openclaw/logs/gateway.log | tail -20
Match your symptom:
| Symptom | Section |
|---|---|
| gateway timeout after 10000ms | A |
| unauthorized role: node | A |
| pairing required | A |
| role-upgrade in gateway log | A |
| Channel shows disabled | B |
| Channel shows not configured | C |
| Gateway at 99%+ CPU | D |
| Unknown channel: telegram | E |
Root cause: The CLI device is registered as role: node in the gateway.
It needs role: operator to function. This is a pairing issue, not a
gateway crash. The gateway process itself is usually still running.
launchctl print gui/$UID/ai.openclaw.gateway 2>&1 | grep state
# → "state = running" means gateway is UP, problem is pairing only
# → anything else means gateway process is down (→ A2)
launchctl unload ~/Library/LaunchAgents/ai.openclaw.gateway.plist 2>&1
sleep 2
launchctl load ~/Library/LaunchAgents/ai.openclaw.gateway.plist 2>&1
sleep 5
openclaw health
If plist doesn't exist:
openclaw gateway install
launchctl load ~/Library/LaunchAgents/ai.openclaw.gateway.plist
sleep 5
openclaw health
⚠️ This requires Raphael to run an interactive command. You cannot fix this autonomously.
Tell Raphael:
"The OpenClaw gateway is running but my device needs operator approval. Please run this in a terminal and follow the prompts:
openclaw onboardThe prompts will ask to confirm security, then approve this device as operator."
After he runs it:
openclaw health # should return OK
openclaw channels status
Why this keeps happening: The gateway's device registry survives restarts but does not auto-approve devices. Each time the gateway's device DB is cleared or replaced, the CLI needs re-pairing. This happens when: gateway reinstalled, plist replaced, or auth token regenerated.
openclaw plugins enable telegram
launchctl kickstart -k gui/$UID/ai.openclaw.gateway
sleep 3
openclaw channels status
openclaw plugins enable telegram
openclaw channels add --channel telegram --token "$TELEGRAM_BOT_TOKEN"
openclaw config set channels.telegram.dmPolicy pairing
launchctl kickstart -k gui/$UID/ai.openclaw.gateway
sleep 3
openclaw channels status
Cause: Almost always Section A — the role: node upgrade loop.
The gateway processes hundreds of rejected upgrade requests per second.
# First fix Section A, then:
launchctl kickstart -k gui/$UID/ai.openclaw.gateway
sleep 5
openclaw health
Note: openclaw gateway start --force does NOT exist. Use launchctl.
openclaw plugins enable telegram
openclaw channels add --channel telegram --token "..."
User messages bot → receives code like DMMD89RG:
openclaw pairing approve telegram DMMD89RG
openclaw config set channels.telegram.allowFrom '["8519931474"]'
launchctl kickstart -k gui/$UID/ai.openclaw.gateway
| Component | Status |
|---|---|
| Gateway | Runs via LaunchAgent ai.openclaw.gateway — NOT via openclaw gateway start |
| Gateway process | /opt/homebrew/lib/node_modules/openclaw/dist/index.js gateway --port 18789 |
| Telegram | Enabled, polling mode, token configured |
| dmPolicy | pairing |
| allowFrom | ["8519931474"] (Raphael) |
| Recurring issue | role: node loop → only fix: openclaw onboard (interactive, needs Raphael) |
| Wrong command | openclaw gateway start --force does NOT exist |
| Right commands | launchctl unload/load/kickstart for gateway control |
development
Fortschrittsverfolgung der Masterarbeit. Wortanzahl pro Kapitel, Fertigstellungsgrad, fehlende Elemente, Deadlines. Haelt den Ueberblick.
development
Kapitelarchitektur und Gliederung der Masterarbeit. Verwaltet die Struktur, schlaegt vor wo Inhalte hingehoeren, validiert den logischen Fluss zwischen Kapiteln.
tools
Konvertiert Protokolleinträge und Session-Logs in thesis-fähiges deutsches Narrativ. Transformiert Entwicklungsdokumentation in akademische Prosa.
research
Sucht und analysiert akademische Literatur. Findet relevante Papers, erstellt strukturierte Zusammenfassungen. Zitiert NIEMALS — schlaegt nur vor.