Zum Inhalt springen
Skillpedia
Deployment & Cloud (DevOps)394k · #12

diagnose-gateway

Was er macht

Er führt einen KI-Agenten durch eine rein lesende Zustandsprüfung eines OpenClaw-Gateways, die Konfiguration, Geheimnisse, Kanäle und Ports umfasst. Er ist für Menschen gedacht, die Fehler sehen oder ein Gateway haben, das nicht startet.

Wann du ihn nutzt

  • ✓Wenn dein OpenClaw-Gateway nicht startet oder immer wieder abstürzt.
  • ✓Wenn ein Chat-Kanal nicht mehr funktioniert und du den Grund finden willst.
  • ✓Wenn du in OpenClaw einen Portkonflikt oder einen Konfigurationsfehler siehst.

Link zum Skill

https://github.com/openclaw/openclaw/blob/main/custodian-skills/diagnose-gateway/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/openclaw/openclaw/blob/main/custodian-skills/diagnose-gateway/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Mein OpenClaw-Gateway startet nicht. Kannst du prüfen, was nicht stimmt, ohne meine Einstellungen zu ändern?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Skill führt eine Reihe rein lesender Prüfungen aus und liest die letzten Protokolle. Dann nennt er die wahrscheinliche Ursache, etwa einen Konfigurationsfehler, eine abgelaufene Anmeldung oder einen belegten Port, ohne Änderungen vorzunehmen.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Diagnose the Gateway

This playbook is read-only: no config writes, no service restarts, no doctor --fix, no killing listeners. Never print secret values; report only redacted SecretRef owner state. Every run ends with the observable Prove result or an exact explanation of why it could not be proven.

Gather

openclaw doctor --lint
openclaw gateway status --deep
openclaw config validate
openclaw channels status
openclaw models status
openclaw channels logs --channel <id>

doctor --lint is read-only and can exit 1 for findings: read the report and continue the remaining checks. Do not substitute ordinary doctor or doctor --non-interactive; they can copy legacy config and migrate state without --fix.

On managed installs, bounded recent logs: ./scripts/clawlog.sh (repo checkout) or the log path printed at gateway startup (/tmp/openclaw/openclaw-<date>.log by default).

Check these signatures without guessing:

  • invalid config or schema errors (config validate names the exact key and line);
  • degraded SecretRef owners — report the owner, never ids or values;
  • expired or rejected channel authentication (channels status per account);
  • EADDRINUSE, a second gateway listener, or service/config port mismatch (lsof -nP -iTCP:<port> -sTCP:LISTEN);
  • gateway crash loops: read the last startup stack in the gateway log; a schema-valid config that still crashes startup is a bug — capture the stack and report it.

Correlate timestamps and identify the first owner-boundary failure.

Mutate

Nothing. Do not change config, migrate state, or alter services. Diagnostic commands may still produce incidental logs or cache bookkeeping.

Repair

Translate each finding into the next action, naming the responsible skill when one exists: configure-channel, add-model-provider, or cloud-image-bake. Recommend openclaw doctor --fix --non-interactive only as a separately approved step.

Prove

Repeat the smallest read-only check that exposes the condition and record its output, for example:

openclaw gateway status --deep
openclaw channels status --probe

If access, logs, or the gateway are unavailable, report that exact blocker rather than declaring a cause.

Report

Findings in causal order with evidence for each; current gateway/config/SecretRef/channel/port state; one recommended next skill or operator action. State explicitly that no config/service repairs or state migrations were performed.

Further reference: https://docs.openclaw.ai/gateway/troubleshooting

Häufige Fragen

Ändert er meine Einstellungen während der Prüfung?

Nein. Das Vorgehen ist rein lesend. Es schreibt keine Konfiguration, startet keine Dienste neu und beendet keine laufenden Programme.

Zeigt er meine Passwörter oder Tokens an?

Nein. Er gibt niemals geheime Werte aus und meldet nur geschwärzte Informationen darüber, woher Geheimnisse stammen.

Welche Probleme kann er finden?

Er sucht nach ungültiger Konfiguration, abgelaufenen Kanal-Anmeldungen, einem belegten Port und Gateways, die in einer Absturzschleife hängen.

Details

Originalbeschreibung des Autors

Diagnose Gateway, config, secrets, channels, and port failures with read-only one-liners.

repo: openclaw/openclaw

Beliebtheit

GitHub-Sterne
394k
Platz im Ranking
#12
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills