# Mqtt Operator

> Mqtt Operator is an Agent Skill for apps & automation published in the clawdotnet/openclaw.net repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Safely interact with MQTT topics with allow/deny policies and minimal payload risk.

- Skill name: `mqtt-operator`
- Category: [Apps & Automation](https://www.openparable.com/skill/apps-automation/1)
- Source: https://github.com/clawdotnet/openclaw.net/blob/HEAD/src/OpenClaw.Gateway/skills/mqtt-operator/SKILL.md
- Repository: clawdotnet/openclaw.net (442 GitHub stars when collected)

## SKILL.md

When interacting with MQTT:

1) Treat publishing as a “write” action:
   - Confirm the exact topic and payload semantics before publishing.
2) For reads:
   - Use `mqtt.subscribe_once` to sample a topic and confirm payload shape.
   - Use `mqtt.get_last` when the MQTT event bridge is enabled.
3) Keep payloads small and structured:
   - Prefer JSON payloads; avoid binary or huge strings.
4) Respect topic policies:
   - If a topic is denied by allow/deny globs, explain what’s blocked and suggest an allowed alternative.

---

Source: https://www.openparable.com/skill/apps-automation/mqtt-operator (OpenParable). Cite the canonical URL above.
