Agent skill

mqtt-diagnosis

Diagnose MQTT publishing issues between CaptureLora.py and mqtt_grid_web.py. Check topic distribution, connection stability, and cross-reference with web app logs. Use when messages aren't reaching the web interface.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill mqtt-diagnosis --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 3 KB
Bundled scripts: none
Path: skills/analysis/mqtt-diagnosis/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# MQTT Diagnosis Investigate why MQTT messages may not be reaching the web interface. ## Step 1: MQTT Publish Success Rate Count in `logs/IQRight_Daemon.debug`: - Pattern `MQTT-TX.*SUCCESS` = successful publishes - Pattern `MQTT-TX.*FAILED` = failed publishes Calculate success rate. Baseline: >95% is healthy. ## Step 2: Topic Distribution Search for all `Topic=` values in MQTT-TX lines. Extract and count unique topics. **Correct topics**: - `Class{number}` (e.g., `Class96`, `Class89`) = student data routed to teacher's class - `IQRSend` = commands (break/release/cleanup) **Malformed topics (known bugs)**: - `Class['cmd', 'ack', 'break']` = BUG-001, command list stringified as topic suffix (FIXED Feb 2026) - `Classcmd|ack|cleanup}` = raw payload leaking into topic name (FIXED Feb 2026) If malformed topics found: the server code needs updating to the latest version. ## Step 3: Connection Stability Search for `Connected to MQTT` and `Disconnected from MQTT` patterns. Analyze: - Connect/disconnect ratio (healthy: few disconnects) - Clustering (many rapid reconnects = broker unstable) - Gaps between disconnect and reconnect (long gaps = extended outage) ## Step 4: MQTT Error Codes Searc

What's inside
Steps it walks through
  1. Step 1: MQTT Publish Success Rate
  2. Step 2: Topic Distribution
  3. Step 3: Connection Stability
  4. Step 4: MQTT Error Codes
  5. Step 5: Cross-Reference with Web App Logs
  6. Diagnosis Flow
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the mqtt-diagnosis skill do?

Diagnose MQTT publishing issues between CaptureLora.py and mqtt_grid_web.py. Check topic distribution, connection stability, and cross-reference with web app logs. Use when messages aren't reaching the web interface.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill mqtt-diagnosis --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going