本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)394k · #66

node-connect

できること

このスキルは、ブラウザのControl UIや電話・コンピューターのノードがOpenClaw Gatewayに接続できない原因を調べる手順を、AIエージェントに示します。電話や2台目の機器にOpenClawをセットアップしている人のためのものです。

使う場面

  • ✓ブラウザのOpenClaw Control UIがGatewayに接続できないとき。
  • ✓電話のアプリがOpenClawとペアリングできない、または接続が切れ続けるとき。
  • ✓ノードが再起動後に接続を失い、再接続が必要なとき。

スキルのリンク

https://github.com/openclaw/openclaw/blob/main/skills/node-connect/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/openclaw/openclaw/blob/main/skills/node-connect/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のスマホのOpenClawアプリが接続できないと言い続けています。原因を調べて、動くようにしてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このスキルはまず正確なGatewayとクライアントを特定し、その接続のステータスとログを読みます。失敗しているクライアントのペアリングやアクセスだけを直し、そのクライアントが再接続されたことを確認します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Node Connect

Goal: fix one exact client against one exact Gateway, then prove that client's fresh connection.

1. Lock the target

Record the target environment/profile, OpenClaw binary, config/state root, Gateway URL/port, and service before changing anything.

  • Use the named deployment wrapper/profile for every config, log, service, device, and node command.
  • Never drift to a bare openclaw, proof environment, or similarly named deployment.
  • If the global executable is stale, invoke the target through its owner.
  • Verify status, config, logs, and process identity describe the same Gateway.

Identify the target Gateway before changing pairing or auth.

2. Classify the client

Classify from the request and Gateway log before choosing commands:

  • Control UI browser: the user says browser, dashboard, Control UI, or webchat; logs show client=openclaw-control-ui or mode=webchat.
  • Native mobile/node: the official app shows Connect, Scan QR, or setup code; logs/request metadata show a native client or role=node.

A phone can be either client. Do not use openclaw qr or openclaw nodes status for a phone browser; those belong to native mobile/node pairing.

3. Observe the failing attempt

Run these through the locked target:

openclaw gateway status --deep
openclaw logs --follow --json
openclaw devices list
openclaw config get gateway.mode
openclaw config get gateway.bind
openclaw config get gateway.remote.url
openclaw config get gateway.auth.mode
openclaw config get gateway.auth.allowTailscale
openclaw config get gateway.tailscale.mode

Have the client retry once while logs are live. Correlate its client ID, mode, platform, address, auth result, device ID, user, and close code. Ignore other paired devices.

Interpret the first failed transition:

  • No matching Gateway attempt: route, DNS, TLS, origin, or proxy problem.
  • token_missing, password_missing, mismatch, or Tailscale identity failure: auth failed before pairing, so an empty pending list is expected.
  • pairing required: route and auth succeeded; approve the exact pending request.
  • client connected: match conn, client, mode, and role to the exact client. Admission precedes the hello response; if followed by 1006, preserve auth/pairing and inspect hello delivery, lifecycle, transport, proxy, or reconnect. Older builds use overlapping authenticated user connected / webchat connected records that omit ephemeral clients.
  • 1006 without a matching application-level admission record does not prove auth/pairing; inspect the earlier handshake transition.

4. Prove the route

Choose one topology: same machine, LAN, tailnet, or public reverse proxy. Do not mix them.

  • Browser Control UI needs HTTPS or localhost for browser device identity. A remote plain-HTTP Tailnet/LAN URL is not a valid substitute.
  • gateway.tailscale.mode=off means OpenClaw is not managing Serve/Funnel. It does not prove that Tailscale or an externally managed Serve route is absent.
  • When Tailscale is involved, inspect live state rather than inferring it from OpenClaw config:
tailscale status --json
tailscale serve status --json

Match the client's URL to the listener/proxy route reaching the locked Gateway.

5A. Control UI browser lane

Restore browser auth before looking for a pairing request:

  • For token/password auth, enter the credential in Control UI settings. Never put permanent secrets in chat, logs, or URLs.
  • Prefer openclaw dashboard on the Gateway host for a one-time signed handoff. Use --no-open only when the operator can retrieve that host's clipboard, and keep the host browser/clipboard outside agent tooling. Never capture dashboard --json: it can expose the handoff and shared credentials. Never relay, rewrite, or send a loopback handoff URL to a remote phone.
  • For Tailscale Serve, verify the live route and forwarded identity. Enable gateway.auth.allowTailscale only for that intended trust boundary. Verified Tailscale Control UI auth with browser device identity can skip pairing.

After auth succeeds:

  • Retry; never infer pairing from the pre-auth attempt. Token/password auth can reveal pairing required; verified Tailscale identity can skip it.
  • If logs say pairing required, re-list devices and approve the exact request ID.
  • A successful verified-Tailscale connection may correctly create no pending or paired-device row.
  • After a repeated 1006, preserve auth/pairing and inspe
よくある質問

電話とブラウザで同じように動きますか?

完全には同じではありません。ブラウザのControl UIとネイティブの電話やノードは、異なるペアリング経路を使うため、スキルはまずクライアントを特定します。

すべての機器のGatewayを変更しますか?

いいえ。1つの正確なGatewayに対して、1つの正確なクライアントだけを扱うため、他の機器には触れません。

何を確認しますか?

Gatewayのステータス、ログ、接続済みの機器、設定のGatewayモードを確認します。

詳細

作者による元の説明

Diagnose OpenClaw Control UI browser and native Android, iOS, or macOS node connection failures across route, auth, pairing, QR/setup-code, and reconnect states.

repo: openclaw/openclaw

人気

GitHubのスター
394k
ランキング
#66
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル