node-connect
它能做什么
它指导 AI 智能体诊断为什么浏览器控制界面,或手机、电脑节点无法连接到 OpenClaw Gateway。它适合在手机或第二台设备上设置 OpenClaw 的人。
适用场景
- ✓浏览器中的 OpenClaw 控制界面无法连接到 Gateway 的时候。
- ✓你的手机应用无法与 OpenClaw 配对,或不断断开连接的时候。
- ✓某个节点在重启后失去连接,需要重新连接的时候。
技能链接
https://github.com/openclaw/openclaw/blob/main/skills/node-connect/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 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-uiormode=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: matchconn,client,mode, androleto the exact client. Admission precedes the hello response; if followed by1006, preserve auth/pairing and inspect hello delivery, lifecycle, transport, proxy, or reconnect. Older builds use overlappingauthenticated user connected/webchat connectedrecords that omit ephemeral clients.1006without 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=offmeans 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 dashboardon the Gateway host for a one-time signed handoff. Use--no-openonly when the operator can retrieve that host's clipboard, and keep the host browser/clipboard outside agent tooling. Never capturedashboard --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.allowTailscaleonly 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
常见问题
手机和浏览器的处理方式一样吗?
并不完全一样。浏览器控制界面与原生手机或节点使用不同的配对路径,因此技能会先确定客户端类型。
它会为每台设备更改我的 Gateway 吗?
不会。它只针对一个准确的客户端和一个准确的 Gateway 操作,其他设备不会受到影响。
它会检查什么?
它会查看 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
评论
- …
同一仓库的更多技能
discord-user-post
394k让你的智能体通过 Discord 桌面应用,以你的身份发送你已批准的消息,并在发送前确认具体频道。
discrawl
394k让你的智能体搜索和总结本地保存的 Discord 消息档案,查看档案的新旧程度,并阅读私信。
gitcrawl
394k让你的智能体搜索已保存的 GitHub 议题和拉取请求档案,将重复内容归类,并在 GitHub 上核实它们的当前状态。
graincrawl
394k让你的智能体搜索已保存的 Granola 会议记录和转写稿,查看它们的新旧程度,并统计某段时间内的数量。