SkillsReviewed · Adancurusul

Embedded Debugger

Embedded Debugger is a skill for Codex and Claude Code users debugging embedded hardware, and it requires a separate debugger program plus compatible hardware. It guides setup checks, probe discovery and debugging through embedded-debugger-mcp, using either command-line instructions or Model Context Protocol tools. Its experimental OpenOCD backend has narrower capabilities and known register-reading limitations.

Researched 15 Nov 2026

In short.

Embedded Debugger is an assistant skill for developers investigating embedded hardware, and its usefulness depends on a separately installed debugger program, compatible probes and target support. It gives Codex or Claude Code a discovery-first procedure for setup checks, debugging, firmware flashing and RTT (Real-Time Transfer) data exchange with running firmware. The instructions distinguish the default probe-rs backend from experimental OpenOCD support, require care around hardware changes and direct fault analysis toward target data, firmware symbols and chip documentation. Installation details, operational reliability and costs are not established by the supplied files.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes all three captured files under skills/embedded-debugger: SKILL.md, agents/openai.yaml and references/default-prompt.md, plus the repository-root LICENSE as the related notice. The source is pinned to commit 7113ae4428a1e48ea6dc377107345b4d9290c6e6. The debugger implementation, binaries, dependency code, other repository files and external documentation are outside this scope. Installation, commands, MCP sessions, hardware operations and diagnostics were not executed or tested; their behavior remains unverified.

The overview

Identity

