udp-messenger
由 turfptax 提供
Communication简介
Use when agents need to communicate over the local network — "send message to agent", "discover agents", "check.
描述
该技能的功能
UDP Messenger lets OpenClaw agents communicate over a local network using UDP sockets. It handles peer discovery, message routing, per-peer trust approval, and optional agent wake-up on incoming messages. No credentials or external services are required.
All coordination happens directly over LAN with no external broker, internet connection, or credentials needed.
何时使用
- Coordinating tasks between two agents on the same LAN
- Delegating a subtask to a specialized agent on another machine
- Checking whether a peer agent has finished a background job
- Approving or revoking trust for a newly discovered peer
- Reviewing the full message history between local agents
示例工作流
User asks: Send a status update to the agent running at 192.168.1.20
- 1
Call udp_status to check current port and trusted peers
- 2
Call udp_discover to find agents on the local network
- 3
Call udp_add_peer to register 192.168.1.20 if not already listed
- 4
Present the unknown peer to the user and request approval before trusting
- 5
Call udp_send to deliver the status update to 192.168.1.20:51337
Status update sent; message appears in udp_log as delivered
安装
clawhub install turfptax/udp-messenger运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。