跳到正文
TakoAPI
返回技能列表

udp-messenger

由 turfptax 提供

Communication
735下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Call udp_status to check current port and trusted peers

  2. 2

    Call udp_discover to find agents on the local network

  3. 3

    Call udp_add_peer to register 192.168.1.20 if not already listed

  4. 4

    Present the unknown peer to the user and request approval before trusting

  5. 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 或你在用的任意编程智能体里。

链接