Embedded Debugger is the skill in skills/embedded-debugger within Adancurusul/embedded-debugger-mcp. Its three files provide operating instructions, an assistant interface definition and a reusable starting prompt. The captured source is available at [https://github.com/Adancurusul/embedded-debugger-mcp/tree/7113ae4428a1e48ea6dc377107345b4d9290c6e6/skills/embedded-debugger].

The interface metadata names it Embedded Debugger and supplies a prompt asking the assistant to inspect an embedded target setup and suggest the next debug command. The separate embedded-debugger-mcp binary performs the documented debugger operations.

Assessment

The skill offers a concrete procedure for an assistant working with an existing embedded debugging setup. Useful details include an ordered discovery sequence, explicit backend limits, fault-evidence collection and instructions to obtain chip-specific facts from authoritative sources.

Its practical fit depends on the underlying binary and hardware combination. The files contain no execution receipts or compatibility matrix, so successful connections, flashing, diagnostic accuracy and dependable assistant behavior remain unverified.

Users

The intended users are developers asking Codex or Claude Code to inspect embedded debugger setup or guide ARM Cortex-M and RISC-V debugging workflows. A command-line route also supports users who do not want to configure an MCP client.

Beginners get an ordered starting procedure, but still need to identify their board, probe and firmware. Experienced developers get named commands, backend parameters and guidance for connecting fault registers with firmware symbols and source locations. Experimental OpenOCD instructions address additional targets such as Xtensa ESP32.

Capabilities

The documented workflow covers environment checks, probe listing, configuration inspection and MCP server startup. Session operations include connecting, inspecting probe and target status, reading memory and disconnecting. It also describes memory writes, flash erase and programming, firmware execution, and RTT operations for exchanging data with running firmware.

For Cortex-M crashes, diagnose_fault gathers fault registers and PC, SP and LR values into a structured evidence bundle. The instructions then use unwind_exception with a firmware ELF file to associate addresses with source information. The documented probe-rs route offers full DWARF backtraces; OpenOCD provides faulting PC/LR information for applicable targets.

Using it

Requirements

The skill expects an available embedded-debugger-mcp binary. Hardware operations require a connected debug probe and target supported by the chosen backend. MCP session use additionally requires a configured MCP client; the command-line route avoids that client requirement.

Source mapping requires an appropriate firmware ELF file with usable debug information. OpenOCD use requires a separately running OpenOCD instance, and the instructions identify the Espressif fork for Xtensa ESP32. Supported operating systems, installation prerequisites and minimum versions are not specified in these files.

Mechanism

The skill supplies instructions that steer an assistant through local commands or MCP tools. The documented MCP interface uses the same tool set across two backends: probe-rs is the default, while OpenOCD is selected at connection time with backend set to openocd and an optional openocd_address, defaulting to 127.0.0.1:3333.

Its evidence hierarchy starts with the connected target, followed by the firmware ELF, chip datasheets or reference manuals, and architecture-defined registers. It directs the assistant to retrieve peripheral addresses from appropriate sources and interpret fault bits itself. These are behavioral instructions; their enforcement by the binary or assistant is not established.

Setup

The documented discovery sequence is embedded-debugger-mcp doctor, embedded-debugger-mcp probes list, then embedded-debugger-mcp config show. JSON output is documented for doctor and probes list. With an MCP client configured, embedded-debugger-mcp serve starts the server; the CLI-only route also offers embedded-debugger-mcp skill print-prompt.

For OpenOCD, the skill describes connecting to its GDB port and requires gdb_memory_map disable in the ESP32-S3 startup example to avoid a documented connection failure. It also calls for checking debugger versions and probe firmware when investigating support or connectivity.

The captured folder does not explain how to install the binary, register the skill with each assistant or configure a particular MCP client.

Example

For a halted Cortex-M board, the documented procedure would first inspect setup and probes, connect to the identified target and gather read-only status. diagnose_fault would then collect fault-register and core-register evidence. Supplying the corresponding firmware ELF to unwind_exception would request source mapping.

This is an illustrative sequence from the instructions. No board, command output, fault values or resulting source location are supplied, so a successful diagnosis is not established. Any proposed reset, firmware run, flash operation or write would require the operation details and confirmation described by the skill.

Assessment & evidence

Limitations

OpenOCD support is explicitly experimental and lacks flash and RTT operations. Its register reads currently use ARM GDB register numbers, which the skill identifies as producing incorrect PC/SP values on Xtensa. diagnose_fault and unwind_exception are Cortex-M-specific and do not apply to Xtensa targets.

The author reports ESP32-S3 validation for memory access and halt, run, step and reset, but the supplied files contain no supporting results. Compatibility and reliability remain unverified. The instructions also require a halted target for meaningful fault evidence and make clear that flash erase, programming, memory writes, reset, run and RTT writes change hardware state.

Reasoning

The strongest reason to use this skill is its specific sequence from setup discovery to target evidence and source mapping. Gathering related fault registers together gives an assistant a more complete basis for interpreting a crash, while consulting target data and vendor documentation reduces reliance on remembered addresses.

It fits users who already have, or can establish, a compatible debugger setup. Confidence in a particular diagnosis still requires meaningful register values, the matching firmware information and correct interpretation; the instruction package alone does not establish those conditions.

Alternatives

The documented choices are CLI-first operation with the reusable prompt, or MCP-based session operations in a configured client. The former reduces client setup requirements; the latter provides the named session tools.

Within the debugger, probe-rs is the documented default with flash and RTT support. Experimental OpenOCD is presented as another route for chips with weaker probe-rs coverage, subject to its missing operations and architecture limits. The supplied evidence does not support a comparison with other debugging products.

Evidence

SKILL.md supplies the detailed workflow, backend descriptions, safety instructions and known limitations. agents/openai.yaml establishes the assistant-facing name and starting prompt. references/default-prompt.md provides the reusable discovery and operation-reporting procedure. The repository LICENSE establishes reuse conditions.

These files document intended operation. They do not include the debugger implementation, installation package, test logs or hardware-session output. Runtime behavior, security properties of the underlying executable and hardware success are not assessed.

Access & freshness

Costs

The supplied files contain no prices, subscriptions, usage charges or hardware budget. Costs for the debugger program, debug probe, target board, assistant access and any additional tooling are unknown. The MIT licence grants reuse rights but does not establish the total cost of a working setup.

Rights

The repository-level MIT License grants permission to use, copy, modify, distribute, sublicense and sell the software and associated documentation. Copies or substantial portions must retain the copyright and permission notice. The notice names Adancurusul, copyright 2024, and disclaims warranties and liability.

This supports redistribution of the captured skill files with the required notice. Licence terms for separately obtained assistants, debugger dependencies, probe firmware and chip documentation are not established here.

Freshness

The supplied snapshot identifies commit 7113ae4428a1e48ea6dc377107345b4d9290c6e6 and capture time 2026-11-15T20:35:24.954Z. Later revisions and current release details are unknown.

The skill explicitly warns that target support depends on probe-rs versions, OpenOCD versions or forks, and probe firmware. These files do not pin those versions, so their compatibility statements cannot establish support for a particular installed setup.

Actions

Before adopting the skill, establish how to install the debugger binary and load the skill in the intended assistant. Identify the exact board, chip, probe and debugger versions, then use the documented discovery commands to gather setup evidence.

Choose a backend whose documented operations match the task. Keep initial inspection read-only, use the matching firmware ELF and chip references for diagnosis, and confirm target, probe, file or address range and risk before hardware changes. Assess actual command or tool results before treating a connection, flash operation or diagnosis as successful.

Evidence for this report

LICENSEnotice · checked 2026-11-15
skills/embedded-debugger/SKILL.mdselected · checked 2026-11-15
skills/embedded-debugger/agents/openai.yamlselected · checked 2026-11-15