โ† All skills
Tencent SkillHub ยท Communication & Collaboration

MQTT

Implement MQTT messaging avoiding security, QoS, and connection management pitfalls.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Implement MQTT messaging avoiding security, QoS, and connection management pitfalls.

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 7 sections Open source page

Security Traps

Default Mosquitto allows anonymous connections โ€” bots scan constantly, always configure auth TLS mandatory for external access โ€” credentials travel plaintext otherwise Duplicate client IDs cause connection fights โ€” both clients repeatedly disconnect each other ACLs should restrict topic access โ€” one compromised device shouldn't read all topics

QoS Misunderstandings

Effective QoS is minimum of publisher and subscriber โ€” broker downgrades if subscriber requests lower QoS 1 may duplicate messages โ€” handlers must be idempotent QoS 2 has significant overhead โ€” only use for commands where duplicates cause problems QoS applies per-message โ€” can mix within same topic

Topic Design Pitfalls

Starting with / creates empty first level โ€” home/temp not /home/temp Wildcards only work in subscriptions โ€” can't publish to home/+/temperature # matches everything including nested โ€” home/# gets home/a/b/c/d Some brokers limit topic depth โ€” check before designing deep hierarchies

Connection Management

Clean session false preserves subscriptions โ€” messages queue while disconnected, can surprise Keep-alive too long = delayed dead client detection โ€” 60s is reasonable default Reconnection logic is client responsibility โ€” most libraries don't auto-reconnect by default Will message only fires on unexpected disconnect โ€” clean disconnect doesn't trigger it

Retained Message Traps

Retained messages persist until explicitly cleared โ€” old data confuses new subscribers Clear retained with empty message + retain flag โ€” not obvious from docs Birth/will pattern: publish "online" retained on connect, will publishes "offline"

Mosquitto Specifics

persistence true survives restarts โ€” without it, retained messages and subscriptions lost max_queued_messages prevents memory exhaustion โ€” one slow subscriber shouldn't crash broker listener 1883 0.0.0.0 binds all interfaces โ€” use 127.0.0.1 for local-only

Debugging

Subscribe to # sees all traffic โ€” never in production, leaks everything $SYS/# exposes broker metrics โ€” client count, bytes, subscriptions Retained messages persist after fixing issues โ€” explicitly clear them mosquitto_sub -v shows topic with message โ€” essential for debugging

Category context

Messaging, meetings, inboxes, CRM, and teammate communication surfaces.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
1 Docs
  • SKILL.md Primary doc