Skip to main content
ClaudeWave
Skill377 estrellas del repoactualizado 2d ago

mqtt-operator

The mqtt-operator skill enables safe MQTT topic interactions by enforcing allow/deny policies, treating publishes as write actions requiring explicit confirmation, and providing controlled read methods like subscribe_once for sampling or get_last when the event bridge is active. Use this skill when integrating with MQTT brokers while maintaining strict payload validation, preferring JSON over binary formats, and respecting configured topic restrictions.

Instalar en Claude Code
Copiar
git clone --depth 1 https://github.com/clawdotnet/openclaw.net /tmp/mqtt-operator && cp -r /tmp/mqtt-operator/src/OpenClaw.Gateway/skills/mqtt-operator ~/.claude/skills/mqtt-operator
Después abre una sesión nueva de Claude Code; el skill carga automáticamente.

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.