Communityコーディング&開発github.com

ゲートウェイ診断

ゲートウェイ、設定、シークレット、チャネル、ポートの障害を、読み取り専用のワンライナーで診断します。

ゲートウェイ診断 とは?

このスキルは、OpenClawゲートウェイとその周辺コンポーネント(設定、シークレット、チャネル、ポート)の障害を診断するための読み取り専用プレイブックです。設定の書き込み、サービス再起動、`doctor --fix`、リスナー停止などの変更は一切行いません。シークレット値は決して出力せず、SecretRefの所有者状態のみを報告します。すべての実行は、検証可能なProve結果、または検証できなかった正確な理由の説明で終了します。管理者インストールでは、`./scripts/clawlog.sh`(リポジトリチェックアウト時)またはゲートウェイ起動時に表示されるログパスから、最近のログを取得できます。このスキルは、構成エラー、SecretRefの劣化、チャネル認証の期限切れ、ポート競合、ゲートウェイクラッシュループなど、特定の兆候を確認するために設計されています。発見事項は因果順に報告し、`configure-channel`、`add-model-provider`、`cloud-image-bake`などのスキルを推奨します。また、設定やサービスの修復、状態の移行は一切行われなかったことを明示します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/custodian-skills/diagnose-gateway

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

ゲートウェイを診断する

このプレイブックは読み取り専用です。設定の書き込み、サービスの再起動、doctor --fix、リスナーの停止は行いません。シークレット値を出力することは決してなく、編集された SecretRef 所有者の状態のみを報告します。すべての実行は、観測可能な Prove 結果、またはそれが証明できなかった正確な理由の説明で終了します。

情報収集

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

doctor --lint は読み取り専用であり、結果を出力して終了コード 1 を返すことがあります。その場合はレポートを読み、残りのチェックを続行してください。通常の doctor や doctor --non-interactive を代わりに使用しないでください。これらは --fix なしでもレガシー設定をコピーし、状態を移行する可能性があります。

管理対象インストールでは、最近のログに制限: ./scripts/clawlog.sh(リポジトリチェックアウト時)またはゲートウェイ起動時に出力されたログパス(デフォルトは /tmp/openclaw/openclaw-<日付>.log)。

推測せずに以下の兆候を確認してください:

  • 無効な設定またはスキーマエラー(config validate は正確なキーと行を報告します);
  • 劣化した SecretRef 所有者 — 所有者を報告し、ID や値は決して報告しない;
  • 期限切れまたは拒否されたチャネル認証(アカウントごとに channels status);
  • EADDRINUSE、2つ目のゲートウェイリスナー、またはサービス/設定ポートの不一致(lsof -nP -iTCP:<ポート> -sTCP:LISTEN);
  • ゲートウェイのクラッシュループ: ゲートウェイログの最後の起動スタックを読む。スキーマ検証を通過した設定でも起動時にクラッシュする場合はバグです — スタックをキャプチャして報告してください。

タイムスタンプを相関させ、最初の所有者境界の障害を特定してください。

変更

何もしない。設定の変更、状態の移行、サービスの変更は行わない。診断コマンドは、付随的なログやキャッシュのブックキーピングを生成することがあります。

修復

各発見事項を次のアクションに変換し、該当するスキルが存在する場合はその名前を指定してください: configure-channel, add-model-provider, または cloud-image-bake。openclaw doctor --fix --non-interactive は、別途承認されたステップとしてのみ推奨してください。

証明

条件を明らかにする最小の読み取り専用チェックを繰り返し、その出力を記録してください。例:

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

アクセス、ログ、またはゲートウェイが利用できない場合は、原因を宣言する代わりに、その正確なブロッカーを報告してください。

報告

発見事項を因果順に、それぞれの証拠とともに報告。現在のゲートウェイ/設定/SecretRef/チャネル/ポートの状態。推奨される次のスキルまたはオペレーターアクション。設定やサービスの修復、状態の移行は一切行われなかったことを明示的に述べてください。

参考: https://docs.openclaw.ai/gateway/troubleshooting

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills and agent Templates when requested; add Templates; install, verify, update, uninstall, publish, or sync skills.

関連スキル