{
  "schemaVersion": "1.0",
  "item": {
    "slug": "mqtt",
    "name": "MQTT",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/ivangdavila/mqtt",
    "canonicalUrl": "https://clawhub.ai/ivangdavila/mqtt",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/mqtt",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=mqtt",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/mqtt"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/mqtt",
    "agentPageUrl": "https://openagent3.xyz/skills/mqtt/agent",
    "manifestUrl": "https://openagent3.xyz/skills/mqtt/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/mqtt/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Security Traps",
        "body": "Default Mosquitto allows anonymous connections — bots scan constantly, always configure auth\nTLS mandatory for external access — credentials travel plaintext otherwise\nDuplicate client IDs cause connection fights — both clients repeatedly disconnect each other\nACLs should restrict topic access — one compromised device shouldn't read all topics"
      },
      {
        "title": "QoS Misunderstandings",
        "body": "Effective QoS is minimum of publisher and subscriber — broker downgrades if subscriber requests lower\nQoS 1 may duplicate messages — handlers must be idempotent\nQoS 2 has significant overhead — only use for commands where duplicates cause problems\nQoS applies per-message — can mix within same topic"
      },
      {
        "title": "Topic Design Pitfalls",
        "body": "Starting with / creates empty first level — home/temp not /home/temp\nWildcards only work in subscriptions — can't publish to home/+/temperature\n# matches everything including nested — home/# gets home/a/b/c/d\nSome brokers limit topic depth — check before designing deep hierarchies"
      },
      {
        "title": "Connection Management",
        "body": "Clean session false preserves subscriptions — messages queue while disconnected, can surprise\nKeep-alive too long = delayed dead client detection — 60s is reasonable default\nReconnection logic is client responsibility — most libraries don't auto-reconnect by default\nWill message only fires on unexpected disconnect — clean disconnect doesn't trigger it"
      },
      {
        "title": "Retained Message Traps",
        "body": "Retained messages persist until explicitly cleared — old data confuses new subscribers\nClear retained with empty message + retain flag — not obvious from docs\nBirth/will pattern: publish \"online\" retained on connect, will publishes \"offline\""
      },
      {
        "title": "Mosquitto Specifics",
        "body": "persistence true survives restarts — without it, retained messages and subscriptions lost\nmax_queued_messages prevents memory exhaustion — one slow subscriber shouldn't crash broker\nlistener 1883 0.0.0.0 binds all interfaces — use 127.0.0.1 for local-only"
      },
      {
        "title": "Debugging",
        "body": "Subscribe to # sees all traffic — never in production, leaks everything\n$SYS/# exposes broker metrics — client count, bytes, subscriptions\nRetained messages persist after fixing issues — explicitly clear them\nmosquitto_sub -v shows topic with message — essential for debugging"
      }
    ],
    "body": "Security Traps\nDefault Mosquitto allows anonymous connections — bots scan constantly, always configure auth\nTLS mandatory for external access — credentials travel plaintext otherwise\nDuplicate client IDs cause connection fights — both clients repeatedly disconnect each other\nACLs should restrict topic access — one compromised device shouldn't read all topics\nQoS Misunderstandings\nEffective QoS is minimum of publisher and subscriber — broker downgrades if subscriber requests lower\nQoS 1 may duplicate messages — handlers must be idempotent\nQoS 2 has significant overhead — only use for commands where duplicates cause problems\nQoS applies per-message — can mix within same topic\nTopic Design Pitfalls\nStarting with / creates empty first level — home/temp not /home/temp\nWildcards only work in subscriptions — can't publish to home/+/temperature\n# matches everything including nested — home/# gets home/a/b/c/d\nSome brokers limit topic depth — check before designing deep hierarchies\nConnection Management\nClean session false preserves subscriptions — messages queue while disconnected, can surprise\nKeep-alive too long = delayed dead client detection — 60s is reasonable default\nReconnection logic is client responsibility — most libraries don't auto-reconnect by default\nWill message only fires on unexpected disconnect — clean disconnect doesn't trigger it\nRetained Message Traps\nRetained messages persist until explicitly cleared — old data confuses new subscribers\nClear retained with empty message + retain flag — not obvious from docs\nBirth/will pattern: publish \"online\" retained on connect, will publishes \"offline\"\nMosquitto Specifics\npersistence true survives restarts — without it, retained messages and subscriptions lost\nmax_queued_messages prevents memory exhaustion — one slow subscriber shouldn't crash broker\nlistener 1883 0.0.0.0 binds all interfaces — use 127.0.0.1 for local-only\nDebugging\nSubscribe to # sees all traffic — never in production, leaks everything\n$SYS/# exposes broker metrics — client count, bytes, subscriptions\nRetained messages persist after fixing issues — explicitly clear them\nmosquitto_sub -v shows topic with message — essential for debugging"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ivangdavila/mqtt",
    "publisherUrl": "https://clawhub.ai/ivangdavila/mqtt",
    "owner": "ivangdavila",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/mqtt",
    "downloadUrl": "https://openagent3.xyz/downloads/mqtt",
    "agentUrl": "https://openagent3.xyz/skills/mqtt/agent",
    "manifestUrl": "https://openagent3.xyz/skills/mqtt/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/mqtt/agent.md"
  }
}