ws-ESP32-S3-CAM: Command for Claude Code

.claude/commands/hardware-specs.md

hardware-specs is a command for Claude Code from chayuto/ws-ESP32-S3-CAM. It costs 0 tokens per session (2,815 once invoked), scanned A, original, MIT.

A reference sheet for the verified hardware details of an ESP32-S3-CAM-GC2145 board, including its chip, memory, flash, wireless features, and camera information.

In plain words
What is it for?
Use it when writing or reviewing code for the board's peripherals, memory, Wi-Fi, camera, or audio.
Why use it?
It gives code changes a single source for GPIO numbers, memory limits, and other board-specific values before they touch hardware.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is chayuto/ws-ESP32-S3-CAM's own configuration. It tells Claude Code how to work on ws-ESP32-S3-CAM itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ws-ESP32-S3-CAM configures →

Reuse

Borrowing it

Nothing to install: this file belongs to chayuto/ws-ESP32-S3-CAM. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/chayuto/ws-ESP32-S3-CAM/main/.claude/commands/hardware-specs.md
Clone the repo
git clone --depth 1 https://github.com/chayuto/ws-ESP32-S3-CAM

Made for: Claude Code.

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 hardware-specs

README.md
[![agentmods](https://agentmods.dev/badge/commands/chayuto/ws-esp32-s3-cam/hardware-specs/github.svg)](https://agentmods.dev/commands/chayuto/ws-esp32-s3-cam/hardware-specs)
Your own site
<a href="https://agentmods.dev/commands/chayuto/ws-esp32-s3-cam/hardware-specs"><img src="https://agentmods.dev/badge/commands/chayuto/ws-esp32-s3-cam/hardware-specs/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 hardware-specs

Your own site · 80×15
<a href="https://agentmods.dev/commands/chayuto/ws-esp32-s3-cam/hardware-specs"><img src="https://agentmods.dev/badge/commands/chayuto/ws-esp32-s3-cam/hardware-specs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,815 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.00000 $0.02815
Opus 5 $0.00000 $0.01407
Sonnet 5 $0.00000 $0.00563
Haiku 4.5 $0.00000 $0.00281

Measured 9d ago against content hash d41bff08bbbb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

hardware-specs 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 9d 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.

.claude/commands/hardware-specs.md · 194 lines

How it starts

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

ESP32-S3-CAM-GC2145 Hardware Specs (authoritative)

Read this before writing any code that touches peripherals, memory, Wi-Fi, camera, or audio. All GPIO and address numbers below are verified against the vendor BSP (ref/demo/ESP32-S3-CAM-OVxxxx/examples/ESP-IDF-v5.5.1/04_dvp_camera_display/components/waveshare__esp32_s3_cam_ovxxxx/include/bsp/esp32_s3_cam_ovxxxx.h) and this unit's boot logs.


Chip

  • ESP32-S3 Xtensa LX7, dual-core @ 240 MHz — confirmed cpu_freq: 240000000 Hz
  • Chip rev v0.2, efuse block rev v1.3, QFN56
  • FPU (single-precision), SIMD (PIE vector), WiFi 4 + BLE 5. No 802.15.4
  • Dual-core → xTaskCreatePinnedToCore() is valid; pin Wi-Fi to 0, app to 1 for jitter isolation

Memory

  • SRAM: 512 KB on-chip. After boot: ~316 KiB main + ~21 KiB + ~7 KiB RTCRAM available for dynamic alloc
  • PSRAM: 8 MB OPI (AP Memory gen-3, 64 Mbit density, 80 MHz, hybrid-wrap 32-byte burst, latency 10 cycles)
    • Boot log: Adding pool of 7488K of PSRAM memory to heap allocator (+33 K gap) ≈ 7.5 MB free to heap
  • Flash: 16 MB external NOR, QIO @ 80 MHz, 3.3 V
  • Wi-Fi/LWIP prefer SPIRAM (WiFi/LWIP prefer SPIRAM in boot log)
  • Full 320×240 RGB565 fits trivially; full 1600×1200 UXGA raw (3.84 MB) fits in PSRAM

I²C Bus (single shared bus)

SCL = GPIO 7, SDA = GPIO 8, 100 kHz (camera example) / 400 kHz (audio example).

Device I²C address Role
ES8311 ES8311_CODEC_DEFAULT_ADDR (0x18 7-bit / 0x30 8-bit) Audio codec control (playback path)
ES7210 ES7210_CODEC_DEFAULT_ADDR (0x40 7-bit typical) 4-ch ADC control (mic array)
GC2145 (SCCB) 0x3C 7-bit Camera sensor control
CH32V003 IO Expander CUSTOM_IO_EXPANDER_I2C_CH32V003_ADDRESS LCD reset/backlight, touch reset, battery ADC, red LED
LCD Touch controller (if LCD fitted) 0x15 (CST816S/CST328) or 0x38 (FT6336) Depends on LCD variant

The esp_codec_dev library uses the 8-bit convention (0x30 for ES8311); driver internally does addr >> 1.

Read the full file on GitHub · 194 lines

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. 9d ago First seen · 194 lines · 0 tokens per session scan A d41bff08bbbb

Subscribe to this mod's changes

hardware-specs is a command published in the GitHub repository chayuto/ws-ESP32-S3-CAM (5 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,815 tokens. 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.