Skip to content
Development
Skill

/mqtt-embedded-integration

Use when integrating, porting, configuring, or debugging embedded MQTT clients, brokers, keepalive, QoS, TLS transport, reconnects, or publish-subscribe issues

From plugin
aix-skills
3976 skills

Claude Code

$ npx -y skills add easyzoom/aix-skills --skill mqtt-embedded-integration --agent claude-code

SKILL.md

mqtt-embedded-integration.SKILL.md
name: mqtt-embedded-integration
description: Use when integrating, porting, configuring, or debugging embedded MQTT clients, brokers, keepalive, QoS, TLS transport, reconnects, or publish-subscribe issues

MQTT Embedded Integration

Overview

Use this skill for MCU MQTT clients by separating network link, TCP/TLS transport, MQTT session state, topic design, QoS, keepalive, and reconnect policy. MQTT success requires more than one successful publish.

When To Use

Use this skill when:

  • The user wants MQTT on an MCU or embedded device.
  • The task involves MQTT connect, publish, subscribe, keepalive, QoS, Last Will, retained messages, broker auth, TLS, reconnect, or offline buffering.
  • The issue is connection drops, no messages, duplicate messages, memory growth, TLS failure, or reconnect storms.

Do not use this skill when basic IP connectivity is not working. Use `lwip-integration` or platform network debugging first.

First Questions

Ask for:

  • MQTT library/client and version.
  • Network stack, RTOS, transport, and whether TLS is used.
  • Broker address, port, auth method, and certificate model without asking for secrets.
  • Client ID, topics, QoS levels, keepalive, and reconnect policy.
  • Current logs, broker logs, packet capture, or error codes.
  • RAM budget and maximum payload size.

Integration Checklist

1. Prove network first. Confirm DNS/IP, TCP connect, and broker reachability before MQTT debugging.

1. Configure identity. Client ID must be unique and stable enough for the product.

1. Bound payloads and buffers. Topic length, payload size, QoS queues, and offline buffers must fit RAM.

1. Set keepalive and reconnect policy. Avoid reconnect storms; use backoff and clear session behavior intentionally.

1. Add TLS deliberately. Validate time, CA storage, certificate chain, SNI, and heap usage.

1. Verify broker behavior. Test subscribe, publish, QoS behavior, retained messages, and Last Will if used.

Common Failures

  • Two devices use the same client ID and kick each other off.
  • TLS fails because device time is invalid.
  • Keepalive too short for poor networks.
  • QoS 1 duplicates are not handled idempotently.
  • Offline queue grows without bounds.
  • Topic wildcards subscribe to too much traffic for MCU RAM.

Verification

Before claiming MQTT works:

  • State client library, broker transport, TLS/auth mode, client ID policy, and keepalive.
  • Confirm connect, subscribe, publish, disconnect, and reconnect behavior.
  • Confirm max payload and buffer limits.
  • Confirm TLS certificate/time handling if TLS is used.
  • Confirm secrets were not logged or stored in examples.

Example

User:

MCU MQTT 能连上但过一会儿就掉线。

Agent:

1. Asks for client library, keepalive, network stack, broker logs, TLS state, and reconnect policy. 1. Checks ping/keepalive and duplicate client ID before changing payload logic. 1. Verifies reconnect with backoff and subscription restoration.

Read more
@easyzoom
Ships withaix-skills

AIX Skills is a public collection of Agent Skills, templates, and references for building repeatable AI workflows.

Stars on GitHub

Momentum

stars in total
39
Star history of easyzoom/aix-skills on GitHub, a chart by star-history.com

Other skills on aix-skills.

8051-mcu-debug

8051-mcu-debug

Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…

@easyzoom@easyzoomInstall Skill
avem-integration

avem-integration

Use when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers,…

@easyzoom@easyzoomInstall Skill
ble-gatt-integration

ble-gatt-integration

Use when integrating, designing, or debugging BLE GATT services, characteristics, descriptors, MTU, notifications, indications,…

@easyzoom@easyzoomInstall Skill
bootloader-debug

bootloader-debug

Use when debugging embedded bootloaders, application jumps, vector table offsets, firmware upgrade flow, OTA state, image…

@easyzoom@easyzoomInstall Skill
canbus-integration

canbus-integration

Use when integrating, porting, configuring, or debugging CAN bus libraries, CANBus-Triple, MCP2515, CAN frames, bit timing,…

@easyzoom@easyzoomInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about mqtt-embedded-integration.

Which coding agents can use mqtt-embedded-integration?
mqtt-embedded-integration installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.