360 Secure SkillHub
360 安全技能中心

gateway-control-ui

面向 OpenClaw 的分步操作指南:打开 Control UI 并完成 HTTP Basic 认证,从配置文件读取网关令牌并在界面中填入连接,用 CLI 列出并批准设备配对请求,最后通过界面状态和 openclaw status --deep 验证连通性,并附排查建议。

lotfinity
lotfinity
热度 55.72
最近更新 2026-05-11 17:30:39
分类:自动化依赖:代码执行 / 联网浏览搜索 / 读写文件应用场景:工作流 / DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add gateway-control-ui
Metadata
name
gateway-control-ui
description
Step-by-step guide to log into the OpenClaw Control UI, enter gateway token, approve device pairing, and verify connection
metadata
{"openclaw":{"emoji":"🔧","requires":{"bins":["openclaw","cat"]}}}

Gateway Control UI Login & Pairing

Use when a user needs to access the OpenClaw Gateway Control UI, authenticate, pair a device, and confirm connectivity.

Prerequisites

  • OpenClaw gateway running (openclaw status)
  • Control UI URL configured in gateway.controlUi.allowedOrigins
  • Gateway token available in config (/data/.openclaw/openclaw.json)
  • Device pairing approval (CLI)

Steps

1. Open Control UI

  • URL: use your configured OpenClaw service URL (from gateway.controlUi.allowedOrigins)
  • HTTP Basic Auth:
    • Username: use your SERVICE_USER_OPENCLAW value
    • Password: use your SERVICE_PASSWORD_OPENCLAW value
  • Optional embedded form:
    • https://<user>:<pass>@<your-openclaw-domain>/

2. Get Gateway Token

cat /data/.openclaw/openclaw.json | grep -A 2 '"token"'

Token is under:

"gateway": { "auth": { "token": "YOUR_TOKEN_HERE" } }

3. Enter Token in UI

  • On Overview page, click Gateway Token field
  • Paste token
  • Click Connect

4. Approve Pairing (CLI)

openclaw devices list
openclaw devices approve <requestId>

5. Verify Success

  • In Control UI: status shows green “OK” and dashboard loads
  • CLI:
    openclaw status --deep
    
    Check Gateway → reachable and channels show OK.

Troubleshooting

  • Page stays on form? WebSocket URL may need to be filled (usually left blank for remote)
  • Pairing fails? Run openclaw devices list again to see pending requests
  • Token invalid? Check /data/.openclaw/openclaw.json for correct value