ESPHome

ESPHome is a skill for Claude Code from tonylofgren/aurora-smart-home. It costs 192 tokens per session (6,597 once invoked), scanned A, original, MIT.

A reference guide for configuring ESPHome devices and firmware for boards such as ESP32, ESP8266, RP2040, and others. ESPHome is software that turns supported microcontrollers into programmable smart-home devices.

In plain words
What is it for?
Use it to create or review device configurations for sensors, displays, LEDs, voice assistants, Bluetooth proxies, Matter, Thread, Zigbee, and other supported hardware features after the exact board is confirmed.
Why use it?
It prevents configuration mistakes caused by assuming the wrong board, since different chips have different pins, memory, radios, and supported features.

Skill for Claude Code

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

Part of the aurora plugin — 6 skills, 1 command shipped together

Good fit Use it to create or review device configurations for sensors, displays, LEDs, voice assistants, Bluetooth proxies, Matter, Thread, Zigbee, and other supported hardware features after the exact board is confirmed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tonylofgren/aurora-smart-home/esphome
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 tonylofgren/aurora-smart-home --skill esphome
Clone the repo
git clone --depth 1 https://github.com/tonylofgren/aurora-smart-home

Made for: Claude Code.

Or install aurora, the plugin that ships this one along with the rest of its 6 skills, 1 command.

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 ESPHome

README.md
[![agentmods](https://agentmods.dev/badge/skills/tonylofgren/aurora-smart-home/esphome/github.svg)](https://agentmods.dev/skills/tonylofgren/aurora-smart-home/esphome)
Your own site
<a href="https://agentmods.dev/skills/tonylofgren/aurora-smart-home/esphome"><img src="https://agentmods.dev/badge/skills/tonylofgren/aurora-smart-home/esphome/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 ESPHome

Your own site · 80×15
<a href="https://agentmods.dev/skills/tonylofgren/aurora-smart-home/esphome"><img src="https://agentmods.dev/badge/skills/tonylofgren/aurora-smart-home/esphome.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 192 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,597 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 7 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 87
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 96
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 130
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 315
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 388
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 517
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium analysis-evasion · line 1
    Suspicious Unicode normalization or mixed-script content
    Fix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
How audits are shown
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.00192 $0.06597
Opus 5 $0.00096 $0.03299
Sonnet 5 $0.00038 $0.01319
Haiku 4.5 $0.00019 $0.00660

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

Security

Grade A, and why

ESPHome 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 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (components/panasonic_ac/__init__.py, components/panasonic_ac/climate.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

esphome/SKILL.md · 538 lines

How it starts

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

ESPHome Devices

Reference skill for ESPHome device configuration and firmware.

Overview

Core principle: Never generate ESPHome configuration without knowing the exact hardware. Board selection determines GPIO mapping, flash size, available features, and component compatibility.

Context: This skill requires hardware confirmation before any YAML generation. Different ESP chips have vastly different capabilities - ESP32-S3 supports USB and cameras, ESP32-C6 supports Thread/Matter/WiFi 6, ESP32-H2 is BLE+Thread only (no WiFi), ESP32-P4 is high-performance with MIPI DSI displays, and ESP8266 has limited GPIO and memory. ESPHome also supports nRF52 (Zephyr), RP2040, and LibreTiny (BK72xx/RTL87xx) platforms.

The Iron Law

CONFIRM BOARD BEFORE GENERATING ANY CONFIGURATION

ESP32 has 12+ variants with different GPIO mappings, strapping pins, and capabilities. Assuming esp32dev when the user has an S3, C3, or C6 produces configs that silently fail. Always get explicit board confirmation first.

The Process

User request
    │
    ▼
Ask: What board?
    │
    ▼
Board confirmed? ──no──▶ Ask again
    │ yes
    ▼
Battery/actuator/outdoor/>5V? ──yes──▶ Vera: Hardware Safety Review
    │ no (or cleared by Vera)              │ blocks if critical risk found
    ▼                                      ▼
Ask: Output method?              ◀── safety cleared
    │
    ▼
deep_sleep / battery / solar / power bank? ──yes──▶ Flag Watt for power budget
    │ no (or after Watt)
    ▼
Read relevant references
    │
    ▼
Generate YAML config
    │
    ▼
Generate wiring diagram (every GPIO — no exceptions)
    │
    ▼
Calibration procedure needed? ──yes──▶ Generate procedure with actual entity IDs
    │ no
    ▼
Generate troubleshooting section (3 most likely failure points)
    │
    ▼
Run pre-completion checklist
    │
    ▼
Deliver config

Common Pitfalls

Watch out for these assumptions:

Thought Reality
"They probably mean ESP32" ASK. ESP32 has 12+ variants with different pinouts
"I'll use esp32dev as default" WRONG. Could be S3, C3, C6, or commercial device
"The GPIO numbers look standard" Strapping pins vary by chip. Confirm board first
"It's just a simple sensor" Simple configs still need correct board ID
"I can infer from the project" Never infer. Always confirm
"secrets.yaml is just a file" NEVER touch secrets.yaml. Use !secret references only

Read the full file on GitHub · 538 lines

Files

What ships with it

60 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. 12d ago First seen · 538 lines · 192 tokens per session scan A d8e14093811b

Subscribe to this mod's changes

ESPHome is a skill published in the GitHub repository tonylofgren/aurora-smart-home (104 stars, last pushed 7d ago), licensed MIT. It adds 192 tokens to every session and 6,597 once invoked, about $0.0010 per session on Opus 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-30.

Related

Other skills, from other repositories

bat-story-eval

Compare MCP tool behavior between target and baseline versions using pre-built and custom stories with diff-based triage.

homeassistant-ai/ha-mcp · 26 tokens

contrib-pr-review

Review a contribution PR for safety, quality, and readiness. Checks for security concerns, test coverage, size appropriateness, and intent alignment. Use when reviewing external contributions.

homeassistant-ai/ha-mcp · 39 tokens

bat-adhoc

Run bot acceptance tests to validate MCP tools work correctly from a real AI agent's perspective. Use when testing PRs, detecting regressions, or verifying tool changes end-to-end with Claude/Gemini CLIs.

homeassistant-ai/ha-mcp · 48 tokens

issue-to-pr-resolver

Implement a GitHub issue end-to-end — create a worktree branch, implement the feature with tests, create a draft PR, then iteratively resolve all CI failures and review comments until the PR is clean. Use when you need to fully implement a GitHub issue from start to merge-ready. Triggers on "implement issue", "resolve…

homeassistant-ai/ha-mcp · 85 tokens

my-pr-checker

Manage your own GitHub pull requests — check CI status, inline review comments, PR-level comments, resolve review threads, fix issues, and iterate until all checks pass and threads are resolved. Use for managing your own PRs (not external contributions). Triggers on "check my PR", "check PR", "/my-pr-checker ".

homeassistant-ai/ha-mcp · 75 tokens

contributors-update

Find merged PR authors missing from README and update the contributors list after approval.

homeassistant-ai/ha-mcp · 17 tokens