diagnose-gateway
できること
このスキルは、AIエージェントが、設定、シークレット、チャンネル、ポートを対象に、OpenClaw Gatewayの読み取り専用の健全性チェックを行う手順を示します。エラーが出ている場合や、Gatewayが起動しない場合に使う人のためのものです。
使う場面
- ✓OpenClaw Gatewayが起動しない、またはクラッシュを繰り返すとき。
- ✓チャットチャンネルが動かなくなり、その理由を知りたいとき。
- ✓OpenClawでポートの競合や設定エラーが表示されたとき。
スキルのリンク
https://github.com/openclaw/openclaw/blob/main/custodian-skills/diagnose-gateway/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“OpenClaw Gatewayが起動しません。私の設定を変えずに、何が問題か確認してもらえますか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは一連の読み取り専用のチェックを実行し、最近のログを読みます。そのうえで、設定エラー、期限切れのログイン、使用中のポートなど、考えられる原因を、変更を加えずに報告します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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 validatenames the exact key and line); - degraded SecretRef owners — report the owner, never ids or values;
- expired or rejected channel authentication (
channels statusper 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
よくある質問
確認中に私の設定を変更しますか?
いいえ。このプレイブックは読み取り専用で、設定の書き込み、サービスの再起動、実行中のプログラムの停止は行いません。
私のパスワードやトークンを表示しますか?
いいえ。秘密の値は決して表示せず、秘密がどこから来ているかについては、個人情報を伏せた情報だけを報告します。
どのような問題を見つけられますか?
無効な設定、期限切れのチャンネルログイン、使用中のポート、クラッシュループに陥ったGatewayなどを探します。
詳細
作者による元の説明
Diagnose Gateway, config, secrets, channels, and port failures with read-only one-liners.
repo: openclaw/openclaw
人気
- GitHubのスター
- 394k
- ランキング
- #12
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
discord-user-post
394kエージェントが、承認済みのお知らせをDiscordのデスクトップアプリからあなたとして投稿できるよう支援します。投稿前に正確なチャンネルを確認します。
discrawl
394k保存済みのローカルなDiscordメッセージのアーカイブを検索して要約し、その新しさを確認し、ダイレクトメッセージを読めるようエージェントを支援します。
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
graincrawl
394k保存されたGranolaのミーティングメモとトランスクリプトを検索し、その新しさを確認して、一定期間の件数を数えるようエージェントを支援します。
似ているスキル
wizard
310k認証情報の追加やダッシュボードの設定変更など、人だけができるセットアップの手順を、ガイド付きのスクリプトで順に案内します。
git-guardrails-claude-code
310kgit pushやハードリセット、強制的なブランチ削除など、危険なgitコマンドを、実行される前にブロックする安全フックをセットアップします。
setup-pre-commit
310kgitのコミットのたびに、コードの自動整形、型チェック、テストが実行されるよう、自動チェックをセットアップします。