← 返回
沟通协作 中文

OpenClaw Peer Bridge

Design and operate communication patterns between two OpenClaw instances. Use when a user wants one OpenClaw deployment to send status, tasks, reminders, aud...
设计并操作两个OpenClaw实例间的通信模式。当用户需要一个OpenClaw部署向另一个发送状态、任务、提醒等信息时使用。
clawdpi-ai
沟通协作 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 486
下载
💾 7
安装
1
版本
#latest

概述

OpenClaw Peer Bridge

Design communication between two OpenClaw instances using supported primitives only.

Prefer explicit, auditable flows: webhook delivery, cron delivery, channel routing, or user-mediated relay.

Do not invent peer-to-peer commands or claim native cross-instance session sharing unless it exists in the current deployment.

Core patterns

1. Event push via webhook

Use when one OpenClaw instance needs to notify another system or service immediately.

Pattern:

  1. Source OpenClaw runs an isolated cron or task.
  2. Delivery mode is webhook.
  3. Target side exposes an HTTP endpoint that accepts the event and decides what to do next.

Use for:

  • health checks
  • deployment notifications
  • audit summaries
  • workflow completion callbacks

2. Human-routed messaging bridge

Use when the only guaranteed common surface between two instances is a chat channel.

Pattern:

  1. Instance A sends a structured message to a human-controlled channel.
  2. Human or downstream automation forwards or triggers Instance B.
  3. Keep payloads short, explicit, and idempotent.

Use for:

  • approvals
  • escalation paths
  • low-frequency handoffs
  • cross-org workflows where direct network trust is not available

3. Scheduled relay

Use when exact timing matters more than low latency.

Pattern:

  1. Source instance schedules a cron job.
  2. Cron produces either an announcement or webhook.
  3. Target instance or receiving system processes the scheduled event.

Use for:

  • daily summaries
  • recurring audits
  • scheduled sync checks
  • heartbeat-style supervision

4. Local-to-remote control pattern

Use when a workstation OpenClaw needs to coordinate with a server-side OpenClaw.

Recommended split:

  • local instance handles human interaction, approvals, and dashboards
  • remote instance handles long-running jobs, server inspection, and isolated automation

Design rules:

  • keep credentials local to the instance that needs them
  • push summaries, not raw secrets
  • define ownership of each task clearly
  • prefer append-only logs and explicit acknowledgements

Workflow

Step 1: define the bridge objective

State the business outcome first:

  • alerting
  • task dispatch
  • result return
  • approval request
  • periodic reporting

Step 2: choose the transport

Choose the smallest sufficient transport:

  • webhook for machine-to-machine notifications
  • chat delivery for human-visible handoffs
  • cron for scheduled communication
  • local files only for same-machine coordination

Step 3: define message contract

Specify:

  • event name
  • sender instance
  • intended receiver
  • timestamp
  • payload fields
  • retry behavior
  • idempotency key if duplicate delivery is possible

Prefer JSON for machine processing and short bullet summaries for human review.

Step 4: define trust boundary

Document:

  • which side is authoritative
  • where credentials live
  • which actions require approval
  • what happens on failure or timeout

Never assume both OpenClaw instances share memory, sessions, or auth state.

Step 5: implement with reversible changes

Prefer:

  • isolated cron jobs
  • explicit webhook URLs
  • local config edits with backup
  • test messages before production use

Step 6: verify end to end

Check:

  • source event fired
  • delivery succeeded
  • receiver handled duplicate-safe logic
  • failure path is visible
  • no secrets leaked in logs or chat

Output expectations

When using this skill, produce one of these deliverables:

  • bridge design memo
  • message schema
  • cron payload definition
  • webhook contract
  • rollout plan with rollback
  • troubleshooting checklist

Guardrails

  • Use only documented OpenClaw commands and delivery modes.
  • Do not claim native OpenClaw-to-OpenClaw federation unless the environment explicitly provides it.
  • Ask before publishing endpoints, changing firewall rules, or exposing dashboards.
  • Prefer fewer, larger writes over chatty loops when integrating with external services.
  • Keep communication auditable and easy to reason about.

Quick examples

Example: daily remote server audit to local operator

Design:

  • remote OpenClaw runs a daily isolated cron job
  • job performs audit
  • delivery posts webhook to an operator-controlled endpoint or announces into a monitored channel
  • local OpenClaw summarizes findings for the user

Example: deployment completion handoff

Design:

  • build instance finishes deploy pipeline
  • sends webhook with environment, version, result, and log URL
  • receiving side creates a human-facing summary and asks for next action if needed

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 02:57 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

communication-collaboration

imap-smtp-email

gzlicanyi
使用IMAP/SMTP读取和发送邮件;检查新/未读邮件、获取内容、搜索邮箱、标记已读/未读、发送带附件的邮件。支持...
★ 113 📥 52,400
communication-collaboration

Slack

steipete
当需要通过 slack 工具从 Clawdbot 控制 Slack 时使用,包括在频道或私信中回复消息或置顶/取消置顶项目。
★ 157 📥 47,676
communication-collaboration

Gmail

byungkyu
Gmail API 集成,托管 OAuth,支持读取、发送和管理邮件、线程、标签及草稿,适用于需要与 Gmail 交互的场景。
★ 72 📥 37,724