Home / emqx / mqttx · skills/mqttx-cli/SKILL.md · GitHub

mqttx-cli skillA

mqttx-cli is agent-read markdown (skill) from emqx/mqttx: Use MQTTX CLI for MQTT connections, publishing and subscriptions, MQTT 5 features, TLS and SCRAM authentication, payload codecs and schemas, benchmarks, built-in or custom data simulation, configuration, installation and troubleshooting. Use when operating or testing MQTT through the mqttx command. Does not operate MQTTX Desktop or administer a broker..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# MQTTX CLI

## Prepare

1. Locate `mqttx`, read `mqttx --version`, then inspect `mqttx <command> --help` for the task. Treat installed help as authoritative; release channels can differ. If missing or a required feature is unavailable, follow the repository's root `INSTALL.md`, or its [standalone installation guide](https://github.com/emqx/MQTTX/blob/main/INSTALL.md) when this skill has been copied elsewhere. Do not update a working CLI on every invocation.
2. Establish the broker hostname, port, transport (`mqtt`, `mqtts`, `ws`, `wss`), MQTT version, credentials, topic and intended operation from the user's context. Ask only for missing information that affects execution. Use the requested broker; do not substitute a public broker after a failure.
3. Account for `~/.mqttx-cli/config`, which can supply default host, port, protocol and credentials. Do not print its secrets or overwrite it for a one-off task. Explicit CLI arguments override defaults; `--load-options` loads command-specific JSON/YAML options, with explicitly supplied CLI arguments taking precedence. See [configuration and utility commands](references/configuration.md) for initialization, saving and loading.
…

Read the whole file at its exact version.

How to install

Latest version
mdr add emqx/mqttx/mqttx-cli@git:20260920.fcc5772
Exact content
mdr add emqx/mqttx/mqttx-cli@sha256:66895b2f8117cfed

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_tkgho2k7aith6q3w.svg)](https://markdownregistry.com/a/art_tkgho2k7aith6q3w)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260920.fcc5772 latest2026-09-20 fcc5772 7,725 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7725 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

emqx/mqttx · 5,065 stars · license Apache-2.0 · pushed 2026-09-24 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_tkgho2k7aith6q3w
GET https://markdownregistry.com/api/v1/resolve?ref=emqx/mqttx/mqttx-cli
GET https://markdownregistry.com/api/v1/blob/66895b2f8117cfedd452cdfcd2cb62176fca775214ed9df6379345935ecfb8f7

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Browse by kind, by grade A, or by owner.