espflash
FreeNo executable scriptsNot checkedUse this skill when the user wants to flash firmware, monitor serial output, or manage flash/partitions on Espressif ESP32/ESP8266 chips.
by javimosch★ 58 GitHub starsAbout this skill
espflash Plugin
espflash is a Rust serial flasher for Espressif chips (ESP32, ESP32-C/S/H/P variants, ESP8266). No esptool.py or ESP-IDF needed. Supports USB-Serial-JTAG and UART bridges, defmt logging, and partition table conversion.
Commands
Device
espflash board info— Detect connected chip and show flash infoespflash serial monitor— Serial monitor (defmt-aware); long-running
Flashing
espflash flash write— Flash image (espflash flash <image> --monitor)espflash flash erase— Erase entire flash (erase-region,erase-partsfor partial)espflash flash read— Read flash region to fileespflash partition table— Read/convert/write partition table (csv↔bin)espflash _ _— Passthrough (save-image, write-bin, checksum-md5, hold-in-reset, completions, ...)
Usage Examples
- "Flash this binary to my ESP32-C3"
- "What ESP chip is connected?"
- "Erase the flash and monitor the serial output"
- "Convert this partitions.csv to a binary partition table"
Installation
cargo install espflash --locked
# or: cargo binstall espflash
# or: https://github.com/esp-rs/espflash/releases (prebuilt binaries)
Examples
espflash board-info
espflash flash firmware.bin --monitor
espflash monitor --port /dev/ttyUSB0
espflash erase-flash
espflash partition-table partitions.csv --to-binary -o partitions.bin
espflash read-flash 0x9000 0x6000 nvs.bin
Key Features
- Works standalone — no Python or ESP-IDF dependency
--monitorflashes then opens serial output in one step- defmt log decoding when firmware uses defmt
- Linux serial access needs the
dialoutgroup
Install espflash in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the espflash skill do?
Use this skill when the user wants to flash firmware, monitor serial output, or manage flash/partitions on Espressif ESP32/ESP8266 chips.
How do I install the espflash skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the espflash skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
ci-review
The scan that the plugin's GitHub Action runs.
by Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
by GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
by GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
by GitHub