/bench:board-bring-upfrom bench
Bring a new or unknown USB maker board (Arduino, ESP32, Raspberry Pi Pico, STM32) from plugged-in to talking over serial, using Bench. Use when the user connects a board for the first time, asks which board or chip they have, cannot find the board's port, or wants to confirm a board works before writing code.
Ships in bench. 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.
Goal: name the board and chip, find its serial port, read its boot output, and prove a write and a reply both work. Stop at each step that fails and fix it before the next one.
Call list_usb_devices. Look for the board by name, vendor or product. Record its serial number and location ID.
monitor_events once (the first call takes a snapshot), have the person unplug and replug the board, then call monitor_events again. A connect event in the second reply means the board enumerated.identify_device resolves it.Call identify_device with the serial number. Bench matches the vendor and product IDs against its database of known maker boards and returns the matched board with Bench's notes on it.
Some boards share one USB product ID. ESP32-S2 and ESP32-S3 do, for example. When the answer names more than one family, go to step 4 and call chip_detect to settle it.
Call list_serial_ports with device_type: usb. Each entry gives a /dev/cu.* path and the USB device it matches. Use the /dev/cu.* form in every serial tool. A board can show two ports (for example a USB-serial bridge and a native USB port). Use the one whose matched device is the board.
If no port is listed for a board that appears in step 1, the board has no serial interface. Use hub_topology or device_descriptors to see its interfaces, and say so to the person.
Call chip_detect with the identifier. It runs esptool, which resets the chip into its bootloader. It needs approval, so the person sees the call first.
Read back the chip type, revision and MAC address. Record them in the reply. If esptool is missing, the error names the install command: install it and retry.
serial_open with the port and the baud rate the firmware uses. Use 115200 when the person does not know. ESP32 boot ROM messages come out at 115200.serial_monitor with seconds: 5. It reads without approval and returns what the board printed in those seconds.Reading the output:
serial_close, reopen at 9600 and then 74880, and monitor again.Guru Meditation Error: the firmware crashes on boot. Go to the serial-debugging skill.Serial.begin.Pick a command the person's firmware answers. If none is known, use the firmware's echo or ping command if it has one, or ask the person for one.
Call serial_write_and_expect with the port, the command as data, a pattern for the expected reply (for example ^OK or pong), and timeout: 5. It needs approval.
Call serial_close on the port. An open session can block the next tool that needs the port, such as a flasher.
Give the person one short block: board name, chip and revision (if checked), port path, baud rate, the boot banner or first line, and the round-trip result. Name any step that did not pass, and the exact error code.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
5 skills in this plugin
/getting-startedSet up and check Bench, the USB hardware MCP server, and find out what it can see. Use when the user installs Bench, asks what Bench can do, sees a bench.<module>.<code> error, a module_disabled or write_not_approved error, or wants to turn a Bench module on or off./safe-flashingFlash firmware onto a USB maker board with Bench, safely, by checking the target, the file and the tool before the write. Use when the user asks to flash, upload, program or update a board's firmware, or when a flash fails with a tool error, a wrong-file error, or a timeout./serial-debuggingDebug a USB serial session with Bench when the device output is garbled, silent, looping, or does not reply to commands, or when the device crashed and printed a Guru Meditation Error or HardFault. Use when the user says their board prints nothing, prints junk, reboots in a loop, ignores commands, or shows a crash dump.bench@seayniclabs is listed by seayniclabs/plugins — review the source before installing
npx claudepluginhub seayniclabs/plugins --plugin bench