6 skills built for ESP32 and Arduino
Claude Code skills for ESP32 and Arduino
Microcontroller skills for ESP32 and Arduino firmware: FreeRTOS tasks, low-power modes, MQTT, serial protocols, over-the-air updates and embedded Rust.
Start with these
- ESP32 FirmwareWi-Fi that reconnects, partitions that still fitClaude pins the chip target and ESP-IDF version, keeps configuration in sdkconfig.defaults, writes Wi-Fi code that logs disconnect reasons and retries with backoff, sizes partition tables with OTA headroom, and versions NVS settings. It flags strapping pins and brownout causes before blaming code, and refuses to burn eFuses for secure boot or flash encryption without explicit sign-off.
- Firmware OTA UpdatesUpdates that survive power cuts and bad buildsClaude designs OTA so a device always boots something that works: A/B slots, bootloader signature checks, anti-downgrade rules, and a self-test that must pass before the image is confirmed. It writes the confirm and rollback code for ESP-IDF and MCUboot, generates release manifests, runs a power-cut test matrix, and plans staged rollouts with numeric halt gates.
- Arduino ProjectsSketches that never block and never cook a pinClaude writes Arduino sketches as small non-blocking tasks driven by millis(), debounces inputs, keeps ISRs to a flag, and avoids heap fragmentation on 2 KB AVRs. Before any wiring advice it checks logic voltage and per-pin current, insists on drivers and flyback diodes for inductive loads, and builds with arduino-cli using pinned core and library versions.
3 more ESP32 and Arduinoskills
Each card opens the full playbook, example prompts and install commands.
STM32 HAL Firmware
CubeMX projects that survive regeneration and real traffic
Claude treats the .ioc as the source of truth, keeps user code inside USER CODE blocks, and verifies the clock tree on a pin. Peripherals run on interrupts or DMA with error callbacks that recover, NVIC priorities are tabulated against the FreeRTOS syscall ceiling, and a bundled map-file script shows exactly where flash and RAM went.
Embedded Rust
no_std firmware with one owner per peripheral
Claude sets up no_std firmware with the right target triple, pinned toolchain, probe-rs runner and defmt logging, then structures concurrency as embassy tasks that own their peripherals and talk over channels. Drivers are written generically over embedded-hal 1.0 and tested on the host with mocks, memory stays static with heapless and StaticCell, and release builds are checked for size and stack headroom.
Zephyr RTOS
Devicetree and Kconfig without the guesswork
Claude sets up a pinned west workspace, describes hardware in board overlays instead of C constants, enables the minimal Kconfig set, and uses DT-spec driver APIs with readiness checks. When builds or devices fail it reads the generated zephyr.dts and .config first, then fixes compatibles, status, or dependencies. Logic is tested on native_sim with twister.
Install
Every ESP32 and Arduino skill in one command
Installs these 6 skills into ~/.claude/skills/. Add --project after -- to install into the current repository instead.
The installer is a 101-line POSIX shell script. It downloads each skill you name from claudeskills.page and unpacks it into your skills folder, nothing else: no sudo, no telemetry. Every skill page shows the full SKILL.md, so you can read what you install first. Read install.sh
curl -fsSL claudeskills.page/install.sh \| sh -s -- esp32-firmwarefirmware-otaarduino-projectsstm32-halembedded-rustzephyr-rtosESP32 and Arduino skills FAQ
Answers drawn from the skills themselves, including what they don't cover.
Do the skills use ESP-IDF or the Arduino core?
Both. ESP32 Firmware recommends ESP-IDF directly (v5.x or v6.x) for production work with OTA, security and power tuning, Arduino-ESP32 core 3.x for prototypes or Arduino libraries, and Arduino as an IDF component when you need both. Arduino Projects drives the esp32:esp32 core through arduino-cli, and PlatformIO is not covered. For Rust, Embedded Rust uses esp-hal or esp-idf-svc.
Can the skills add OTA updates without bricking devices?
Firmware OTA sets up two OTA app partitions plus otadata, downloads with esp_https_ota(), and enables CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE so a new image must pass a self-test and call esp_ota_mark_app_valid_cancel_rollback or it rolls back. It also covers signed images, anti-downgrade rules and staged fleet rollouts. Burning eFuses for Secure Boot v2 requires your explicit confirmation.
How do the skills handle deep sleep and battery life on ESP32?
ESP32 Firmware configures timer and RTC GPIO wake sources, treats each wake as a reset that branches on esp_sleep_get_wakeup_cause(), and keeps small state in RTC_DATA_ATTR variables. Low-Power Firmware builds a per-state power budget, cites roughly 5 to 20 uA chip deep sleep, warns that generic DevKits draw 5 to 50 mA while sleeping, and estimates battery life with a script.
How do I install all 6 ESP32 and Arduino skills at once?
Pass every name to the installer in one command: curl -fsSL https://claudeskills.page/install.sh | sh -s -- esp32-firmware firmware-ota arduino-projects stm32-hal embedded-rust zephyr-rtos. Add --project after -- to install them into the current repository's .claude/skills/ folder so your team gets them too.