SkillsReviewed · steipete

OpenClaw Relay

OpenClaw Relay is an assistant skill for developers who need to question or post through existing OpenClaw sessions, but it requires configured OpenClaw and acpx installations and careful target setup. Its Python command-line script supports local execution, SSH, direct messages to channels and asynchronous control sessions.

Researched 17 Nov 2026

In short.

OpenClaw Relay is a skill for developers operating OpenClaw sessions locally or over SSH, but reliable routing depends on their existing gateway, credentials and session configuration. It bundles instructions, assistant interface metadata, aliases and a Python CLI for session questions, agent-mediated announcements, direct channel posts and queued work. Important limits appear in the code: alias resolution does not validate the destination, the doctor readiness flag does not establish authenticated delivery, and wait detects session changes rather than completed work. No execution or delivery results are supplied.

Researched and written by an AI model and checked by a second AI model. How it works

Covers SKILL.md, agents/openai.yaml, config/session_aliases.json, scripts/openclaw_relay.py and scripts/test_doctor_token.py within skills/openclaw-relay at revision 2f82700ba9f3e7e93d3583e1990992584561eadc, plus the repository-level LICENSE above that folder. The remaining agent-scripts repository, OpenClaw and acpx implementations, team-handoff, gateway configuration and external services are outside scope. No commands or tests were executed. Authentication, live routing, delivery, media handling, privacy, reliability, performance and operating costs remain unverified.

The overview

Identity

