← 返回
未分类 Key

Remote Relay

Secure outbound-only relay for remote OpenClaw control — no exposed ports, no SSH, no Telegram.
安全仅出站中继,实现远程 OpenClaw 控制——无暴露端口、无 SSH、无 Telegram。
jason-czar
未分类 clawhub v1.0.1 1 版本 100000 Key: 需要
★ 2
Stars
📥 156
下载
💾 0
安装
1
版本
#latest

概述

remote-relay

Enables secure remote communication between an OpenClaw instance and a relay server without exposing ports, requiring SSH, or relying on Telegram/Discord.

Description

The remote-relay skill registers your local OpenClaw instance as a managed remote node on a relay network. Once connected, the node can receive prompts, execute workflows, report health, and be restarted — all through a secure, outbound-only WebSocket channel.

This skill replaces external messaging-based control layers such as Telegram or Discord with a native, secure relay channel for OpenClaw interaction.

Node Lifecycle

When the skill is enabled, the OpenClaw instance registers as a remote-capable node with the relay and maintains an active session.

The node can be in one of three states:

StateDescription
------
OnlineAuthenticated and accepting relay commands
ReconnectingConnection lost; auto-reconnecting with exponential backoff
OfflineSkill disabled or relay unreachable after max retries

Relay commands are only accepted while the node is authenticated and online. Commands received during reconnection are discarded by the relay.

Capabilities

CapabilityDescription
------
remote_chatReceive and execute prompts remotely, streaming tokens back in real time
remote_statusReport node health: uptime, active tasks, last error, connection state
remote_restartSafely restart the OpenClaw process without manual intervention. Pending executions are cancelled and reported before restart occurs.
remote_triggerExecute OpenClaw workflows/tasks triggered remotely

Remote commands are limited to declared capabilities and cannot execute arbitrary system-level operations.

Configuration

KeyRequiredDescription
---------
relay_urlWebSocket URL of the relay server
node_idUnique identifier for this OpenClaw node
auth_tokenSecret token for authenticating with the relay

Message Protocol

Incoming (Relay → Node)

typeAction
------
promptExecute via OpenClaw prompt runner, stream response tokens back
statusReturn node health payload
restartCancel pending tasks, report them, then gracefully restart
workflowExecute a named OpenClaw task/workflow

Outgoing (Node → Relay)

  • Heartbeat (every 15s):

```json

{ "node_id": "...", "uptime": 3600, "active_tasks": 2, "last_error": null, "connection_state": "online" }

```

  • Response stream: { "type": "token", "request_id": "...", "content": "..." } per token
  • Response complete: { "type": "done", "request_id": "..." }
  • Status: Full heartbeat payload with request_id

External Endpoints

EndpointProtocolData SentData Received
------------
wss:///connectWebSocket (TLS)auth_token, node_id, heartbeat payloads, prompt response tokensRelay commands: prompt, status, restart, workflow

No other external endpoints are contacted. All network activity is limited to the configured relay_url.

Security & Privacy

What leaves your machine

  • auth_token — sent once during the WebSocket handshake to authenticate the node
  • node_id — sent with every heartbeat and response to identify the node
  • Heartbeat data — uptime (seconds), active task count, last error string, connection state
  • Prompt response tokens — streamed back to the relay in response to prompt commands
  • Workflow completion status — success/error for triggered workflows

What stays on your machine

  • All local AI model execution and inference
  • Local file system contents — never read or transmitted
  • Environment variables (other than the three declared above)
  • System information, IP addresses, or hardware details — never collected

Network posture

  • Outbound only — the skill never opens a listening port or accepts inbound connections
  • TLS encrypted — all WebSocket connections use wss:// (TLS 1.2+)
  • No data persistence — the relay server does not store prompt content or response tokens; it forwards in real time

Trust Statement

> By installing this skill, you are connecting your OpenClaw instance to an external relay server at the configured relay_url. Prompt content and response tokens are transmitted through this relay in real time. Only install this skill if you trust the operator of the relay server. The default relay (wss://relay-terminal-cloud.fly.dev) is operated by the project maintainers.

Operational Guarantees

  • Local AI execution continues even if the relay disconnects
  • Relay does not expose the node to inbound traffic
  • Remote actions are capability-scoped — only declared capabilities can be invoked
  • Pending tasks are reported before any restart occurs — no silent failures

Installation

Easiest way — use the visual setup wizard:

👉 Open your dashboard and go to /skill/remote-relay to configure everything through the UI — generate a node ID, test your connection, and export your config in one place.

Or configure manually:

  1. Add the skill to your OpenClaw instance
  2. Configure relay_url, node_id, and auth_token
  3. Start OpenClaw — the relay connection is established automatically

Intended Use

This skill replaces external messaging-based control layers such as Telegram or Discord with a native, secure relay channel for OpenClaw interaction. It is designed for teams and individuals who need reliable remote access to their OpenClaw nodes without exposing infrastructure.

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-12 05:43 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,215 📥 266,418
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 324,023
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 711 📥 243,715