Agent skill · Audited from source
modbus-debug
skill · leokemp223/embed-ai-toolLicence not declaredAudited 31 Oct 2026 · source f2eee4d05246
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit f2eee4d05246 and found no filesystem, network or shell access and no hard-coded secrets. What it does: 当需要调试 Modbus RTU(串口)或 Modbus TCP(网络)设备通信时使用,支持寄存器读写、从站扫描和持续监控。
Cite
Cite this page
ModelsAtlas. “modbus-debug (leokemp223/embed-ai-tool)”. Retrieved 31 Oct 2026. https://modelsatlas.com/skills/leokemp223/modbus-debug
Trust audit
Audit 0.4.1 · source read 31 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 16,667 of 17,602 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 1 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass, no license.
Findings (1)
LOWInventory / provenanceinv.no_license
- Why
- no LICENSE file and no repo licence
- Fix
- add a licence
Audit 0.4.1 · source sha f2eee4d05246 · 31 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherleokemp223 GitHub userOwner of the repository this skill is read from
- Source folderleokemp223/embed-ai-tool/skills/modbus-debugThe exact folder we audited
- LicenceNot declaredAs the repository states it
- Commit pinned for this verdictf2eee4d05246A new audit runs when the source changes
- Repository statusNot archivedLast push 72 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: 当需要调试 Modbus RTU(串口)或 Modbus TCP(网络)设备通信时使用,支持寄存器读写、从站扫描和持续监控。
---
name: modbus-debug
description: 当需要调试 Modbus RTU(串口)或 Modbus TCP(网络)设备通信时使用,支持寄存器读写、从站扫描和持续监控。
---
# Modbus 调试
## 适用场景
- 嵌入式设备实现了 Modbus RTU/TCP 从站,需要验证通信是否正常。
- 需要读写保持寄存器、输入寄存器、线圈或离散输入。
- 需要扫描总线上的从站地址,确认设备是否在线。
- 需要持续监控寄存器值的变化。
## 必要输入
- RTU 模式:串口号(如 COM42)、波特率、从站地址。
- TCP 模式:主机 IP 和端口、从站地址。
- 操作类型:读/写/扫描/监控。
## 依赖
- `pymodbus`(pip install pymodbus)
- `pyserial`(RTU 模式需要)
## 执行步骤
1. 先阅读 [references/usage.md](references/usage.md),确认操作参数。
2. 探测环境:
```bash
python scripts/modbus_tool.py --detect
```
3. 根据需求执行对应操作:
```bash
# 读保持寄存器
python scripts/modbus_tool.py --port COM42 --slave 1 --read --address 0 --count 10
# 写寄存器
python scripts/modbus_tool.py --port COM42 --slave 1 --write --address 0 --values 100,200
# 扫描从站
python scripts/modbus_tool.py --port COM42 --scan --scan-range 1-10
# TCP 读取
python scripts/modbus_tool.py --tcp --host 192.168.1.100 --slave 1 --read --address 0 --count 10
```
## 失败分流
- `connection-failure`:串口无法打开、网络不通。
- `slave-no-response`:从站地址无响应。
- `illegal-function`:设备不支持该功能码。
- `illegal-address`:寄存器地址越界。
## 输出约定
示例输出格式:
```
结果: ✅ 读取 10 个寄存器
连接: RTU COM42 9600 8N1
从站: 1
地址 | 十进制 | 十六进制 | 二进制
------+---------+----------+--------------------
0 | 100 | 0x0064 | 0000000001100100
1 | 200 | 0x00c8 | 0000000011001000
```
## 交接关系
- 从 `build-keil` / `build-platformio` 烧录固件后,用此 skill 验证 Modbus 通信。
- 与 `serial-monitor` 互补:serial-monitor 查看串口原始输出,modbus-debug 进行协议级调试。Excerpt, first 1,505 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit f2eee4d
git clone https://github.com/leokemp223/embed-ai-tool git -C embed-ai-tool checkout f2eee4d05246
The author documents no install command, so this uses the repository directly. Our verdict covers commit f2eee4d05246 only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
f2eee4d05246
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/leokemp223/modbus-debug/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All coding & review skills →leokemp223/embed-ai-tool
当需要解析 .map 文件或 ELF 获取固件内存使用报告、符号大小排名或版本对比时使用。
leokemp223/embed-ai-tool
嵌入式开发技能集的总控入口。负责两类任务:(1) 用户请求安装本仓库 skill 时,引导选择全部或按需安装;(2) 用户发出模糊指令(如"烧录"、"编译"、"调试")且无法自动判断应使用哪个具体 skill 时,列出同分类下的候选 skill 供用户选择。
leokemp223/embed-ai-tool
当需要进行 FreeRTOS/RT-Thread/Zephyr 的线程感知调试,查看任务列表、栈水位或死锁检测时使用。
leokemp223/embed-ai-tool
当需要使用已探测或显式指定的产物与探针配置,调用自带脚本通过 OpenOCD 烧录嵌入式固件时使用。
leokemp223/embed-ai-tool
当需要通过 PlatformIO 烧录固件到目标板时使用,利用 platformio.ini 中的上传配置自动完成烧录。
leokemp223/embed-ai-tool
当需要使用 SEGGER J-Link 探针烧录固件,或启动 RTT 日志捕获时使用。
Add this badge to your README
[](https://modelsatlas.com/skills/leokemp223/modbus-debug/)
<a href="https://modelsatlas.com/skills/leokemp223/modbus-debug/"><img src="https://modelsatlas.com/skills/leokemp223/modbus-debug/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about modbus-debug
What does the modbus-debug skill do?
Is modbus-debug safe to install?
What can modbus-debug access on my machine?
How current is this page?
Sources
- github.com/leokemp223/embed-ai-tool/tree/master/skills/modbus-de — the audited source at commit f2eee4d05246 and every finding aboveObserved · 31 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the modbus-debug skill do?
- Is modbus-debug safe to install?
- What can modbus-debug access on my machine?