OpenClaw Relay is the openclaw-relay skill in the steipete/agent-scripts repository. Its original source location is [https://github.com/steipete/agent-scripts/tree/main/skills/openclaw-relay].

The folder contains SKILL.md, agents/openai.yaml, config/session_aliases.json, scripts/openclaw_relay.py and scripts/test_doctor_token.py. The assistant metadata presents it as a local or SSH relay into OpenClaw sessions. It adds instructions and command-line coordination to an existing OpenClaw environment.

Assessment

The resource offers a useful common interface for people already managing OpenClaw conversations across machines. Its main strength is the explicit choice between asking a session, requesting an announcement and sending directly through a channel integration.

Adoption requires inspecting the supplied defaults and understanding what each command actually confirms. Source code establishes the available command paths, but successful gateway authentication, channel delivery, reliability, latency and response quality remain unverified.

Users

The strongest fit is developers and technical operators who already have OpenClaw sessions and want an assistant or terminal command to communicate with them. Examples include questioning a channel session, posting an update and queuing work through a gateway on another computer.

Beginners need comfort with terminal commands, repository paths, authentication files and session addresses. The supplied material assumes an existing environment and does not provide a complete beginner installation guide. Team OpenClaw Roboclaw sessions are explicitly assigned to a separate team-handoff skill.

Capabilities

The targets, sessions and resolve commands expose aliases and session information. The ask command sends a question to a particular session and extracts returned assistant text. The publish command asks the reusable control session to arrange an announcement, allowing the target to skip text that does not fit its context.

The force-send command calls OpenClaw's message-send interface directly. It supports text, text files, standard input and media, with options for accounts, threads, silent delivery and attachment handling. Actual media and channel compatibility are not established.

The control-session commands include ensure, blocking send, asynchronous start, wait, status, show and cancel. Publish and force-send also offer dry-run previews.

Using it

Requirements

The caller needs Python 3. The machine executing the relay's underlying commands needs Node.js, an OpenClaw checkout containing scripts/run-node.mjs and an acpx checkout. The script uses acpx's built dist/cli.js when available; its fallback invokes pnpm exec tsx src/cli.ts. Compatible version ranges are unspecified.

The environment also needs a reachable OpenClaw gateway, appropriate authentication and configured sessions. Doctor expects an acpx directory, an OpenClaw .acpxrc.json file and a token-file path. SSH transport additionally requires an SSH client and a remote environment capable of running bash and the relevant commands.

For SSH media posts, the script forwards the media argument without implementing a file upload. A local file path on the caller therefore does not by itself establish that the remote command can access the attachment.

Mechanism

The Python script launches acpx and OpenClaw subprocesses, either locally or through SSH. A session key identifies an OpenClaw conversation; an alias provides a short name for that key. Resolution checks aliases first, accepts explicit agent: keys and otherwise searches session metadata.

For ask, the script builds an OpenClaw ACP command targeting the resolved session and extracts text from acpx JSON event frames. Publish constructs a prompt for the control session and parses its reported delivery result. That report depends on agent behavior.

Force-send derives a channel, recipient and optional thread from the session key, then invokes OpenClaw message send. The reusable control session defaults to codex-bridge and supports continuing or queued conversations.

Setup

Obtain the complete skill folder and keep its scripts and configuration together. SKILL.md references these supporting files; the instruction file alone does not provide the relay implementation. Configure the OpenClaw working directory, acpx directory, gateway URL and authentication through the supplied flags or OPENCLAW_RELAY environment variables.

For local use, explicitly set --gateway-token-file or OPENCLAW_RELAY_GATEWAY_TOKEN_FILE when a token file is needed. Although the documentation lists a home-directory token default, local argument normalization does not supply it automatically; SSH normalization does.

Set --host to your own SSH destination: the supplied default is steipete@steipete-macstudio.local. Replace the shipped aliases before posting. Although described as placeholders, the captured configuration contains an agent:main key and a specific Discord channel ID. Inspect doctor, targets and resolve output before using a destination.

Example

After replacing maintainers with a session you control and configuring the paths and credentials, inspect its mapping with: python3 scripts/openclaw_relay.py resolve --target maintainers

An illustrative question is: python3 scripts/openclaw_relay.py ask --target maintainers --message "Summarize the current discussion." The implementation returns JSON containing the target information, assistantText, stopReason and event frames. These commands are examples only; no returned answer or successful execution is evidenced.

Assessment & evidence

Limitations

Alias and explicit-key resolution return a destination without checking that it exists or is reachable. Force-send bypasses the target agent's announcement decision. Its channel derivation also happens before delivery overrides, so --channel and --to cannot rescue a session key that fails derivation, such as the shipped main-session alias.

Doctor's local readiness flag checks directories, configuration-file presence, token-file existence and successful acpx version execution. It does not establish authenticated gateway access or delivery. The local token check accepts an existing empty file, whereas the SSH check requires a nonempty file.

Wait returns when a sequence number increases or an update timestamp changes; either event can occur before work finishes. Subprocess calls have no explicit timeout, so the polling deadline does not bound a stalled underlying command.

Publish reports agent-generated delivery information without an independent delivery check. Dry-run avoids the final posting action, but normalization or target discovery can still contact a remote host. Supported platform versions, privacy guarantees and production reliability are unknown.

Reasoning

The practical benefit is a single entry point for discovering targets, questioning sessions, requesting announcements and managing remote queued work. The separate ask, publish and force-send paths give operators meaningful control over how a message reaches its destination.

That convenience is most valuable when the underlying OpenClaw environment already works. Configuration assumptions, differing delivery semantics and incomplete completion signals create additional responsibilities for the operator. The evidence supports these design tradeoffs without establishing delivery success or time savings.

Alternatives

Direct use of the underlying acpx and OpenClaw commands is an alternative for operators who prefer to manage session commands, SSH and JSON output themselves. The relay's added value is combining those operations with aliases and reusable control-session commands.

For Team OpenClaw Roboclaw sessions, the documentation points to the separate team-handoff skill from openclaw/agent-skills. Its implementation is not supplied, so its requirements and comparative behavior are not assessed. No comparative performance or cost evidence is provided for other products.

Evidence

The supplied material includes all five selected skill files and the repository-level LICENSE. SKILL.md describes intended use, openai.yaml supplies assistant-facing metadata, the alias file shows the shipped mappings, and the Python implementation establishes command construction and result handling.

The single supplied test module checks local doctor readiness with unset or empty token-path values, missing files and an existing synthetic token file. It mocks the acpx and OpenClaw subprocess calls. This is test source, with no execution results; it supplies no evidence of SSH operation, gateway authentication, message delivery or asynchronous task completion. Nothing was executed.

Access & freshness

Costs

The MIT licence grants the covered software and documentation permissions free of charge. The supplied material specifies no per-relay price or operating-cost estimate.

Any model usage, hosting, network or messaging-service charges depend on the surrounding installation and are unknown. There are no supplied usage measurements from which to estimate a cost per question or post.

Rights

The repository-level MIT licence names Peter Steinberger as the 2026 copyright holder. It permits use, copying, modification, publication, distribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions.

The licence provides the software without warranty and disclaims liability. No additional skill-specific licence notice appears in the supplied files. Licences and service terms for OpenClaw, acpx, models and connected messaging platforms are outside the supplied material.

Freshness

The supplied snapshot was captured on 2026-11-17 at 03:26:46.206 UTC from revision 2f82700ba9f3e7e93d3583e1990992584561eadc. The revision-specific folder is [https://github.com/steipete/agent-scripts/tree/2f82700ba9f3e7e93d3583e1990992584561eadc/skills/openclaw-relay].

The findings apply to that revision. The material declares no skill release version or compatible OpenClaw and acpx version ranges. Changes after the snapshot and compatibility with other dependency versions are unknown.

Actions

Before use, configure your own host, repository paths, gateway authentication and aliases. Inspect the resolved session key and use a harmless question in a session you control before attempting a channel post.

Choose publish when the target should decide whether to announce the text, or force-send when direct channel delivery is intended. Inspect the dry-run destination, account and thread before posting, then confirm the actual result in the destination.

For queued work, pass start's waitFromLastSeq value to wait using --after-seq, then inspect the returned content for a completed result. Treat a changed session record and doctor readiness as limited signals.

Evidence for this report

LICENSEnotice · checked 2026-11-17
skills/openclaw-relay/SKILL.mdselected · checked 2026-11-17
skills/openclaw-relay/agents/openai.yamlselected · checked 2026-11-17