esp32

esp32 is a skill for Claude Code from iot-forge/m5stack-skills. It costs 306 tokens per session (4,753 once invoked), scanned A, original, MIT.

A reference for the built-in hardware of the classic ESP32 chip, a dual-core microcontroller used in many development boards and modules. It explains the chip's peripherals, memory, low-power modes, and task-running model, separate from any board's wiring.

In plain words
What is it for?
Use it when writing ESP-IDF firmware for features such as infrared or addressable LEDs, PWM, audio, analog input, sleep and wake behavior, or work split between the two cores.
Why use it?
It helps you determine what the chip itself supports without confusing chip capabilities with the connections on a particular board. This avoids choosing the wrong peripheral or relying on board-specific pin information.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the esp32-chips plugin — 4 skills shipped together

Good fit Use it when writing ESP-IDF firmware for features such as infrared or addressable LEDs, PWM, audio, analog input, sleep and wake behavior, or work split between the two cores.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iot-forge/m5stack-skills/esp32
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add iot-forge/m5stack-skills --skill esp32
Clone the repo
git clone --depth 1 https://github.com/iot-forge/m5stack-skills

Made for: Claude Code.

Or install esp32-chips, the plugin that ships this one along with the rest of its 4 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for esp32

README.md
[![agentmods](https://agentmods.dev/badge/skills/iot-forge/m5stack-skills/esp32/github.svg)](https://agentmods.dev/skills/iot-forge/m5stack-skills/esp32)
Your own site
<a href="https://agentmods.dev/skills/iot-forge/m5stack-skills/esp32"><img src="https://agentmods.dev/badge/skills/iot-forge/m5stack-skills/esp32/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for esp32

Your own site · 80×15
<a href="https://agentmods.dev/skills/iot-forge/m5stack-skills/esp32"><img src="https://agentmods.dev/badge/skills/iot-forge/m5stack-skills/esp32.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 306 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,753 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00306 $0.04753
Opus 5.5 $0.00122 $0.01901
Sonnet 5.5 $0.00061 $0.00951
Haiku 4.5 $0.00031 $0.00475

Measured 1mo ago against content hash bd2b0aa1a95c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

esp32 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/esp32-chips/skills/esp32/SKILL.md · 250 lines

How it starts

The opening of the file, as written. The whole thing — 250 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ESP32 (classic) chip capabilities

This skill is the chip layer, not a board layer. A board skill (e.g. m5stack-core2) tells you what's wired to what on one specific product; this skill tells you what the classic ESP32 silicon itself can do — the peripherals, low-power modes, memory options, and concurrency model that are the same on every classic-ESP32 board regardless of vendor. Read a board's own skill first for pin numbers and I2C addresses, then come here when the user wants to go deeper on a capability than "call the vendor's high-level library and move on" — e.g. writing a custom RMT-based protocol, understanding why an ADC read returns garbage once WiFi turns on, tuning deep-sleep/hibernation wake behavior, or pinning tasks to cores.

What "ESP32-D0WDQ6-V3" actually names

This is the oldest and most fragmented naming scheme in the family, worth untangling explicitly:

  • D0WD / D0WDQ6 / D0WDR2 identify the die + package, not a firmware target — all three are the same dual-core Xtensa LX6 silicon, differing only in package size and whether flash/PSRAM is bonded into the same package:
    • ESP32-D0WD-V3 — QFN 5×5mm, no in-package flash or PSRAM (external only).
    • ESP32-D0WDQ6-V3 — QFN 6×6mm (larger, more pins broken out for external QSPI), no in-package flash or PSRAM (external only). This is the die used inside ESP32-WROOM-32 modules, which add the external flash chip inside the module's own metal can — the bare D0WDQ6 chip itself still has no embedded memory.
    • ESP32-D0WDR2-V3 (EOL, superseded by ESP32-D0WDR2-V3→D0WDRH2-V3) — same die family with 2MB of PSRAM bonded into the package. This is the die used inside ESP32-WROVER modules (which add external flash on top, same as WROOM).
    • There's also a single-core sibling (S0WD, used in ESP32-SOLO-1 modules) and a dual-core-with-more-GPIO sibling (D2WD) — not covered here since no M5Stack board is known to use them; flag it if one turns up.
  • "-V3" is the chip revision (silicon stepping), not part of the package family. It means this specific die incorporates the v3.0 errata fixes Espressif shipped starting ~2019 — see "Why the V3 revision matters" below. Essentially all ESP32 chips manufactured since then (which is to say, essentially every ESP32-based M5Stack product currently sold) are V3 or later; V1/V0 silicon mostly only turns up in old stock or secondhand boards.
  • Practical takeaway: "ESP32-D0WDQ6-V3" and "classic ESP32" mean the same thing for firmware purposes on any current M5Stack board — the package/revision suffix mostly matters for hardware design (which module to buy) and for the one or two errata-driven firmware differences noted below, not for which peripherals or APIs are available.

Read the full file on GitHub · 250 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +3 lines bd2b0aa1a95c
  2. 3mo ago First seen · 247 lines · 306 tokens per session scan A e736fa05af1f

Subscribe to this mod's changes

esp32 is a skill published in the GitHub repository iot-forge/m5stack-skills (6 stars, last pushed 1mo ago), licensed MIT. It adds 306 tokens to every session and 4,753 once invoked, about $0.0012 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

esp32 compared with skills from other repositories

esp32 next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
esp32iot-forge/m5stack-skillsSkill61mo agoMITA306Claude Code
sticky-devicevaro6/reTerminal-sticky-skillSkill83mo agoMITA93Claude Code
embedded-engineercaptainluzik/oh-my-embeddedSkill429mo agoMITA48Claude Code, Codex
embedded-reviewcaptainluzik/oh-my-embeddedSkill429mo agoMITA39Claude Code, Codex
firmware-debuggercaptainluzik/oh-my-embeddedSkill429mo agoMITA38Claude Code, Codex
pcb-designercaptainluzik/oh-my-embeddedSkill429mo agoMITA43Claude Code, Codex
component-sourcercaptainluzik/oh-my-embeddedSkill429mo agoMITA37Claude Code, Codex