communication-mqttMQTT 브로커를 통해 에이전트의 소개(Intro) 및 상태(Status) 메시지를 발행하고 구독하는 기능을 제공합니다. 에이전트 간의 통신이 필요할 때 사용하세요.
Install via ClawdBot CLI:
clawdbot install hyunwoo91/communication-mqtt이 스킬은 MQTT 프로토콜을 사용하여 에이전트의 정보를 네트워크에 공유하거나 다른 에이전트의 상태를 추적하는 데 사용됩니다.
pip install paho-mqtt typer
agent_id 확인cat ~/.openclaw/openclaw.json
publish.py 스크립트를 사용하여 메시지를 보냅니다.
python scripts/publish.py intro --agent-id "agent-1" --role "researcher"
python scripts/publish.py status --agent-id "agent-1" --activity "searching-github"
subscribe.py 스크립트를 사용하여 메시지를 확인합니다.
--wait 옵션을 통해 대기 시간을 조절할 수 있습니다.
python scripts/subscribe.py intro
python scripts/subscribe.py intro --agent-id "agent-2"
python scripts/subscribe.py status --wait 10
python scripts/subscribe.py status --agent-id "agent-2"
Generated Mar 1, 2026
Enables real-time monitoring and coordination of IoT devices in smart factories or warehouses. Agents publish status updates like operational health or task completion, allowing central systems to track device activities and trigger maintenance alerts.
Facilitates communication between AI agents in distributed research projects. Agents introduce their roles and share status updates on tasks like data analysis or literature review, helping coordinate workflows and avoid duplication of efforts.
Allows smart home devices to announce their presence and broadcast status changes. For example, a thermostat agent can publish its activity mode, enabling other agents like lighting systems to adjust based on occupancy or temperature settings.
Supports real-time tracking of medical equipment or patient monitoring agents in hospitals. Agents publish status updates on device availability or patient vitals, enabling staff to respond quickly to emergencies or resource shortages.
Enables vehicles to share their roles and operational statuses in a fleet. Agents publish intro messages with vehicle IDs and roles, and status updates on activities like navigation or charging, aiding in route optimization and safety coordination.
Offer this skill as part of a cloud-based IoT management platform. Charge monthly fees for features like real-time monitoring and agent coordination, targeting businesses that need scalable device communication solutions.
Provide tailored integration services for companies adopting multi-agent systems. Help clients deploy and customize the skill for specific use cases like smart factories or research labs, with revenue from project-based contracts.
Distribute the skill under an open-source license while offering enterprise versions with advanced features. Generate revenue through premium support, training, and commercial licenses for large-scale deployments in regulated industries.
💬 Integration Tip
Ensure a local MQTT broker is running on localhost:1883 and install required Python packages before use.
Control Sonos speakers (discover/status/play/volume/group).
Control Philips Hue lights/scenes via the OpenHue CLI.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Control Home Assistant smart home devices, run automations, and receive webhook events. Use when controlling lights, switches, climate, scenes, scripts, or any HA entity. Supports bidirectional communication via REST API (outbound) and webhooks (inbound triggers from HA automations).
Use when integrating with Tesla's official Fleet API to read vehicle/energy device data or issue remote commands (e.g. start HVAC preconditioning, wake vehicle, charge controls). Covers onboarding (developer app registration, regions/base URLs), OAuth token flows (third-party + partner tokens, refresh rotation), required domain/public-key hosting, and using Tesla's official vehicle-command/tesla-http-proxy for signed vehicle commands.