julia/openclaw/skills/openclaw-self-manage/SKILL.md
Self-management skill for the OpenClaw agent. Use when you need to check your own health, diagnose gateway issues, inspect channel status, or restart the gateway. Run this before reporting any connectivity issue to Raphael.
npx skillsauth add abzhaw/juliaz_agents openclaw-self-manageInstall 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.
Use this skill when something feels wrong — gateway timeouts, channel disconnects, auth errors.
openclaw health 2>&1
| Output | Meaning | Go to |
|---|---|---|
| OK | Gateway healthy | Done ✅ |
| gateway timeout after 10000ms | Gateway not responding or device not paired | Section A |
| unauthorized role: node | Device registered as node, needs operator approval | Section A |
| pairing required | Device not yet approved as operator | Section A |
| Channel disabled | Plugin off | Section B |
| Channel not configured | Token missing | Section C |
What's happening: The gateway is running (LaunchAgent ai.openclaw.gateway is active),
but this device's role is node instead of operator. The fix always requires
an interactive re-onboarding to approve the device — this cannot be done unattended.
Verify gateway is actually running:
launchctl print gui/$UID/ai.openclaw.gateway 2>&1 | grep state
# → state = running (gateway IS up, it's a pairing issue)
# → state missing or not found (gateway process died — see below)
If gateway is running but CLI can't connect → interactive fix required:
Tell Raphael: "I need you to run
openclaw onboardin a terminal and follow the prompts. The gateway is running but my device needs operator approval. Error:{exact error text}"
If gateway process is NOT running (not in launchctl):
# Reload the LaunchAgent
launchctl unload ~/Library/LaunchAgents/ai.openclaw.gateway.plist 2>&1
launchctl load ~/Library/LaunchAgents/ai.openclaw.gateway.plist 2>&1
sleep 5
openclaw health
If launchd plist doesn't exist yet:
openclaw gateway install
# Then reload as above
After Raphael runs openclaw onboard:
openclaw health # should return OK
openclaw channels status
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
After any fix:
openclaw health
openclaw channels status
launchctl print gui/$UID/ai.openclaw.gateway | grep -E "state|pid"
When reporting, always include:
cat ~/.openclaw/logs/gateway.log | tail -20launchctl print gui/$UID/ai.openclaw.gateway | grep stateIf interactive fix is required, be explicit: "I can't fix this without you running a command."
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.