Probe Rs
Cross-platform probe-rs CLI wrapper for probe discovery, firmware flashing, memory access, one-shot GDB debugging, and RTT logs.
- CCM score
- 54 of 100
- skills.sh installs
- 740
- GitHub stars
- 815
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers probe discovery, target info, flashing (elf/hex/bin/uf2), erase, reset, memory read and write, and RTT log reading
- Includes
probe_rs_exec.py,probe_rs_gdb.py, andprobe_rs_rtt.pyscripts, with per-step risk levels and a three-tier operation mode - Requires an explicit chip name and refuses
.binflashing without an address; flags J-Link WinUSB driver conflicts with SEGGER tools - Designed for embedded developers on Windows or Linux who use ST-Link, J-Link, or CMSIS-DAP probes with arm-none-eabi-gdb
Install
$ npx -y skills add zhinkgit/embeddedskills --skill probe-rs -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
probe-rs 下载与调试
本 skill 提供 probe-rs CLI 的结构化包装,覆盖探针发现、目标信息、烧录、复位、内存读写、one-shot GDB 调试和 RTT 日志读取。
Windows 下优先使用 py -3 调用脚本;若 arm-none-eabi-gdb 已在 PATH 中,gdb 子命令可自动发现,不强依赖 skill config.json。
运行依赖
Windows 或 Linux,Python 3.10+ 和 probe-rs CLI。源码调试需要对应的 GDB。
配置
环境级配置(skill/config.json)
如需覆写本机工具路径或端口,可在 skill 目录下复制 config.example.json 为 config.json(工具已在 PATH 时可省略):
{
"exe": "probe-rs",
"gdb_exe": "C:\\Program Files\\Arm\\GNU Toolchain mingw-w64-x86_64-arm-none-eabi\\bin\\arm-none-eabi-gdb.exe",
"gdb_port": 3333,
"dap_port": 50000,
"operation_mode": 1
}
exe:probe-rs可执行文件路径或命令名gdb_exe:arm-none-eabi-gdb路径,gdb子命令需要gdb_port:默认 GDB 端口dap_port:预留给交互式 DAP 会话operation_mode:1直接执行 /2输出风险摘要但不阻塞 /3执行前确认
工程级配置(.embeddedskills/config.json)
{
"probe-rs": {
"chip": "STM32F407VGTx",
"protocol": "swd",
"probe": "",
"speed": 4000,
"connect_under_reset": false
}
}
chip:芯片型号,probe-rs主后端必填protocol:swd或jtagprobe:探针选择器,格式VID:PID[:Serial]speed:调试速率 kHzconnect_under_reset:连接时是否保持 reset
Details
- Repository
- github.com/zhinkgit/embeddedskills
- First seen
- Jun 3, 2026
Questions
What does the probe-rs skill do for embedded debugging?
The probe-rs skill wraps the probe-rs command-line tool for probe discovery, firmware flashing, target reset, memory reads and writes, one-shot GDB Server debugging, and RTT log reading. It lets an AI agent run these steps on a microcontroller without manual command entry.
How do I install the probe-rs skill?
Run npx -y skills add zhinkgit/embeddedskills --skill probe-rs -y in your project. Once installed, the agent can flash firmware, read memory, and read RTT logs through probe-rs.
What does the probe-rs skill need before it can flash a chip?
It needs the probe-rs CLI installed, Python 3.10 or newer, and on Windows or Linux. Debugging from source also requires a matching GDB, and the target chip name must be set in the project configuration because it is not guessed.
Does the probe-rs skill work with ST-Link and J-Link probes?
The skill's description names ST-Link, J-Link and CMSIS-DAP probes as triggers, and it selects a probe with a VID:PID[:Serial] selector. On Windows, driving a J-Link with probe-rs usually requires switching to the WinUSB driver, which affects SEGGER's official tools.
More from zhinkgit/embeddedskills
All 9Similar to Probe Rs
jlinkSkillzhinkgit/embeddedskills792 installsCommand-line tool that flashes firmware, reads memory and registers, and debugs J-Link probes on embedded targets.
openocdSkillzhinkgit/embeddedskills785 installsInteractive OpenOCD workflow for probing, flashing, erasing, resetting, GDB Server, Telnet debugging, and Semihosting capture.
MCP Server for WinDbg Crash AnalysisMCP serversvnscha1.7K starsRead-only triage of crash dumps and live debugger sessions via WinDbg's cdb.exe and kd.exe.
firmware-analystSkillsickn33/agentic-awesome-skills362 installsFirmware analysis guide covering binwalk extraction, filesystem review, binary triage, and QEMU emulation, gated by written authorization.
gdbSkillmohitmishra786/low-level-dev-skills1.3K installsGDB debugger workflows for C and C++ covering breakpoints, inspection, crash analysis, and remote debugging.