Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add hamzabellouch/agent-skills --skill mqtt-and-iot-edge-protocolsgit clone --depth 1 https://github.com/hamzabellouch/agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/hamzabellouch/agent-skills/mqtt-and-iot-edge-protocols)<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/mqtt-and-iot-edge-protocols"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/mqtt-and-iot-edge-protocols/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/mqtt-and-iot-edge-protocols"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/mqtt-and-iot-edge-protocols.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00088 | $0.02822 |
| Opus 5 | $0.00044 | $0.01411 |
| Sonnet 5 | $0.00018 | $0.00564 |
| Haiku 4.5 | $0.00009 | $0.00282 |
Grade A, and why
mqtt-and-iot-edge-protocols scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 287 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MQTT & IoT Edge Protocols Production Standards
This skill provides production standards for IoT edge-to-cloud communication using MQTT (v3.1.1 / v5.0), MQTT-SN, and CoAP. It focuses on low-latency messaging, zero-allocation memory buffers, network resilience, payload optimization, and edge security.
1. Protocol Architecture & Decision Matrix
1.1 Protocol Selection Guide
| Criterion | MQTT v5.0 | MQTT v3.1.1 | MQTT-SN | CoAP |
|---|---|---|---|---|
| Transport Layer | TCP / TLS | TCP / TLS | UDP / DTLS | UDP / DTLS |
| Header Overhead | 2 - 5 bytes | 2 bytes | 2 - 7 bytes | 4 bytes fixed |
| Connection Type | Stateful Connection | Stateful Connection | Connectionless / Sleep | Connectionless (RESTful) |
| Ideal Network | Cellular, Wi-Fi, Ethernet | Cellular, Wi-Fi, Ethernet | LoRa, NB-IoT, Zigbee | LPWAN, 802.15.4, Thread |
| Advanced Features | User properties, Reason codes, Topic aliases | Standard pub/sub | Pre-defined topics, Sleep mode | Resource discovery, Blockwise transfer |
1.2 QoS (Quality of Service) Strategy
- QoS 0 (At most once): High-frequency telemetry (e.g., sensor streaming at 10Hz). Dropped packets are tolerable. Minimum memory and bandwidth.
- QoS 1 (At least once): State changes, alarms, configuration sync, critical events. Requires acknowledgment (PUBACK) and message retry buffer. Default choice for industrial IoT.
- QoS 2 (Exactly once): Financial transactions or billing meters. Involves 4-step handshake (PUBLISH -> PUBREC -> PUBREL -> PUBCOMP). Avoid on battery-constrained devices due to high latency and RAM consumption.
2. Real-Time Memory & Buffer Management
2.1 Ring Buffer for Offline Network Resiliency
When an edge gateway loses cellular/Wi-Fi connection:
- Incoming telemetry must be queued in a bounded circular ring buffer residing in static RAM or non-volatile flash (SPIFFS/LittleFS).
- If network blackout exceeds buffer capacity, apply explicit drop policies:
DROP_OLDEST: Discard oldest telemetry to preserve recent state.COALESCE: Overwrite pending messages matching identical topic paths.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 287 lines · 88 tokens per session scan A acda0e7ae29a
mqtt-and-iot-edge-protocols is a skill published in the GitHub repository hamzabellouch/agent-skills (4 stars, last pushed 1mo ago), licensed MIT. It adds 88 tokens to every session and 2,822 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
api-and-interface-design
Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.
amazon-alexa
Integracao completa com Amazon Alexa para criar skills de voz inteligentes, transformar Alexa em assistente com Claude como cerebro (projeto Auri) e integrar com AWS ecosystem (Lambda, DynamoDB, Polly, Transcribe, Lex, Smart Home).
telnyx-iot-curl
Manage IoT SIM cards, eSIMs, data plans, and wireless connectivity. Use when building IoT/M2M solutions. This skill provides REST API (curl) examples.
telnyx-networking-curl
Configure private networks, WireGuard VPN gateways, internet gateways, and virtual cross connects. This skill provides REST API (curl) examples.
ubiquitous-language
Maintain a project thesaurus (domain glossary) following DDD ubiquitous language principles. Use PROACTIVELY when naming anything: variables, functions, classes, modules, database fields, API endpoints, events, files, or directories. Also use when the user asks to "create thesaurus", "update glossary", "add term"…
laravel-expert
Laravel & PHP Development Instructions for GitHub Copilot.