Skip to content

OpenClaw Session Relay

Relay prompts or posts into OpenClaw chat sessions locally or over SSH

Stars
7,433
Licence
MIT
Files
5 files

What it does

This skill lets an AI agent send messages into existing OpenClaw assistant sessions, either on the same computer or on another machine reached over SSH. It can ask a session a private question, post text or media to a channel, or queue work and poll for the reply. The agent uses a bundled Python script to do this, so it can route messages without you copy-pasting between tools.

Great for

  • Developers who run OpenClaw assistants and want an agent to message them or their channels
  • Maintainers who relay announcements into an OpenClaw Discord-style channel session
  • Users with a remote OpenClaw gateway who need to reach it over SSH

Skip it if

  • Starting or inspecting sessions on the team.openclaw.ai server: the SKILL.md says that is a different skill (team-handoff) and this one will not handle it
  • Posting to a public channel without review: force-send bypasses the target session's own decision about whether to post, so a mistake reaches the audience directly
  • People without an OpenClaw installation or gateway: the script depends on the acpx tool and a gateway token and will not work without them

Try asking

  • “Ask the maintainers session privately to summarize the current discussion in its channel”
  • “Force-send a deploy-done message to the maintainers channel on my Mac Studio over SSH”
  • “Start a background task in the control session and check back for the reply”
  • “Run the doctor health check to see whether my local OpenClaw relay is set up correctly”
Step-by-step guide: how to use OpenClaw Session RelayInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 5 original files, the MIT licence and an attribution note.

    openclaw-relay.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip openclaw-relay.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip openclaw-relay.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Run doctor first to confirm acpx, the token file and the targets file are ready before sending anything.
  • Use ask or a tiny probe before force-send so you do not post the wrong text to a live channel.
  • Pass multiline messages with --text-file rather than shell-quoting them, and review the text first.

What's inside

  • agents/openai.yaml
  • config/session_aliases.json
  • scripts/openclaw_relay.py
  • scripts/test_doctor_token.py
  • SKILL.md

Redistributed unmodified from steipete/agent-scripts under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.