openclaw-relay
OpenClaw session relay: prompts/posts via local/remote acpx over SSH.
What this skill does
# OpenClaw Relay Use this when the job is: - "talk to Molty" - "relay this into an OpenClaw channel session" - "use acpx" - "send this through the gateway via acp" - "work through a remote OpenClaw bridge over SSH" One skill. Two transports: 1. `local` 2. `ssh` Default to `local` for direct telephone-game work from the current OpenClaw checkout. Use `ssh` when the target agent/session lives on another machine. For Peter's setup, Molty normally lives on the Mac Studio gateway, reached as `[email protected]`; avoid the `mac-studio` SSH alias for one-shot relay work because that alias auto-attaches tmux. Script path: `scripts/openclaw_relay.py` Target aliases file: `config/session_aliases.json` ## Mode Selection Choose `local` when: - the user explicitly says `acpx` - the target session is on the current machine - the goal is quick relay or private ask Choose `ssh` when: - the target agent/session lives on another host - you want a persistent bridge session - you need async queue/wait/show flows on a remote machine ## Defaults The script avoids baked-in personal paths. Override with env or flags when needed. - transport: `local` - local repo cwd: current working directory - local acpx repo: `<cwd>/extensions/acpx` - ssh host: `[email protected]` - remote repo cwd: `<remote-home>/clawdbot` - remote acpx repo: `<remote-home>/Projects/oss/acpx` - gateway token file: `<home>/.openclaw/gateway.token` - control session name: `codex-bridge` - target aliases file: `config/session_aliases.json` Useful env vars: - `OPENCLAW_RELAY_TRANSPORT` - `OPENCLAW_RELAY_HOST` - `OPENCLAW_RELAY_CWD` - `OPENCLAW_RELAY_ACPX_REPO` - `OPENCLAW_RELAY_GATEWAY_URL` - `OPENCLAW_RELAY_GATEWAY_TOKEN_FILE` - `OPENCLAW_RELAY_SESSION` - `OPENCLAW_RELAY_TARGETS_FILE` ## Quick Start Health check: ```bash python3 scripts/openclaw_relay.py doctor ``` List known target aliases: ```bash python3 scripts/openclaw_relay.py targets ``` Resolve a target alias: ```bash python3 scripts/openclaw_relay.py resolve --target maintainers ``` Ask a target session a question privately: ```bash python3 scripts/openclaw_relay.py ask \ --target maintainers \ --message "Summarize the current vibe in this channel." ``` Force-send text to the resolved target: ```bash python3 scripts/openclaw_relay.py force-send \ --target maintainers \ --text "Deploy is done." ``` For multiline posts, use `--text-file <path>` or `--text-file -` instead of shell-quoting the message. Force-send media when the user explicitly wants a channel post: ```bash python3 scripts/openclaw_relay.py force-send \ --transport ssh \ --host [email protected] \ --target maintainers \ --text "Demo video." \ --media /tmp/demo.mp4 ``` Use the persistent control session: ```bash python3 scripts/openclaw_relay.py ensure python3 scripts/openclaw_relay.py send --message "Reply with exactly OK." python3 scripts/openclaw_relay.py show ``` Remote host example: ```bash python3 scripts/openclaw_relay.py doctor --transport ssh --host [email protected] python3 scripts/openclaw_relay.py send \ --transport ssh \ --host [email protected] \ --message "Reply with exactly OK." ``` ## Async Workflow Queue work and poll the same control session: ```bash python3 scripts/openclaw_relay.py start --message "Work on X and reply when done." python3 scripts/openclaw_relay.py wait --after-seq <last-seq> python3 scripts/openclaw_relay.py show ``` ## Target Aliases `config/session_aliases.json` ships with placeholders. Replace them with real values for your setup. Example shape: ```json { "main": "agent:<agentId>:main", "maintainers": "agent:<agentId>:discord:channel:<channelId>" } ``` ## Session Rules Use these rules when choosing a command: - Want a private reply from a specific session: `ask` - Want the target session to decide whether to post: `publish` - Want a guaranteed direct post: `force-send` - Want blocking continuity with the control brain: `send` - Want fire-and-forget async: `start`, then `wait` and `show` - Want to stop queued work: `cancel` ## Failure Handling If relay work fails: 1. Run `doctor`. 2. Run `status`. 3. Run `show`. 4. If the control session is wedged, run `cancel`, then `ensure`, then retry. If route discovery is uncertain: 1. Resolve the target first. 2. Prefer alias or exact session key. 3. Use a tiny probe ask before sending the real payload. ## Output Relay Return the actual assistant text or delivery result, not shell noise. For relay tasks, report: - transport used - target session key - whether the route probe/resolve succeeded - final posted or returned result
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.