kukucaicndy/embedded_ai_skills/esp32-dev-arduino
Claude Code and agent skill by kukucaicndy/embedded_ai_skills
- community
Checking that the SKILL.md file is still in the repository.
ESP32 Arduino CLI development on Windows/Linux/macOS. Invoke when user chooses Arduino framework for ESP32. Handles arduino-cli install, ESP32 core setup, compile/upload/monitor via CLI.
Install
npx vskill@latest install kukucaicndy/embedded_ai_skills/esp32-dev-arduinoSKILL.md
ESP32 Development with Arduino CLI
Platform Support
| OS | Terminal | Install Method | Port Format | ||
|---|---|---|---|---|---|
| Windows | PowerShell | winget install ArduinoSA.CLI -e | COM3 | ||
| Linux | bash | `curl ... \ | sh` | /dev/ttyUSB0 | |
| macOS | bash/zsh | brew install arduino-cli | /dev/cu.usbserial-* |
Overview
Arduino CLI is a single Go binary — no IDE, no Java. Completely independent from ESP-IDF.
Environment Setup
Step 1: Install arduino-cli
Check if already installed:
If not found:
Windows:
Linux:
macOS:
Step 2: Configure ESP32 Support (All Platforms)
Step 3: Install ESP32 Core (~500MB)
Downloads: platform core, xtensa/riscv GDB, esptool, openocd, mkspiffs, mklittlefs.
Step 4: Verify
Chip Selection (FQBN)
FQBN = Fully Qualified Board Name. Format: esp32:<family>:<board>
| Chip | FQBN | Notes | |
|---|---|---|---|
| ESP32 (WROOM) | esp32:esp32:esp32 | Default | |
| ESP32-S3 | esp32:esp32:esp32s3 | AI, USB OTG | |
| ESP32-C3 | esp32:esp32:esp32c3 | RISC-V, BLE | |
| ESP32-C6 | esp32:esp32:esp32c6 | Wi-Fi 6, Zigbee | |
| ESP32-H2 | esp32:esp32:esp32h2 | Thread/Zigbee | |
| ESP32-P4 | esp32:esp32:esp32p4 | No wireless |
Before Creating a Project
Ask the user to:
- Connect ESP32 to computer via USB
- Ensure the board is powered on
- Find the port:
- Windows: Device Manager → COMx
- Linux:
ls /dev/ttyUSB* - macOS:
ls /dev/cu.usbserial*
- Auto-detect:
``bash arduino-cli board list ``
Project Lifecycle
Create a Sketch
Compile
Upload
Serial Monitor
Library Management
| Command | Purpose | |
|---|---|---|
arduino-cli lib search "mqtt" | Search | |
arduino-cli lib install "ESP32Servo" | Install (NOT "Servo"!) | |
arduino-cli lib list | List installed |
Common ESP32 Libraries
| Library | Install Name | Purpose | |
|---|---|---|---|
| WiFi | Built-in #include <WiFi.h> | Wi-Fi | |
| BLE | Built-in #include <BLEDevice.h> | Bluetooth | |
| Servo | ESP32Servo | Servo (NOT Servo) | |
| MQTT | PubSubClient | MQTT | |
| OLED | Adafruit SSD1306 | I²C Display |
Arduino vs ESP-IDF API
| Aspect | ESP-IDF | Arduino | |
|---|---|---|---|
| PWM | ledcSetup/ledcWrite | analogWrite | |
| Servo | N/A | ESP32Servo | |
| Wi-Fi | esp_wifi_*() C API | WiFi.begin() | |
| GPIO | gpio_set_level() | digitalWrite() |
Mix Arduino + IDF APIs
Platform-Specific Troubleshooting
Windows
- Board detection: Check Device Manager for COM port
- Upload fails: Hold BOOT + tap EN
Linux
- Serial permission:
sudo usermod -a -G dialout $USER(re-login) - Port busy:
sudo chmod 666 /dev/ttyUSB0
macOS
- CP210x/CH340 may need driver: https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers
- Port format:
/dev/cu.usbserial-*
All Platforms
- Core download timeout:
arduino-cli config set network.connection_timeout 600s - "Servo.h not found": Use
ESP32Servo, notServo
Full CLI Reference
| Command | Purpose | |
|---|---|---|
arduino-cli version | Show version | |
arduino-cli config init | Init config | |
arduino-cli core update-index | Refresh index | |
arduino-cli core install esp32:esp32 | Install ESP32 core | |
arduino-cli board list | List connected boards | |
arduino-cli compile --fqbn esp32:esp32:esp32 <sketch> | Compile | |
arduino-cli upload -p <PORT> --fqbn esp32:esp32:esp32 <sketch> | Flash | |
arduino-cli monitor -p <PORT> | Serial monitor | |
arduino-cli lib install <name> | Install library |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingesp32/esp32-dev-arduino/SKILL.md
Popularity
- Repository stars
- 55
- Repository forks
- 12
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kukucaicndy/embedded_ai_skills/esp32-dev-arduino)