/labwired:debug-firmware-in-simfrom labwired
Reproduces and fixes embedded firmware bugs deterministically in LabWired simulation using UART, GPIO, I2C/SPI/analog traces, stimuli, and interactive debugging.
Ships in labwired. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill when embedded firmware compiles but misbehaves (hangs, prints wrong values, misses interrupts, fails I2C/SPI handshakes, toggles the wrong pin, or crashes under edge-case inputs). LabWired lets you reproduce the failure deterministically without physical hardware and prove the fix.
labwired_describe (or labwired_context / labwired_project_get) to verify exact MCU pin assignments, bus wiring (I2C/SPI/UART/CAN), pull-ups, and peripheral addresses.labwired_validate first — many "firmware bugs" are actually swapped TX/RX, wrong I2C address, missing pull-up, or floating reset pins.labwired_run)labwired_compile (or attach an existing ELF with labwired_put_firmware).labwired_run with:
watch_gpio listing the pins involved (LEDs, CS, IRQ, PWM, reset)stimuli to replay external triggers (button press/release, sensor voltage/value changes) at exact timestampsuart_injections to feed host commands over serialacceptance assertions capturing the expected behavior so the run stops cleanly when met or reports exact failure stateWhen a single run does not reveal the root cause:
labwired_inspect to read peripheral states, memory, and pin states from the simulation snapshot.labwired_debug_startlabwired_debug to set breakpoints, single-step, inspect CPU registers, stack pointer, and peripheral registerslabwired_debug_stop when finishedlabwired_device_list, labwired_device_flash, labwired_device_console, labwired_device_inspect, and labwired_device_set_source_breakpoints.State the concrete root cause backed by observed evidence (e.g., "GPIO4 never toggled because DDRD bit 4 was cleared; I2C write to 0x3D NACKed because the display strap is wired to 0x3C"). Do not apply blind retries.
labwired_project_edit_firmware or labwired_put_source.labwired_compile.labwired_verify with an oracle assertion that would have failed before the fix and passes after the fix.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 plugins ship this exact skill · first indexed Nov 25, 2026
5 skills in this plugin
/audit-erc-drc-and-safetyRun a comprehensive pre-fabrication electrical (ERC), PCB layout (DRC), signal integrity, power/thermal margin, pin-limit, and fault-injection safety audit via LabWired MCP./build-and-verify-hardwareBuild and deterministically verify a complete hardware system (circuit, firmware, BOM pricing, PCB, and 3D enclosure) using LabWired MCP./export-kicad-and-bomExport fabrication-ready KiCad schematics, autorouted KiCad PCBs, Gerber/drill packs, BOM/CPL spreadsheets with live supplier pricing, and 3D STEP enclosures via LabWired MCP.Generated from the plugin's indexed repository (w1ne/labwired-skills) — no native marketplace selected
npx claudepluginhub p/w1ne-labwiredOther plugins' skills for the same job