Comms Hub Bridge
/install comms-hub-bridge
Comms Hub Bridge
Agent-to-agent messaging via a shared Comms Hub server. Supports send, receive, acknowledge, file sharing, and presence.
Setup
- Copy
config.json.exampletoconfig.jsonin this skill folder - Edit
config.jsonwith your hub connection details and agent name - All commands use
node scripts/bridge-client.js \x3Ccommand>
Config Fields
| Field | Required | Description |
|---|---|---|
hubIp |
Yes* | Hub server IP (use when SNI/Host header needed) |
hubHost |
Yes* | Hub hostname (used as Host header if hubIp set, or as hostname if hubIp empty) |
hubPort |
No | Port (default: 443) |
hubProto |
No | https or http (default: https) |
agentName |
Yes | Your agent's name on the bridge (lowercase) |
*At least one of hubIp or hubHost is required.
Environment variables override config.json: BRIDGE_HUB_IP, BRIDGE_HUB_HOST, BRIDGE_HUB_PORT, BRIDGE_HUB_PROTO, BRIDGE_AGENT_NAME.
Commands
Check hub health
node scripts/bridge-client.js health
Send a message
node scripts/bridge-client.js send \x3Crecipient> "\x3Csubject>" "\x3Cbody>" [priority]
Priority: normal (default), high, low.
Check inbox
node scripts/bridge-client.js inbox
Returns array of pending messages or "Inbox empty."
Acknowledge (remove) a message
node scripts/bridge-client.js ack \x3CmessageId>
View all bridge messages
node scripts/bridge-client.js all
List shared files
node scripts/bridge-client.js files
Upload a file
node scripts/bridge-client.js upload \x3Cfile-path>
View bridge state (presence, connections)
node scripts/bridge-client.js state
Heartbeat Integration
Check inbox on every heartbeat or periodic interval:
1. Run: node scripts/bridge-client.js inbox
2. If messages exist → read, process, ack each
3. If high priority → respond immediately or alert human
4. Log activity to daily memory file
Programmatic Use (Node.js)
const bridge = require('./scripts/bridge-client');
const msgs = await bridge.inbox();
await bridge.send('aristotle', 'Status Update', 'Sprint complete.');
await bridge.ack(msgs[0].id);
await bridge.uploadFile('/path/to/file.md');
Message Flow
Sender → POST /api/bridge/message → Hub writes YAML to recipient inbox
Recipient polls inbox → GET /api/bridge/inbox/{name} → reads messages
Recipient acks → DELETE /api/bridge/inbox/{name}/{id} → message removed
Network Reference
Default family network (customize per deployment):
| Agent | Machine | Role |
|---|---|---|
| Aristotle | Alienware | CEO / coordination |
| Daedalus | Alienware | Engineering |
| Thales | Alienware | Operations |
| Steel Man | Alienware | Adversarial review |
| Researcher | Alienware | Intelligence |
| Empiricus | nietzsche-i9 | Testing / validation |
| Plato | nietzsche2025 | Design / implementation |
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install comms-hub-bridge - 安装完成后,直接呼叫该 Skill 的名称或使用
/comms-hub-bridge触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Comms Hub Bridge 是什么?
Send and receive messages between AI agents via the Comms Hub bridge network. Use when communicating with other agents (Aristotle, Daedalus, Thales, Steel Ma... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 652 次。
如何安装 Comms Hub Bridge?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install comms-hub-bridge」即可一键安装,无需额外配置。
Comms Hub Bridge 是免费的吗?
是的,Comms Hub Bridge 完全免费(开源免费),可自由下载、安装和使用。
Comms Hub Bridge 支持哪些平台?
Comms Hub Bridge 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Comms Hub Bridge?
由 Nietzsche247(@nietzsche247)开发并维护,当前版本 v1.0.0。