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.
git clone --depth 1 https://github.com/jzl-maker/EA-SKILLWrote 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/commands/jzl-maker/ea-skill/serial)<a href="https://agentmods.dev/commands/jzl-maker/ea-skill/serial"><img src="https://agentmods.dev/badge/commands/jzl-maker/ea-skill/serial/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/commands/jzl-maker/ea-skill/serial"><img src="https://agentmods.dev/badge/commands/jzl-maker/ea-skill/serial.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.00000 | $0.00946 |
| Opus 5.5 | $0.00000 | $0.00378 |
| Sonnet 5.5 | $0.00000 | $0.00189 |
| Haiku 4.5 | $0.00000 | $0.00095 |
Grade A, and why
serial 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 1mo 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 — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.
命令: /ea serial (串口监控)
ESP32 分支
ESP32 工程先读取 ESP32 适配流程,优先使用框架 monitor;使用本 CLI 时不传 ARM OpenOCD 自动复位参数。控制台类型、端口和波特率以工程配置为准。
功能
串口数据监控和日志抓取
EA-SKILL 内置两个串口工具:
| 工具 | 路径 | 用途 |
|---|---|---|
| serial-mcp (GUI) | <SKILL>/tools/serial-mcp/ |
可视化串口监控,人工观察 |
| serial-monitor (CLI) | <SKILL>/tools/serial-monitor/scripts/serial_monitor.py |
AI 自动抓取日志 |
serial-mcp 用于人工观察,serial-monitor 用于 AI 自动抓取日志。
串口监控 (CLI)
调用方式
python <SKILL>/tools/serial-monitor/scripts/serial_monitor.py \
--port <COM端口> \
--baud <波特率>
完整参数示例(避免错过启动消息)
关键:必须指定 OpenOCD 参数,否则复位会失败!
python <SKILL>/tools/serial-monitor/scripts/serial_monitor.py \
--port COM5 \
--baud 115200 \
--duration 15 \
--wait-reset \
--auto-reset \
--interface stlink \
--openocd-config interface/stlink.cfg \
--openocd-target target/stm32f4x.cfg \
--save .ea/logs/serial_S9.log
参数说明
| 参数 | 必须 | 说明 |
|---|---|---|
| --port | ✅ | 串口端口 (如 COM6) |
| --baud | ✅ | 波特率 (如 921600) |
| --duration | 否 | 监控时长(秒) |
| --auto-reset | 否 | 自动复位 MCU |
| --interface | ✅(复位时) | 烧录接口类型 (stlink/jlink/cmsis-dap) |
| --openocd-config | ✅(复位时) | OpenOCD 接口配置文件 |
| --openocd-target | ✅(复位时) | OpenOCD 目标芯片配置文件 |
| --save | 否 | 日志保存路径 |
串口 GUI (MCP)
python <SKILL>/tools/serial-mcp/serial_monitor.py
MCP 工具
| 工具 | 说明 |
|---|---|
| serial_read | 读取串口日志 |
| serial_status | 获取连接状态 |
| serial_send | 发送命令 |
| serial_log_file | 获取日志文件 |
工作流程
- 打开串口,开始监听
- 如果使用
--auto-reset,OpenOCD 执行reset halt复位开发板 - MCU 重启后输出完整启动日志
- 捕获完整的启动日志并保存
注意事项
⚠️ --interface 必须与烧录时使用的接口一致
⚠️ --openocd-config 和 --openocd-target 路径必须正确
⚠️ 避免错过启动消息:先打开串口,再执行复位
常见错误
| 错误 | 原因 | 解决方案 |
|---|---|---|
| Unsupported transport | 未传 --interface,OpenOCD 自动选择错误接口 |
添加正确的 --interface 参数 |
| invalid command name | --openocd-config 路径不对 |
检查 OpenOCD 配置文件路径 |
| 串口被占用 | 其他程序占用该端口 | 关闭占用串口的程序 |
| 连接失败 | 串口号错误或未连接 | 检查串口连接和设备管理器 |
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.
- 1mo ago Changed · +4 lines 7b842f2ec260
- 2mo ago Changed 6adb77f5639f
- 2mo ago Changed cdaaaf7c55df
- 3mo ago First seen · 99 lines · 0 tokens per session scan A 309dbae626cb
serial is a command published in the GitHub repository jzl-maker/EA-SKILL (15 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 946 tokens. 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-08-31.
serial compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| serialjzl-maker/EA-SKILL | Command | 15 | 1mo ago | MIT | A | 0 | Claude Code |
| rtosHermeticOrmus/LibreEmbed-Claude-Code | Command | 50 | 1mo ago | MIT | A | 27 | Claude Code |
| cortex-mHermeticOrmus/LibreEmbed-Claude-Code | Command | 50 | 1mo ago | MIT | A | 25 | Claude Code |
| debug-embeddedHermeticOrmus/LibreEmbed-Claude-Code | Command | 50 | 1mo ago | MIT | A | 27 | Claude Code |
| embedded-linuxHermeticOrmus/LibreEmbed-Claude-Code | Command | 50 | 1mo ago | MIT | A | 23 | Claude Code |
| esp-teachmathisk2095/jko-claude-plugins | Command | 3 | 1mo ago | MIT | A | 19 | Claude Code |
| tapeout-checkMidstall/claude-for-hardware | Command | 20 | 4mo ago | Apache-2.0 | A | 12 | Claude Code |