Command-line tool that flashes firmware, reads memory and registers, and debugs J-Link probes on embedded targets.
- CCM score
- 56 of 100
- skills.sh installs
- 792
- GitHub stars
- 815
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers device probing, firmware flashing (.hex, .bin, .elf), memory read/write, register inspection, target reset, and RTT/SWO log capture
- Includes online debugging via JLink Commander (halt, go, step, run-to) and source-level GDB debugging with backtrace, locals, and breakpoints
- Runs four Python scripts (
jlink_exec.py,jlink_rtt.py,jlink_swo.py,jlink_gdb.py) that emit structured JSON or JSON Lines output - Requires an explicit
devicevalue and asks for a probe serial number when multiple probes are attached, rather than guessing - Designed for embedded developers using SEGGER J-Link hardware with ARM Cortex-M targets and arm-none-eabi-gdb
Install
$ npx -y skills add zhinkgit/embeddedskills --skill jlink -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
J-Link 下载与在线调试
本 skill 提供 J-Link 探针的设备探测、固件烧录、内存读写、寄存器查看、目标复位、RTT 日志读取,以及轻量在线调试和 GDB 源码级调试能力。
运行依赖
Python 3.10+ 和对应系统的 SEGGER J-Link 工具。GDB 调试、RTT、SWO 按子命令准备对应程序与探针。
配置
环境级配置(skill/config.json)
skill 目录下的 config.json(可从 config.example.json 复制创建)包含环境级配置(工具路径、端口号等),工具未加入 PATH 时确认 exe 路径正确:
{
"exe": "C:\\Program Files\\SEGGER\\JLink\\JLink.exe",
"gdbserver_exe": "C:\\Program Files\\SEGGER\\JLink\\JLinkGDBServerCL.exe",
"rtt_exe": "C:\\Program Files\\SEGGER\\JLink\\JLinkRTTClient.exe",
"gdb_exe": "C:\\Program Files\\Arm\\GNU Toolchain mingw-w64-x86_64-arm-none-eabi\\bin\\arm-none-eabi-gdb.exe",
"serial_no": "",
"rtt_telnet_port": 0,
"swo_command": [],
"operation_mode": 1
}
exe:JLink.exe 完整路径(必填)gdbserver_exe:JLinkGDBServerCL.exe 路径,RTT 和 GDB 调试需要rtt_exe:JLinkRTTClient.exe 路径gdb_exe:arm-none-eabi-gdb 路径,GDB 源码级调试需要serial_no:默认探针序列号,多探针场景下使用rtt_telnet_port:RTT 端口,0 表示使用工具默认值swo_command:可选,完整 SWO viewer 命令数组,供jlink_swo.py包装operation_mode:1直接执行 /2输出风险摘要但不阻塞 /3执行前确认
工程级配置(.embeddedskills/config.json)
设备参数(device/interface/speed)统一在工作区的 .embeddedskills/config.json 中管理:
Details
- Repository
- github.com/zhinkgit/embeddedskills
- Categories
- Debugging, CLI & Terminal
- First seen
- Jun 3, 2026
Questions
What does the jlink skill do for Claude Code?
The jlink skill lets an AI agent drive a SEGGER J-Link probe to detect targets, flash firmware, read and write memory, view registers, reset the chip and read RTT or SWO logs. It also supports online debugging with halt, go, step and run-to, plus GDB backtrace and local variable inspection.
How do I install the jlink skill?
Run npx -y skills add zhinkgit/embeddedskills --skill jlink -y in your project. After installing, the agent can flash, debug and read logs through the J-Link probe.
What do I need before using the jlink skill?
You need Python 3.10 or newer and the SEGGER J-Link tools installed on your system. GDB debugging also needs arm-none-eabi-gdb, and RTT needs JLinkGDBServerCL.exe and JLinkRTTClient.exe paths set in the skill config.
Where does the jlink skill stand in the Debugging category?
The jlink skill is listed in the Debugging category on Claude Marketplaces, alongside diagnosing-bugs, azure-messaging, safe-debug, systematic-debugging and sentry-cli. It focuses on hands-on J-Link probe work such as flashing firmware and stepping through code on the target.
More from zhinkgit/embeddedskills
All 9Similar to Jlink
More Debuggingprobe-rsSkillzhinkgit/embeddedskills740 installsCross-platform probe-rs CLI wrapper for probe discovery, firmware flashing, memory access, one-shot GDB debugging, and RTT logs.
openocdSkillzhinkgit/embeddedskills785 installsInteractive OpenOCD workflow for probing, flashing, erasing, resetting, GDB Server, Telnet debugging, and Semihosting capture.
gdbSkillmohitmishra786/low-level-dev-skills1.3K installsGDB debugger workflows for C and C++ covering breakpoints, inspection, crash analysis, and remote debugging.
mcp-debuggerMCP serverdebugmcp197 starsStep-through debugging for AI agents across ten languages, with breakpoints, stepping, and live variables.
dbgSkilltheodo-group/debug-that675 installsInteractive CLI debugger for Node.js, Bun, Python, Java, and native code via LLDB and DAP.