跳到正文
cccskills
免费在 GitHub 公开

node-connect

Diagnose why an OpenClaw browser interface or native app cannot connect. Check the network route, authentication, device pairing, and reconnect behavior against one specific Gateway, the connection server, then verify a fresh connection.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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

查看安装方法

适用场景

  • Diagnosing an OpenClaw Control UI browser connection failure
  • Investigating official app connections on Android, iOS, or macOS
  • Checking QR and setup-code connection problems
  • Investigating repeated disconnects after authentication

包含的文件(1)

  • SKILL.md6.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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 inspect reconnect evidence.

5B. Native mobile/node lane

Inspect the native route through the locked target without exposing the setup credential:

openclaw qr --json | jq '{gatewayUrl, gatewayUrls, auth, access, accessDowngraded, urlSource}'

For a CLI controlling a remote Gateway, add --remote before --json; it selects gateway.remote.url and remote credentials. If the redaction filter is unavailable, do not run raw QR JSON in agent-visible output.

Verify gatewayUrl and urlSource. The setup code is password-equivalent: have the operator copy it from Control UI → Devices → Pair device, or run openclaw qr --setup-code-only in a terminal outside agent tooling and paste it directly into the official app. Never relay it through agent/chat/tool output. Generate a fresh code after a URL/auth fix or expiry.

If the app reports pairing required:

openclaw devices list
openclaw devices approve --latest   # preview only; exits without approval
openclaw devices approve <requestId>
openclaw nodes status

--latest only previews the current request; never treat it as approval. Re-list immediately before the exact-ID command because retries can supersede the request. Never approve by position, age, or similarity.

6. Correlate and finish

Before approval, match available request, device/public-key, client, mode/role, platform, address, user, and retry-time facts.

Declare success only after a new attempt made after the final change proves all applicable checks:

  • the exact client reaches the locked Gateway;
  • intended auth succeeds;
  • the browser completes initial requests, or the native node appears in openclaw nodes status;
  • approval used the exact request ID; and
  • no immediate auth, pairing, or reconnect failure follows.

A QR/setup code, launched browser, empty pending list, approval, paired-device count, or Tailscale ping proves only one transition.

Report the diagnosis, chosen route/auth lane, exact-client evidence, and any remaining failed transition.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

1password

免费

Set up and authenticate the 1Password CLI, then supply stored passwords and API keys to commands or configuration. The skill covers desktop integration, service accounts, and interactive sign-in while keeping secrets out of chat and logs.

中文简介正在准备中。当前显示英语简介。

  • Setting up the 1Password CLI
  • Supplying API keys to commands
  • Using service account authentication in CI
openclaw/openclaw39.2万2026年10月18日 更新

acp-router

免费有简介AI 评分 80分

将提交给OpenClaw的自然语言请求转交给Claude Code等外部编程智能体,通过ACP或acpx启动、继续会话,并保留对话上下文。

  • 在讨论串中启动Claude Code
  • 继续外部智能体的现有工作
  • 通过acpx直接传递指令
openclaw/openclaw39.2万2026年10月18日 更新

Add a model provider to OpenClaw and verify it with a real response. The skill validates configuration, keeps credentials in environment or file references, and reports test results and any default model changes.

中文简介正在准备中。当前显示英语简介。

  • Adding a model provider to OpenClaw
  • Configuring credentials through environment or file references
  • Checking whether a model returns a real response
openclaw/openclaw39.2万2026年10月18日 更新

Prepare an agent activity transcript for a GitHub pull request or issue. Extract relevant prompts, decisions, and results from local logs, remove sensitive material, and preview the edited record before separately authorized publication.

中文简介正在准备中。当前显示英语简介。

  • Preparing an agent activity record for a pull request
  • Extracting task-relevant prompts and results from local logs
  • Previewing a transcript with sensitive information removed
openclaw/openclaw39.2万2026年10月18日 更新

Manage Apple Notes on macOS through memo, a command-line tool. Create, browse, search, edit, delete, and move notes between folders, or export selected notes to HTML or Markdown for use outside the app.

中文简介正在准备中。当前显示英语简介。

  • Creating notes with titles
  • Finding notes by folder or approximate search
  • Editing notes and organizing them into folders
openclaw/openclaw39.2万2026年10月18日 更新

apple-reminders

免费有简介AI 评分 70分

通过Mac查看、添加和编辑Apple Reminders中带截止时间的待办事项,管理列表并完成或删除任务,整理在iPhone或iPad上查看的个人任务。

  • 查看今天和已逾期的任务
  • 添加带截止日期的个人待办事项
  • 整理iPhone或iPad上的任务
openclaw/openclaw39.2万2026年10月18日 更新

查看 openclaw 的全部技能

报告此技能的问题