re-iot-proto

re-iot-proto is a skill for Claude Code from dslsdzc/rev-skills. It costs 112 tokens per session (6,712 once invoked), scanned B, original, Apache-2.0.

A workflow for analyzing communication used by connected devices, including MQTT, CoAP, Bluetooth Low Energy, Zigbee, NFC, and smart cards. It explains messages, device commands, and link-layer behavior from captures or live traffic.

In plain words
What is it for?
Use it to inspect MQTT or CoAP traffic, Bluetooth advertisements and GATT interactions, Zigbee commands, and NFC or smart-card APDU exchanges. It can connect device communication findings with firmware analysis.
Why use it?
It helps turn raw network captures into understandable device actions and responses. It also separates IoT protocol analysis from general packet capture and custom-protocol work.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to inspect MQTT or CoAP traffic, Bluetooth advertisements and GATT interactions, Zigbee commands, and NFC or smart-card APDU exchanges. It can connect device communication findings with firmware analysis.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dslsdzc/rev-skills/re-iot-proto
Install

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.

Any agent
npx skills add dslsdzc/rev-skills --skill re-iot-proto
Clone the repo
git clone --depth 1 https://github.com/dslsdzc/rev-skills

Made for: Claude Code.

Wrote 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.

agentmods badge for re-iot-proto

