Langsung ke konten
Skillpedia
Deploy & cloud (DevOps)394k · #12

diagnose-gateway

Fungsinya

Skill ini memandu agent AI melalui pemeriksaan kesehatan hanya-baca pada OpenClaw Gateway, mencakup konfigurasi, rahasia, channel, dan port. Skill ini ditujukan bagi orang yang melihat error atau Gateway yang tidak mau mulai.

Kapan dipakai

  • ✓Saat OpenClaw Gateway Anda gagal dimulai atau terus-menerus crash.
  • ✓Ketika channel chat berhenti berfungsi dan Anda ingin tahu penyebabnya.
  • ✓Ketika Anda melihat konflik port atau error konfigurasi di OpenClaw.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/openclaw/openclaw/blob/main/custodian-skills/diagnose-gateway/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“OpenClaw Gateway saya tidak mau mulai. Bisakah Anda memeriksa apa yang salah tanpa mengubah pengaturan saya?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill ini menjalankan serangkaian pemeriksaan hanya-baca dan membaca log terbaru. Setelah itu skill melaporkan kemungkinan penyebabnya, seperti error konfigurasi, login yang kedaluwarsa, atau port yang sudah dipakai, tanpa membuat perubahan.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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

Pertanyaan umum

Apakah skill ini akan mengubah pengaturan saya selama pemeriksaan?

Tidak. Panduannya hanya-baca, jadi tidak menulis konfigurasi, memulai ulang layanan, atau menghentikan program yang berjalan.

Apakah skill ini akan menampilkan kata sandi atau token saya?

Tidak. Skill ini tidak pernah mencetak nilai rahasia dan hanya melaporkan informasi tersensor tentang asal rahasia.

Masalah apa saja yang bisa ditemukan?

Skill ini mencari konfigurasi yang tidak valid, login channel yang kedaluwarsa, port yang sudah dipakai, dan gateway yang terjebak dalam siklus crash.

Detail

Deskripsi asli dari pembuat

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

repo: openclaw/openclaw

Popularitas

Bintang GitHub
394k
Peringkat
#12
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa