Iot Protocols

Use when the user asks about MQTT 5, QoS, retained messages, last will, CoAP, LwM2M, BLE GATT, LoRaWAN, Matter, Thread or device provisioning. Produces device-to-cloud protocol choice, topic design and TLS/DTLS security. Not for cloud stream processing (use data-streaming) or firmware drivers (use c-cpp-patterns).

45 stars 6 forksSecurity

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add j4flmao/agent-skills --skill iot-protocols
Manual install
git clone --depth 1 https://github.com/j4flmao/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/agent-skills/skills/embedded-systems/iot-protocols ~/.claude/skills/iot-protocols

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# IoT Protocols

## Purpose
Constrained devices run on batteries, lossy radios and tiny RAM. This skill picks the protocol stack that fits the link and power budget, designs MQTT topics/QoS or CoAP resources correctly, and secures and provisions devices so a fleet can be managed for years.

## Agent Protocol

### Trigger
"MQTT", "CoAP", "LwM2M", "IoT protocol", "QoS", "retained message", "last will", "MQTT 5", "BLE GATT", "LoRaWAN", "Matter", "Thread", "device provisioning".

### Input Context
- Device class (MCU RAM/flash, battery or mains), link (Wi-Fi, Ethernet, cellular LTE-M/NB-IoT, BLE, 802.15.4/Thread, LoRaWAN)
- Message rates and sizes, latency needs, command/downlink needs
- Cloud/broker (Mosquitto, EMQX, HiveMQ, AWS IoT Core, Azure IoT Hub) and security requirements

### Output Artifact
Protocol choice, topic/resource design, QoS and session settings, client code. No file unless requested.

### Response Format
```
Link: {radio/network}
Protocol: {MQTT 3.1.1 | MQTT 5 | CoAP | LwM2M | BLE GATT | LoRaWAN}
Design: {topics/resources and payload format}
Delivery: {QoS / confirmable, retries, session expiry}
Security: {TLS/DTLS, cert/PSK, provisioning}
Offline: {buffering and reconnect strategy}
```

## 1. Choosing the Stack
| Situation | Choice | Why |
|-----------|--------|-----|
| IP device, always-on-ish, cloud telemetry + commands | MQTT over TLS (TCP 8883) | Broker fan-out, persistent sessions, huge ecosystem |
Read the full skill on GitHub

Details

Skill name
iot-protocols
Path
skills/embedded-systems/iot-protocols/SKILL.md
License
MIT
Repo updated
17 November 2026

FAQ

What does the Iot Protocols skill do?

Use when the user asks about MQTT 5, QoS, retained messages, last will, CoAP, LwM2M, BLE GATT, LoRaWAN, Matter, Thread or device provisioning. Produces device-to-cloud protocol choice, topic design and TLS/DTLS security. Not for cloud stream processing (use data-streaming) or firmware drivers (use c-cpp-patterns).

How do I install the Iot Protocols skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add j4flmao/agent-skills --skill iot-protocols. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Iot Protocols popular?

It lives in j4flmao/agent-skills, which has 45 GitHub stars and 6 forks.

Related skills

Agent Observability

45

j4flmao/agent-skills

Use when the user asks about agent observability, tracing agent reasoning, debugging an agent loop, OpenTelemetry GenAI spans for LLM calls, LLM cost tracking per agent, agent audit logs or hallucination/eval monitoring in production. Produces instrumentation config, trace schema, dashboards, alerts and cost attribution. Not for generic service tracing without LLMs (use devops-opentelemetry).

DevOps & Cloud

AI Agent Architectures

45

j4flmao/agent-skills

Use when the user asks to build an AI agent, design an agent that calls tools and keeps memory, write an agent system prompt or pick an agent framework (Claude Agent SDK, OpenAI Agents SDK, LangGraph). Produces an architecture brief covering loop, tools, memory, guardrails and evals, routing depth to child skills. Not for workflow patterns (use ai-agentic-workflows).

AI, LLMs & Agents

AI Agent Core Loop

45

j4flmao/agent-skills

Use when the user asks about the agent loop, ReAct vs plan-and-solve, re-planning, Reflexion, an agent stuck in a loop, max iterations or termination conditions. Produces a loop spec or patch with state, success predicate, caps and no-progress detection. Not for overall agent design (use ai-agent-architectures) or tool schemas (use tool-calling-principles).

AI, LLMs & Agents

Owasp Web Security

45

j4flmao/agent-skills

Theoretical mechanics of critical web vulnerabilities, static analysis, and secure architecture remediation.

Security

Frontend Security

45

j4flmao/agent-skills

Use when the user asks how to prevent XSS and set a content security policy, CSP nonces, Trusted Types, DOMPurify, CSRF tokens, SRI, secure cookies, clickjacking or security headers for a web app. Produces frontend hardening code and header config. Not for server-side OWASP testing (use owasp-web-security) or login flows (use frontend-authentication).

Security

Red Team Pentest Methodology

45

j4flmao/agent-skills

Understand the theoretical frameworks of offensive security, OSINT, and attack lifecycles.

Security

Browse the most popular Claude skills, all security skills, or write your own with the skills generator.