/esp32-arduino-cli:esp32-arduinofrom esp32-arduino-cli
Build, flash, and debug ESP32 .ino sketches with arduino-cli, including first-time environment setup. Trigger on build/upload/setup intent for an ESP32 project.
Ships in esp32-arduino-cli. 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.
Read when SKILL.md points to them.
Helps build, flash, and debug ESP32 sketches via arduino-cli. Tested against a classic ESP32 DevKitC / WROOM-32 board (FQBN esp32:esp32:esp32). Other variants (S2/S3/C3) differ in boot-strapping pins and peripherals; verify the exact board.
Never run OS-specific shell commands for board or port detection. Use arduino-cli so the workflow remains cross-platform.
Show the literal arduino-cli command before running it and show its full output. Never summarize, truncate, or silently swallow output.
Look for .esp32/config.json. If present, read it. If absent, onboard by checking prerequisites, detecting the board and port, and asking only for preferences or facts that cannot be detected.
Run:
arduino-cli version
arduino-cli core list
arduino-cli board list
If arduino-cli is missing, explain the official installation route and stop. If the Espressif core is missing, show arduino-cli core install esp32:esp32 and ask before installing it.
Use arduino-cli board listall esp32 to discover board definitions. Default FQBN for classic ESP32 DevKitC/WROOM-32 is esp32:esp32:esp32, but verify against the physical board and IDE settings. If zero or multiple candidate ports are found, ask the user to choose.
Compile first and show all output:
arduino-cli compile --fqbn <FQBN> <SKETCH_FOLDER>
Never upload if compilation fails. Upload is a separate action and requires explicit user approval:
arduino-cli upload -p <PORT> --fqbn <FQBN> <SKETCH_FOLDER>
For live serial output, give the user the literal command:
arduino-cli monitor -p <PORT> -c baudrate=<BAUD>
Do not pretend a non-interactive shell has a live serial TTY. If the monitor cannot run interactively, ask the user to run it in their terminal and provide the output.
Arduino CLI expects the sketch folder and primary .ino filename to match (for example Blink/Blink.ino). Check this before compiling; ask before renaming.
For a missing header, identify the owning library and show the exact install command; ask before installing. For partition overflow, inspect the selected partition scheme and explain the trade-off; do not silently change flash layout. For other errors, start from the first causal compiler diagnostic and make one bounded correction at a time.
Report separately:
Mark unperformed steps as NOT TESTED. Never claim the firmware works solely because it compiles.
Keep a project-specific .esp32/NOTES.md append-only if the user opts in. Keep machine-specific port settings out of version control.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub mascatunike/nicu-ai-tools --plugin esp32-arduino-cli