Перейти к содержимому
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 — любой кодинг-агент, которым пользуетесь.

Ссылки