Serial
Serial-port debugging toolkit for embedded work: scan ports, monitor, send, dump hex, log, and multiplex one port.
- CCM score
- 56 of 100
- skills.sh installs
- 934
- GitHub stars
- 815
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers scanning, live text monitoring, sending text or hex, hex stream viewing, and logging to text, CSV, or JSON files
- Includes five
scripts/tools (serial_scan.py,serial_monitor.py,serial_send.py,serial_hex.py,serial_log.py) plusserial_mux.pyfor shared-port access - Resolves connection settings as CLI flags, then
.embeddedskills/config.json, then saved state, then defaults, and never guesses baud rate - Designed for embedded developers debugging MCU output, AT commands, and binary protocols on Windows or Linux
Install
$ npx -y skills add zhinkgit/embeddedskills --skill serial -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Serial — 嵌入式串口调试工具
统一封装端口发现、实时监控、数据发送、日志记录和 Hex 查看能力。
运行依赖
Windows 或 Linux,Python 3.10+ 和 pyserial。mux 需要 Linux、socat 和 PTY。
配置
环境级配置 (skill/config.json)
serial skill 的环境级配置示例 config.example.json 目前为空对象 {}(可省略,无需单独创建 config.json),因为串口参数属于工程级配置,统一在工作区的 .embeddedskills/config.json 中管理。
工程级配置 (.embeddedskills/config.json)
工作区下的 .embeddedskills/config.json 存放工程级串口配置:
{
"serial": {
"port": "",
"baudrate": 115200,
"bytesize": 8,
"parity": "none",
"stopbits": 1,
"encoding": "utf-8",
"timeout_sec": 1.0,
"log_dir": ".embeddedskills/logs/serial"
}
}
| 字段 | 说明 | 默认值 |
|---|---|---|
port | 串口号,如 COM3 | "" |
baudrate | 波特率 | 115200 |
bytesize | 数据位 | 8 |
parity | 校验位:none/even/odd/mark/space | none |
stopbits | 停止位:1/1.5/2 | 1 |
encoding | 文本编码 | utf-8 |
timeout_sec | 读写超时(秒) | 1.0 |
log_dir | 日志输出目录 | .embeddedskills/logs/serial |
参数解析优先级
- CLI 参数 (
--port,--baudrate等) - 最高优先级 - 工程级配置 (
.embeddedskills/config.json中的serial部分) - 状态文件 (
.embeddedskills/state/serial.json中的历史记录) - 默认值 - 最低优先级
自动扫描行为
Details
- Repository
- github.com/zhinkgit/embeddedskills
- Category
- CLI & Terminal
- First seen
- Jun 3, 2026
Questions
What does the serial skill do?
The serial skill is an embedded serial debugging tool for scanning ports, live monitoring, sending data, logging, and hex viewing. Its serial subcommands are scan, monitor, send, hex and log.
How do I install the serial skill?
Run npx -y skills add zhinkgit/embeddedskills --skill serial -y in a project to install the serial skill. After that, the agent can scan COM or UART ports and watch MCU output on its own.
What does the serial skill need to run?
The serial skill needs Windows or Linux, Python 3.10 or newer, and the pyserial package. Multiplexing through the mux subcommand also needs Linux, socat and a PTY.
Where does the serial skill rank in its category?
The serial skill ranks in the top 100 on the CLI and Terminal category page of Claude Marketplaces. It covers serial port work such as AT command debugging, baud rate checks and binary protocol bring-up.
Can I use minicom and the serial skill on the same port?
Yes, the serial skill's mux subcommand lets minicom and the skill scripts share one serial device. Writing from several clients at once can scramble the data, so the skill warns before sending.
More from zhinkgit/embeddedskills
All 9Similar to Serial
More CLI & TerminalnetSkillzhinkgit/embeddedskills737 installsCross-platform network debugging toolkit for embedded devices covering interfaces, capture, pcap analysis, ping, scanning, and stats.
canSkillzhinkgit/embeddedskills830 installs嵌入式 CAN and CAN-FD debugging tool covering scan, monitor, send, log, decode, and bus statistics.
Mcp Console AutomationMCP serverooples54 starsRuns local and SSH console sessions for AI-driven command execution, output monitoring, and error detection.
esp32-serial-commandsSkillh1d/agent-skills-esp32304 installsLead line (11 words): Serial command harness that drives ESP32 and microcontroller button presses for unattended testing.
android-adbSkillhttprunner/skills1.1K installsRaw ADB command reference for discovering, connecting to, and controlling Android devices and emulators.