Saltar al contenido
Skillpedia
Deploy y nube (DevOps)394 mil · #12

diagnose-gateway

Qué hace

Guía a un agente de IA en una revisión de estado de solo lectura de una Gateway de OpenClaw, que cubre la configuración, los secretos, los canales y los puertos. Es para personas que ven errores o una Gateway que no arranca.

Cuándo usarla

  • ✓Cuando tu Gateway de OpenClaw no arranca o se cierra una y otra vez.
  • ✓Cuando un canal de chat deja de funcionar y quieres saber por qué.
  • ✓Cuando ves un conflicto de puertos o un error de configuración en OpenClaw.

Link de la skill

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

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/openclaw/openclaw/blob/main/custodian-skills/diagnose-gateway/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Mi Gateway de OpenClaw no arranca. ¿Puedes revisar qué pasa sin cambiar mis ajustes?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La skill ejecuta un conjunto de comprobaciones de solo lectura y revisa los registros recientes. Después indica la causa probable, como un error de configuración, un acceso caducado o un puerto ya en uso, sin hacer cambios.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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

Preguntas frecuentes

¿Cambiará mis ajustes mientras comprueba?

No. El procedimiento es de solo lectura, así que no escribe la configuración, no reinicia servicios ni detiene programas en ejecución.

¿Mostrará mis contraseñas o tokens?

No. Nunca muestra valores secretos e informa solo de forma censurada de dónde proceden los secretos.

¿Qué problemas puede encontrar?

Busca configuraciones no válidas, accesos caducados a canales, puertos ya ocupados y Gateways atrapadas en un bucle de fallos.

Detalles

Descripción original del autor

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

repo: openclaw/openclaw

Popularidad

Estrellas en GitHub
394 mil
Posición en el ranking
#12
Licencia
MIT
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas