m5stack-tab5

m5stack-tab5 is a skill for Claude Code from iot-forge/m5stack-skills. It costs 236 tokens per session (3,229 once invoked), scanned A, original, MIT.

A hardware reference for the M5Stack Tab5, a 5-inch touchscreen industrial and IoT terminal. Its main ESP32-P4 processor works with a separate ESP32-C6 wireless chip, plus a camera, audio hardware, motion sensor, clock, RS485 connection, and removable battery.

In plain words
What is it for?
Use it to write and debug Tab5 firmware with Arduino, PlatformIO, ESP-IDF, UIFlow2, or MicroPython. It helps with the screen, touch input, camera, audio, sensors, real-time clock, RS485, battery, and wireless co-processor.
Why use it?
The Tab5 is not simply a larger version of another ESP32 board: its main processor is RISC-V and has no built-in Wi-Fi or Bluetooth. Knowing this prevents using the wrong chip target, pins, peripheral settings, or wireless assumptions.

Skill for Claude Code

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

Part of the core plugin — 3 skills shipped together

Good fit Use it to write and debug Tab5 firmware with Arduino, PlatformIO, ESP-IDF, UIFlow2, or MicroPython. It helps with the screen, touch input, camera, audio, sensors, real-time clock, RS485, battery, and wireless co-processor.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iot-forge/m5stack-skills/tab5
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 tab5
Clone the repo
git clone --depth 1 https://github.com/iot-forge/m5stack-skills

Made for: Claude Code.

Or install core, the plugin that ships this one along with the rest of its 3 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 m5stack-tab5

README.md
[![agentmods](https://agentmods.dev/badge/skills/iot-forge/m5stack-skills/tab5/github.svg)](https://agentmods.dev/skills/iot-forge/m5stack-skills/tab5)
Your own site
<a href="https://agentmods.dev/skills/iot-forge/m5stack-skills/tab5"><img src="https://agentmods.dev/badge/skills/iot-forge/m5stack-skills/tab5/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 m5stack-tab5

Your own site · 80×15
<a href="https://agentmods.dev/skills/iot-forge/m5stack-skills/tab5"><img src="https://agentmods.dev/badge/skills/iot-forge/m5stack-skills/tab5.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 236 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,229 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.00236 $0.03229
Opus 5.5 $0.00094 $0.01292
Sonnet 5.5 $0.00047 $0.00646
Haiku 4.5 $0.00024 $0.00323

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

Security

Grade A, and why

m5stack-tab5 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/core/skills/tab5/SKILL.md · 189 lines

How it starts

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

M5Stack Tab5 development

The Tab5 is M5Stack's ESP32-P4-based touchscreen terminal: a 5" 1280x720 MIPI-DSI display, MIPI-CSI camera, ES8388 audio codec with AEC front-end, BMI270 IMU, RX8130CE RTC, RS485 port, and a removable 2000mAh NP-F550 battery, with an ESP32-C6-MINI-1U handling WiFi 6 / BLE / Thread / Zigbee as a co-processor over SDIO. It targets industrial HMI, kiosk, and IoT-gateway use cases rather than being a general "big Core2" — expect RS485, camera, and multi-protocol wireless to matter more here than on other M5Stack Controllers. Official docs: https://docs.m5stack.com/en/core/Tab5

Use this skill to write correct firmware for it (Arduino, PlatformIO, ESP-IDF, or UIFlow2/MicroPython), to explain what a pin or peripheral does, or to debug hardware-facing code (wrong I2C address, WiFi not connecting, touch not responding, display not initializing, etc).

Important: this is an ESP32-P4, not an ESP32/ESP32-S3

Most M5Stack Controllers (Cardputer Adv, Core2, CoreS3, AtomS3, ...) run on an ESP32 or ESP32-S3 — Xtensa cores. The Tab5's main SoC is an ESP32-P4, which is RISC-V, has no built-in WiFi/Bluetooth radio, and needs its own toolchain target (esp32p4)/board entry. WiFi and BLE come from a separate ESP32-C6 co-processor on the board, bridged over SDIO — this is why WiFi init code looks different from every other M5Stack board (see "WiFi needs pin setup" below). Don't reuse ESP32/ESP32-S3-specific assumptions (Xtensa intrinsics, single-chip WiFi init, etc.) when writing Tab5 firmware.

For chip-level capability questions about either SoC that aren't about this board's specific wiring, see the esp32-p4 and esp32-c6 skills, shipped in the esp32-chips plugin of this same marketplace (claude plugin install esp32-chips@m5stack if they aren't present).

Hardware revisions: two different display/touch chip sets exist

M5Stack changed the integrated display/touch driver partway through production. Both revisions expose the same 5" 1280x720 panel and the same touch behavior at the application level (M5GFX/M5Unified abstracts it), but if the user is doing low-level LCD/touch driver work, check which one they have:

Read the full file on GitHub · 189 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 First seen · 189 lines · 236 tokens per session scan A ba3a010dcc3d

Subscribe to this mod's changes

m5stack-tab5 is a skill published in the GitHub repository iot-forge/m5stack-skills (5 stars, last pushed 12d ago), licensed MIT. It adds 236 tokens to every session and 3,229 once invoked, about $0.0009 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.