esp-idf-helper
Help develop, build, flash, and debug ESP32/ESP8266 firmware using Espressif ESP-IDF on Linux/WSL. Use when the user asks about ESP-IDF project setup, configuring targets, menuconfig, building, flashing via esptool/idf.py, serial monitor, partition tables, sdkconfig, troubleshooting build/flash/monitor errors, or automating common idf.py workflows from the command line.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/547895019/esp-idf-helperesp-idf-helper Skill
Provide a repeatable, command-line-first workflow for ESP-IDF development on Linux/WSL: configure → build → flash → monitor → debug/troubleshoot.
Quick Reference
# 1) Source the ESP-IDF environment (once per terminal session)
. $IDF_PATH/export.sh
# 1.1) Enable ccache to speed up compilation (recommended)
export IDF_CCACHE_ENABLE=1
# 2) Go to your project and build
cd /path/to/your/project
idf.py set-target <target> # Set target chip (once per project)
idf.py build # Compile
# 3) flash
idf.py -p <PORT> -b <BAUD> flash # Flash to device (optional)
Common commands
idf.py --help— Helpidf.py set-target <target>— Set chip target: esp32, esp32s2, esp32s3, esp32c3, esp32p4idf.py menuconfig— Configure project settings (must run in a new terminal window)idf.py build— Build the projectidf.py update-dependencies— Update project component dependenciesidf.py partition-table— Build partition table and print partition entriesidf.py partition-table-flash— Flash partition table to deviceidf.py storage-flash— Flash storage filesystem partitionidf.py size— Show firmware size informationidf.py -p <PORT> -b <BAUD> flash— Flash firmware (default baud: 460800)idf.py -p <PORT> monitor— Open serial monitoridf.py -p <PORT> -b <BAUD> monitor— Open serial monitor with specific baud (e.g. 460800)idf.py -p <PORT> -b <BAUD> flash monitor— Flash then monitor
Component Management
ESP-IDF projects can include external components from the ESP Component Registry.
- Registry Website: https://components.espressif.com/components
- Search components: Browse or search for components on the registry website
Component Commands
idf.py add-dependency "<component>"— Add a component dependency toidf_component.ymlidf.py update-dependencies— Download and update all project dependencies
Component Management Workflow
# 1) Add a dependency to your project
idf.py add-dependency "<component>"
# 2) Update dependencies (downloads components to managed_components/)
idf.py update-dependencies
Note: Dependencies are recorded in idf_component.yml in your project's main component directory (main/).
Bundled resources
references/
references/esp-idf-cli.md— concise command patterns + what to paste back when reporting errors.references/idf-py-help.txt— capturedidf.py --helpoutput for quick lookup/search.
To refresh the help text for your installed ESP-IDF version, run:
scripts/capture_idf_help.sh
assets/
Not used by default.
Serial Port Management (WSL2)
For WSL2 users, USB serial devices need to be attached via usbipd to be accessible in WSL.
List Available Serial Devices
scripts/usbipd_attach_serial.sh --list
Shows all connected USB serial devices (CH340, CH343, CP210, FTDI, etc.).
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-547895019-esp-idf-helper": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
public-apis-skill-creator
公共API/免费API SKILL生成器:从 public-apis/public-apis 自动检索免费 API,按功能推荐并给出最小可用调用示例(curl/Python/JS),并可自动生成自定义名称的 API skill。用户提到“公共API”“免费API”“public APIs”“找接口/找API”“生成API skill”时触发。
windows-tts
在 Windows 11 上"直接发声"的 TTS(从 WSL2/TUI 调用 powershell.exe + System.Speech)。适用于用户说"说出来/读出来/语音播报/用TTS",或反馈"没声音/tts 生成的 mp3 是空的/播不出来",以及需要中文语音但 OpenClaw 内置 tts 不可用时。
arduino-cli
Provides commands and workflows for Arduino CLI. Use when the user wants to create, compile, or upload Arduino sketches, manage boards (list, attach), install/search/list cores (platforms) and libraries, or configure Arduino CLI. Triggers on phrases like "arduino-cli", "compile sketch", "upload arduino", "install arduino core", or "arduino library".
obsidian-helper
Operate Obsidian vaults from command line. Use when the user wants to list, search, create, read, edit, or delete Obsidian notes, or manage daily notes. Triggers on mentions of "obsidian笔记", "obsidian notes", "obsidian搜索", "obsidian创建", "obsidian列表", or any Obsidian vault operations.
qwen-video
Generate videos using Alibaba Cloud DashScope Wan (通义万相) text-to-video (t2v) API (e.g., wan2.6-t2v). Use when the user asks to create a short video from a text prompt via 百炼/通义万相/wan 文生视频, and wants the agent to submit an async task, poll status, and download the mp4 locally (e.g., to Windows Desktop from WSL2).