# Mqtt Operator

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

- Skill: `clawdotnet/mqtt-operator` (Agent Skill)
- Install (CLI): `npx skillmds@latest add clawdotnet/mqtt-operator`
- Raw SKILL.md: https://api.skillmd.com/api/skills/clawdotnet/mqtt-operator/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: clawdotnet (https://skillmd.com/u/clawdotnet)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/clawdotnet/mqtt-operator

---


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.