README.md
[![agentmods](https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-iot-proto/github.svg)](https://agentmods.dev/skills/dslsdzc/rev-skills/re-iot-proto)
Your own site
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-iot-proto"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-iot-proto/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.

agentmods 80×15 button for re-iot-proto

Your own site · 80×15
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-iot-proto"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-iot-proto.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,712 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Privilege Escalation · line 26
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 61
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00112 $0.06712
Opus 5 $0.00056 $0.03356
Sonnet 5 $0.00022 $0.01342
Haiku 4.5 $0.00011 $0.00671

Measured 9d ago against content hash 1b61b2ccaf15, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

re-iot-proto scanned grade B with 1 finding 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- Linux: `apt install wireshark tshark` / `dnf install wireshark-cli wireshark` / `pacman -S wireshark-cli wireshark-qt`(Arch 已拆分为 wireshark-cli + wireshark-qt;Debian 安装时选"允许非 root 抓包",或 `sudo dpkg-reconfigure wireshark-
.claude/skills/re-iot-proto/SKILL.md · 210 lines

How it starts

The opening of the file, as written. The whole thing — 210 lines — stays where its author put it; the contents beside it link to each section on GitHub.

物联网协议逆向(MQTT / CoAP / BLE / Zigbee / NFC 智能卡)

何时使用 / 何时不用

  • 用:拿到 IoT 设备流量(pcap / 实时抓包)需要解析 MQTT / CoAP 语义
  • 用:BLE 设备(adv / GATT)交互分析
  • 用:Zigbee(802.15.4)网络抓包与 ZCL 命令分析
  • 用:需要理解"设备上报 / 下发控制"语义并联动固件
  • 不用:通用自定义协议(走 [[re-proto-rev]])
  • 不用:普通网络流量捕获(走 [[re-netcap]])
  • 不用:加密流量无密钥——先 [[re-crypto-id]] / [[re-crypto-keys]]

工具准备

物理设备抓包注意授权边界(见步骤 5),动态场景默认沙箱 / 隔离网络([[platform-tips]] 最高原则)。所有工具先验证再使用。

wireshark / tshark —— 解析主力(MQTT/CoAP/BLE/Zigbee dissector 内置)

  • Linux: apt install wireshark tshark / dnf install wireshark-cli wireshark / pacman -S wireshark-cli wireshark-qt(Arch 已拆分为 wireshark-cli + wireshark-qt;Debian 安装时选"允许非 root 抓包",或 sudo dpkg-reconfigure wireshark-common 后把用户加入 wireshark 组)
  • macOS: brew install --cask wireshark(含 tshark CLI;或 brew install wireshark 仅 CLI)
  • Windows: choco install wireshark;WSL 内用 Linux 版
  • 验证: tshark --versiontshark -G fields | grep -iE 'mqtt|coap|btatt|zbee' 列出字段名(各版本字段名有微调,以该输出为准)

scapy —— 可选解析 / 构造

  • 全平台: pip install scapy(Python 3)
  • 验证: python3 -c "import scapy; print(scapy.__version__)"

MQTT —— mosquitto 客户端(主动订阅/发布验证)

  • Debian/Ubuntu: apt install mosquitto-clients(mosquitto_pub / mosquitto_sub)
  • Fedora: dnf install mosquitto;Arch: pacman -S mosquitto;macOS: brew install mosquitto;Windows: choco install mosquitto
  • 验证: mosquitto_pub -hmosquitto_sub -h
  • GUI 替代: MQTT Explorer(桌面跨平台)

CoAP —— coap-client / aiocoap

  • Debian/Ubuntu: apt install libcoap3-bin(提供 coap-client)
  • Fedora: dnf install libcoap libcoap-utils(coap-client 位于 libcoap-utils 子包);Arch: pacman -S libcoap(extra);macOS: brew install libcoap
  • 发行版包若不含示例程序 → pip install aiocoap(命令 aiocoap-client,Python 3)
  • 验证: coap-client -h(或 aiocoap-client -h

BLE —— bluez + ubertooth

  • bluez(btmon / hcitool): Debian/Ubuntu apt install bluez;Fedora dnf install bluez;Arch pacman -S bluez bluez-utils;验证 btmon --help
  • ubertooth(2.4GHz 嗅探硬件): Debian/Ubuntu apt install ubertooth(固件另装 ubertooth-firmware);Fedora dnf install ubertooth(Fedora 43/44 官方仓库有);Arch 官方仓库无 → AUR;macOS brew install ubertooth;验证 ubertooth-btle -s
  • Android btsnoop(无需安装): 开发者选项 → 勾选"启用 Bluetooth HCI snoop 日志" → 复现交互 → adb bugreport 或拉取 /sdcard/btsnoop_hci.log(btsnoop 格式,Wireshark 直接打开)
  • nRF Sniffer for BLE(Nordic,可选): 需 nRF 系列 dongle + Wireshark extcap(Windows/macOS 为主)

Read the full file on GitHub · 210 lines

Changes

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.

  1. 9d ago First seen · 210 lines · 112 tokens per session scan B 1b61b2ccaf15

Subscribe to this mod's changes

re-iot-proto is a skill published in the GitHub repository dslsdzc/rev-skills (54 stars, last pushed 14d ago), licensed Apache-2.0. It adds 112 tokens to every session and 6,712 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

analyzing-golang-malware-with-ghidra

Reverse engineer Go-compiled malware in Ghidra by parsing Go buildinfo and pclntab structures, recovering stripped/obfuscated function names (e.g. via GoResolver), and extracting embedded module/dependency strings and types from Go binaries. Use when analyzing a Go-language malware sample, deobfuscating a…

Youngmaidainon/Agent-Level-Up · 95 tokens

reverse-engineering-arm-binaries

Reverse engineers ARM/AArch64 malware by identifying the architecture and instruction set state (ARM/Thumb), parsing ELF/Mach-O ARM headers, and orienting analysis around the ARM calling convention. Activates for requests to reverse ARM binaries, analyze AArch64 malware, or handle ARM/Thumb instruction-set decoding.

meltedinhex/analyst-ai-pack · 69 tokens

analyzing-golang-malware-with-ghidra

Reverse engineer Go-compiled malware in Ghidra by parsing Go buildinfo and pclntab structures, recovering stripped/obfuscated function names (e.g. via GoResolver), and extracting embedded module/dependency strings and types from Go binaries. Use when analyzing a Go-language malware sample, deobfuscating a…

mukul975/Anthropic-Cybersecurity-Skills · 95 tokens

Reverse Engineering & Binary Analysis

Binary analysis, assembly interpretation, disassembly, decompilation, firmware RE, and protocol reverse engineering.

Masriyan/Claude-Code-CyberSecurity-Skill · 26 tokens

ot-ics-attack

A guide to assessing operational technology and industrial control systems such as SCADA, DCS, and PLC environments. These systems monitor and control physical processes and often use specialized network protocols.

wgpsec/AboutSecurity · 81 tokens

analyzing-golang-malware-with-ghidra

Reverse engineer Go-compiled malware using Ghidra with specialized scripts for function recovery, string extraction, and type reconstruction in stripped Go binaries.

plurigrid/asi · 40 tokens