Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

node-connect — Claude Code skill: what it does, how to install

Troubleshoots OpenClaw Control UI browser and native mobile node connection failures. Guides the assistant through routing, auth, QR pairing, and reconnect states.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add openclaw/openclaw --skill node-connect -a claude-code
Open on GitHub

What node-connect does

The skill establishes a strict debugging workflow for OpenClaw Gateway connections. It forces the agent to lock the target deployment profile, binary path, and port first. This prevents accidental drift to an unrelated or default openclaw instance. Next, it classifies the client as either a Control UI browser or a native mobile node on Android, iOS, or macOS.

Routing and logs come under scrutiny with openclaw gateway status --deep and live JSON streaming. The skill distinguishes between route failures, authentication rejections, and pairing states. If logs show WebSocket close code 1006 after admission, that is a reason to inspect transport and proxies rather than resetting credentials. Note that the browser Control UI strictly requires localhost or HTTPS for valid device identity.

Security is handled explicitly during pairing. Setup codes and raw QR payloads are password-equivalent, so the instructions forbid passing them through agent chat or tool outputs. In addition, openclaw devices approve --latest only previews a request. Actual pairing approval requires running openclaw devices approve <requestId> with the exact identifier.

What it helps with

  • Separate Control UI browser diagnostics from native mobile pairing
  • Pinpoint WebSocket close code 1006 and transport failures in gateway logs
  • Verify listener routes across LAN, Tailscale, or reverse proxies
  • Approve pending device pairing requests using exact request IDs

Example prompts for the agent

  • My OpenClaw Control UI cannot connect over Tailscale, check the gateway logs
  • Diagnose why the iOS app fails pairing with OpenClaw Gateway
  • Inspect the failing gateway connection and help approve the pending node

How to install node-connect

1Skills CLI (Vercel)

npx skills add openclaw/openclaw --skill node-connect -a claude-code

2Manually: put the files in place

~/.claude/skills/node-connect/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/node-connect/

From the same set45

The whole set →
summarize openclaw Runs a CLI tool to summarize or transcribe web articles, YouTube videos, podcasts, and local PDF documents directly within your AI assistant. Claude Code CX Codex Cursor +1 26,900installs weather openclaw This skill fetches current conditions and forecasts for a city, region, airport code, or coordinates. Use it to check rain and temperature or plan a trip. Claude Code CX Codex Cursor +1 9,300installs gog openclaw Guides an agent using the gog CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs. Use it when Google Workspace tasks need to run from a terminal. Claude Code CX Codex Cursor +1 8,500installs tmux openclaw Lets an agent work with live tmux sessions: read pane output, send keys and text, wait for a prompt line to show up. Claude Code CX Codex Cursor +1 8,400installs openai-whisper openclaw This skill lets your agent call the Whisper CLI to transcribe audio on your own machine. No API key needed. Claude Code CX Codex Cursor +1 7,100installs nano-pdf openclaw Edit PDF pages with plain text instructions through the nano-pdf CLI. Useful when you need to fix a typo or swap a heading without leaving your terminal. Claude Code CX Codex Cursor +1 7,100installs skill-creator openclaw A skill for writing, repairing and reviewing other skills. It splits behaviour into branches, sets the frontmatter and sorts resources into folders. Useful once your skill folder gets crowded. Claude Code CX Codex Cursor +1 6,700installs coding-agent openclaw This skill sends large coding tasks to Codex, Claude Code, or OpenCode as background workers. Use it for refactors, PR reviews, and issue-to-PR work. Claude Code CX Codex Cursor +1 6,500installs

Similar

reference-signal-forms angular Explains Angular signal-based forms and helps agents navigate packages/forms/signals before changing its architecture or field bindings. Claude Code CX Codex Cursor +1 969installs firecrawl-search firecrawl This skill finds web sources, returns relevant excerpts, and can fetch full page content. Use it for research and structured data discovery. Claude Code CX Codex Cursor +1 84,400installs code-documentation bytedance This skill auto-generates README files, API references, architecture docs, and developer guides straight from your codebase. Use it to document projects, libraries, and APIs without manual effort. Claude Code CX Codex Cursor +1 1,900installs skill-creator langchain-ai Guides agents in scaffolding, validating, and structuring custom skills. It cuts token overhead by separating scripts, docs, and assets. Claude Code CX Codex Cursor +1 1,300installs paseo-advisor getpaseo Spins up a separate agent to analyse your current task and give a judgment — read-only, no edits. Call it when you need a second opinion before committing a decision. Claude Code CX Codex Cursor +1 3,600installs compose-outreach official anthropics Generates three outreach formats — email, call script, and LinkedIn message — grounded in Common Room signals. Requires Common Room account and MCP integration. Claude Code CX Codex Cursor +1 2,900installs setup-matt-pocock-skills Matt Pocock This skill configures a repository for Matt Pocock's engineering skills by setting its issue tracker, triage labels, and domain docs layout. Run it before using the other skills. Claude Code 1,052,851installs to-tickets Matt Pocock Turns a plan, spec, or conversation into small end-to-end tickets with explicit blockers. Use it to agree on the work breakdown before tickets go to a tracker. Claude Code 711,230installs

Questions about node-connect

How to install node-connect in Claude Code?

Run npx skills add openclaw/openclaw --skill node-connect -a claude-code in your terminal.

What does node-connect do?

It provides an exact step-by-step procedure for diagnosing connection problems between clients and an OpenClaw Gateway. The skill handles routing, authentication, pairing requests, and reconnect loops.

Why shouldn't you approve devices using openclaw devices approve --latest?

The --latest flag only generates a preview and exits without approving the request. You must inspect the pending list and supply the specific ID to openclaw devices approve <requestId>.

Source text

SKILL.md · MIT
---
name: node-connect
description: "Diagnose OpenClaw Control UI browser and native Android, iOS, or macOS node connection failures across route, auth, pairing, QR/setup-code, and reconnect states."
---

# 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:

```bash
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:

```bash
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:

```bash
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`:

```bash
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.

© openclaw · MIT · openclaw/openclaw

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor