/esp32-workbench:esp32-repo-scoutfrom ESP32 Workbench
Scans ESP-IDF or PlatformIO firmware repos to produce a scout report of target chip, components, dependencies, pin usage, FreeRTOS tasks, and risks before planning changes.
Ships in ESP32 Workbench. 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.
Build an accurate map of an ESP32 firmware project before proposing changes. Read-only: this skill never edits files.
Deterministic tools beat guessing. If the esp32-workbench MCP server is connected,
call its tools; otherwise run the esp32wb CLI. If esp32wb is not on PATH, use
uvx --from git+https://github.com/agodianel/esp32-claude-workbench esp32wb <args>.
Analysis commands accept --json.
| Need | MCP tool | CLI |
|---|---|---|
| All static checks at once | project_doctor | esp32wb doctor . [--target T] |
| GPIO usage for the detected chip | pin_audit | esp32wb pins . |
| Verified pin facts for the chip | chip_info | esp32wb chip <target> |
| Task stack sizes | stack_check | esp32wb stacks . |
esp32wb doctor . is the fastest first step: it detects the target from
CONFIG_IDF_TARGET and runs pins, stacks, sdkconfig and partition checks together.
CMakeLists.txt with include($ENV{IDF_PATH}/tools/cmake/project.cmake) → ESP-IDF CMake project.platformio.ini → PlatformIO (check framework = espidf vs arduino, and board =).Makefile with PROJECT_NAME + component.mk → legacy GNU Make ESP-IDF (pre-v4); flag as a risk.grep CONFIG_IDF_TARGET sdkconfig sdkconfig.defaults*. If absent, the
default is classic esp32 — say so explicitly instead of assuming the board.idf.py --version, dependencies.idf in main/idf_component.yml,
CI files, or .devcontainer. Record it; APIs differ a lot between v4.x and v5.x.find . -name CMakeLists.txt -not -path "./build/*" -not -path "./managed_components/*"
grep -rn "idf_component_register" --include=CMakeLists.txt . | grep -v build/
For each component record: name, public headers (include/), REQUIRES /
PRIV_REQUIRES, and whether it has a test/ folder or host tests.
sdkconfig.defaults* (per-target variants like sdkconfig.defaults.esp32s3).GPIO_NUM_, #define .*_(PIN|GPIO|SDA|SCL|MOSI|MISO|CLK|CS), Kconfig CONFIG_*_GPIO.i2c_, spi_, uart_, ledc_, adc_, rmt_, i2s_, esp_wifi_, nimble/esp_bt.pin_map.h, README, or schematic reference. Do not infer the board
from pin numbers alone.esp32wb pins . and esp32wb chip <target> rather than recalling pin limits from memory.grep -rnE "xTaskCreate(PinnedToCore|Static)?\(" --include=*.c --include=*.cpp .
Record task name, stack size (ESP-IDF stack depth is in bytes), priority, and core
affinity. esp32wb stacks . flags undersized stacks for you.
idf_component.yml / dependencies.lock, managed_components/, .gitmodules,
vendored third_party/ or lib/, PlatformIO lib_deps.
missions/ — is there an active mission? Read it first and resume from its Next Step.tests/, pytest.ini, test/ inside components, CI workflows.Write to the active mission file if one exists, otherwise print:
# Scout Report — <project>
- **Build system / ESP-IDF version**:
- **Target chip** (source: sdkconfig line or "not set → default esp32"):
- **Board** (source):
## Components
| Component | Purpose | Requires | Tests |
## Hardware
| GPIO | Function | Defined in |
(Include `esp32wb pins` findings verbatim.)
## Tasks
| Task | Stack (bytes) | Prio | Core |
## Dependencies
## Test coverage
## Risks / unknowns
esp32-feature-contract workflow
(mission → contract → test plan).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub agodianel/esp32-claude-workbench --plugin esp32-workbench11 skills in this plugin
/esp32-arch-reviewReviews ESP32 firmware architecture for FreeRTOS safety, memory and stack sizing, ISR rules, error handling, peripheral and pin safety, networking, storage, logging and build configuration, and returns a PASS / PASS WITH NOTES / FAIL report. Use when the user asks to "review the architecture", "code review this firmware", "is this RTOS-safe", "check for race conditions", "audit task stacks", "memory leak", "heap fragmentation", "stack overflow risk", "/arch-review", or before merging a significant ESP-IDF change or inheriting an existing ESP32 project./esp32-build-fixDiagnoses and fixes ESP-IDF build, link, CMake/Kconfig, component-manager and flashing failures, using the build log to classify the error before changing anything. Use when "idf.py build fails", "undefined reference to", "No such file or directory" for a header, "Failed to resolve component", "CMake Error", "multiple definition of", "region `iram0_0_seg' overflowed", "app partition is too small", "implicit declaration of function", "esptool Failed to connect", "Wrong boot mode detected", "No serial data received", "Permission denied /dev/ttyUSB0", "A fatal error occurred", "set-target", or after an ESP-IDF version upgrade (v4 → v5) breaks the build./esp32-crash-reviewDecodes and analyses ESP32-family panics — Guru Meditation errors, register dumps, backtraces, aborts, stack overflows and watchdog timeouts on both Xtensa (ESP32, S2, S3) and RISC-V (C2, C3, C5, C6, H2, P4) chips — to find the root cause and recommend a fix plus diagnostic config. Use when the user pastes a crash or says "Guru Meditation", "LoadProhibited", "StoreProhibited", "InstrFetchProhibited", "IllegalInstruction", "Load access fault", "Store access fault", "MEPC", "MTVAL", "EXCVADDR", "Backtrace:", "abort() was called", "Stack canary watchpoint triggered", "Interrupt wdt timeout", "Task watchdog got triggered", "crash loop", "/review-crash", or "decode this backtrace"./esp32-feature-contractCreates a mission file and an implementation contract (scope, affected files, risks, tests, rollback) that must be accepted before any ESP32 firmware code is changed. Use when the user asks to "add a feature", "implement", "fix a bug", "refactor", "write a contract", "start a mission", "plan this change", "/contract", or "resume the mission" in an ESP-IDF, ESP32, ESP32-S3, ESP32-C3 or ESP32-C6 project, and before editing any firmware source./esp32-log-triageParses and classifies ESP32 serial monitor output — reset reasons, boot loops, panics, watchdog messages, brownouts, heap failures, Wi-Fi/BLE/MQTT errors and peripheral timeouts — and produces a triage report with a root-cause hypothesis and next steps. Use when the user pastes "idf.py monitor" output or a serial log, or says "boot loop", "keeps rebooting", "rst:0x", "Brownout detector was triggered", "Task watchdog got triggered", "Wi-Fi keeps disconnecting", "WIFI_EVENT_STA_DISCONNECTED", "BLE won't connect", "MQTT disconnects", "/triage-log", or "what does this log mean" for any ESP32-family chip./esp32-peripheral-bringupGuides bring-up and debugging of ESP32 peripherals — I2C, SPI, UART, ADC and LEDC/PWM — using the ESP-IDF v5 driver APIs, chip-correct pin choices, and a step-by-step wiring → config → probe → speed-up procedure. Use when the user says "I2C sensor not responding", "i2c ESP_ERR_TIMEOUT", "no ACK", "I2C scan finds nothing", "SPI returns 0xFF", "SPI display blank", "UART garbage characters", "uart_read_bytes returns nothing", "ADC reads wrong value", "adc_oneshot", "analogRead with Wi-Fi", "PWM / LEDC not working", "set duty", "bring up a new sensor", or "connect a peripheral" on ESP32, ESP32-S3, ESP32-C3, ESP32-C6 or other Espressif chips.Other plugins' skills for the same job