debug-openshell-cluster
できること
このスキルは、起動しない、到達できない、またはサンドボックスを作成できない OpenShell ゲートウェイを、AI が診断する手順を案内します。Docker、Podman、Kubernetes、VM で OpenShell を運用する担当者向けです。
使う場面
- ✓OpenShell ゲートウェイが正常でなく表示される、または到達できないとき。
- ✓OpenShell ゲートウェイで、サンドボックスが起動しないとき。
- ✓Helm、TLS、認証の問題で、OpenShell ゲートウェイが動かないとき。
スキルのリンク
https://github.com/NVIDIA/OpenShell/blob/main/skills/debug-openshell-cluster/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私の OpenShell ゲートウェイに接続できず、新しいサンドボックスも起動しません。原因を調べてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AI はまず CLI がどのゲートウェイを使っているかを確認し、その後、Docker、Podman、kubectl、VM のログなど、そのプラットフォームのツールで失敗している部分を探します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Debug OpenShell Gateway Deployment
Diagnose a gateway and its selected compute platform. Do not assume OpenShell provisions Kubernetes or runs a k3s container. OpenShell targets a reachable gateway endpoint backed by Docker, Podman, Kubernetes, the experimental VM driver, or an operator-managed out-of-tree compute driver.
Use openshell first to identify the active endpoint. Then use the platform tools that match the gateway's compute driver: docker, podman, kubectl/helm, or VM driver logs.
Overview
The target deployment flow is:
- Operator starts or deploys the gateway with system packages, systemd, or Helm. The CLI does not start, stop, or destroy gateway services.
- Operator configures the compute driver.
- Operator provides the CLI and supervisor authentication material required by the deployment mode: edge or OIDC user auth, optional CLI mTLS, and gateway-minted sandbox JWTs.
- The CLI registers a reachable gateway endpoint with
openshell gateway add. - The gateway creates sandboxes through the selected compute driver.
The openshell-gateway composition crate explicitly installs its compiled
Docker, Podman, Kubernetes, and VM registrations at startup; openshell-server
does not link compute-driver crates. Custom gateway binaries may include a
subset of those registrations. With no configured driver, the gateway probes only
installed registrations in priority order (Kubernetes, Podman, then Docker);
VM has no probe and remains opt-in. Confirm the binary's registered drivers
when auto-detection reports that no suitable driver is available. If
configuration selects a driver that was not compiled in, the gateway treats
the name as an external driver and reports a missing socket_path unless an
endpoint is configured.
On Windows, custom binaries can include MXC independently. Registrations for Docker, Podman, Kubernetes, and VM are rejection stubs when included; they do not enable those runtimes on Windows.
See the compute driver reference for selective-build options and external-driver configuration.
For local evaluation only, TLS may be disabled and the gateway can be reached through http://127.0.0.1:<port>.
Prerequisites
- The
openshellCLI must be available for endpoint checks. - Know the active gateway name and endpoint, or be able to inspect local gateway metadata.
- Know the compute platform: Docker, Podman, Kubernetes, VM, or an out-of-tree driver.
- For Kubernetes:
kubectlmust target the cluster that hosts OpenShell and Helm version 3 or later must be available. - For Docker or Podman: the runtime socket must be reachable from the gateway host.
Use openshell --help and nested --help output as the authority for the installed CLI version. Use the published installation guide, compute-driver reference, gateway configuration reference, and Kubernetes setup guide as the authority for deployment and configuration behavior.
Workflow
Run diagnostics in order and stop once the root cause is clear.
Step 1: Check CLI Reachability
openshell gateway list --output json
openshell gateway info
openshell status
For a one-off endpoint check that bypasses stored gateway selection and metadata:
openshell --gateway-endpoint <url> status
Common findings:
No active gateway: register one withopenshell gateway add <endpoint>.gateway has no user authentication configured: configure OIDC, mTLS user or operator authentication, or gateway JWTs using the published gateway configuration reference. For trusted local development, explicitly set[openshell.gateway.auth] allow_unauthenticated_users = true; the gateway otherwise refuses to bind any ports.- Connection refused: gateway process is not running, service exposure is wrong, or a port-forward/proxy is not active.
- TLS/certificate errors: the endpoint scheme or trust chain is wrong, a CLI mTLS bundle does not match the gateway CA, a supervisor is missing the gateway CA, or TLS termination does not match the gateway listener. Workloads and supervisors should not contain a user TLS client certificate or private key.
- Fresh snap
よくある質問
このスキルはゲートウェイをインストールしたり起動したりしますか?
いいえ。すでに展開されたゲートウェイの問題を見つける手助けをします。CLI 自体はゲートウェイのサービスを起動も停止もしません。
どのプラットフォームに対応しますか?
Docker、Podman、Kubernetes、実験的な VM ドライバー、カスタムのコンピュートドライバーに対応します。
TLS やログインの問題にも対応しますか?
はい。診断対象の問題として、TLS、認証、サンドボックスの起動の問題を挙げています。
詳細
作者による元の説明
Debug why an OpenShell gateway deployment is unhealthy, unreachable, or unable to create sandboxes. Use for gateway health failures, Docker/Podman runtime issues, Helm failures, Kubernetes scheduling, TLS or auth, gateway interceptors, supervisor middleware startup or runtime failures, external compute-driver sockets, VM drivers, or sandbox startup. Trigger keywords - debug gateway, gateway failing, deployment failing, helm install failing, cluster health, gateway health, gateway not starting, health check failed, sandbox pending, docker driver, podman driver, kubernetes driver, external drive
repo: NVIDIA/OpenShell
人気
- GitHubのスター
- 21k
- ランキング
- #10366
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
create-github-issue
21kgh コマンドラインツールとプロジェクトのテンプレートを使い、エージェントがバグ、機能要望、タスクの GitHub Issue を作成するのを支援します。
create-github-pr
21k作業の準備ができているかを確認したうえで、gh ツールを使って、あなたのブランチから GitHub のプルリクエストを作成します。
review-github-pr
21kGitHub のプルリクエストを読み、その変更点、重要な設計上の判断、注目すべきコードを平易な言葉で説明する方法を、エージェントに教えます。
watch-github-actions
21kエージェントが GitHub Actions の実行状況を確認し、終わるまで追跡して、失敗したジョブのログを読めるようにします。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。