Pular para o conteúdo
Skillpedia
Deploy e nuvem (DevOps)394 mil · #12

diagnose-gateway

O que ela faz

Orienta um agente de IA em uma verificação de saúde somente leitura de um OpenClaw Gateway, cobrindo configuração, segredos, canais e portas. É para quem vê erros ou um Gateway que não inicia.

Quando usar

  • ✓Quando seu OpenClaw Gateway não inicia ou continua travando.
  • ✓Quando um canal de chat para de funcionar e você quer descobrir o motivo.
  • ✓Quando você vê um conflito de porta ou um erro de configuração no OpenClaw.

Link da skill

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

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/openclaw/openclaw/blob/main/custodian-skills/diagnose-gateway/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Meu OpenClaw Gateway não inicia. Você pode verificar o que está errado sem mudar minhas configurações?”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

A skill executa um conjunto de verificações somente leitura e lê os registros recentes. Em seguida, informa a causa provável, como um erro de configuração, um login expirado ou uma porta já em uso, sem fazer alterações.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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

Perguntas frequentes

Ela vai mudar minhas configurações enquanto verifica?

Não. O roteiro é somente leitura: não grava configuração, não reinicia serviços e não interrompe programas em execução.

Ela vai mostrar minhas senhas ou tokens?

Não. Nunca imprime valores secretos e informa apenas dados redigidos sobre a origem dos segredos.

Que problemas ela consegue encontrar?

Procura configuração inválida, logins de canal expirados, porta já em uso e gateways presos em um ciclo de falhas repetidas.

Detalhes

Descrição original do autor

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

repo: openclaw/openclaw

Popularidade

Estrelas no GitHub
394 mil
Posição no ranking
#12
Licença
MIT
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas