esphome-core

esphome-core is an agent for Claude Code from nodnarbnitram/claude-code-extensions. It costs 71 tokens per session (3,549 once invoked), scanned A, original, MIT.

A general guide to ESPHome, a YAML-based system for creating firmware for devices such as ESP32 and ESP8266 boards. It explains device setup, configuration, platform choices, and how devices connect to Home Assistant.

In plain words
What is it for?
Use it to start ESPHome projects, write YAML configurations, choose a supported microcontroller, and design reusable device setups.
Why use it?
It gives a starting point for understanding ESPHome's structure and creating consistent device configurations.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the cce-esphome plugin — 6 agents shipped together

Good fit Use it to start ESPHome projects, write YAML configurations, choose a supported microcontroller, and design reusable device setups.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nodnarbnitram/claude-code-extensions/esphome-core
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.

Clone the repo
git clone --depth 1 https://github.com/nodnarbnitram/claude-code-extensions

Made for: Claude Code.

Or install cce-esphome, the plugin that ships this one along with the rest of its 6 agents.

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-core

README.md
[![agentmods](https://agentmods.dev/badge/agents/nodnarbnitram/claude-code-extensions/esphome-core/github.svg)](https://agentmods.dev/agents/nodnarbnitram/claude-code-extensions/esphome-core)
Your own site
<a href="https://agentmods.dev/agents/nodnarbnitram/claude-code-extensions/esphome-core"><img src="https://agentmods.dev/badge/agents/nodnarbnitram/claude-code-extensions/esphome-core/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-core

Your own site · 80×15
<a href="https://agentmods.dev/agents/nodnarbnitram/claude-code-extensions/esphome-core"><img src="https://agentmods.dev/badge/agents/nodnarbnitram/claude-code-extensions/esphome-core.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,549 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.00071 $0.03549
Opus 5.5 $0.00028 $0.01420
Sonnet 5.5 $0.00014 $0.00710
Haiku 4.5 $0.00007 $0.00355

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

Security

Grade A, and why

esphome-core 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 3mo 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/cce-esphome/agents/esphome-core.md · 533 lines

How it starts

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

Purpose

You are a universal ESPHome expert specializing in core concepts, YAML configuration, device fundamentals, and architecture patterns that apply across all supported platforms (ESP32, ESP8266, RP2040).

Instructions

When invoked, you must follow these steps:

  1. Identify the core concept being asked about (configuration, workflow, platform selection, etc.)
  2. Provide universal guidance that applies regardless of specific device or use case
  3. Explain ESPHome's architecture and design philosophy
  4. Include complete, copy-pasteable YAML snippets with security best practices
  5. Recommend ESP32 over ESP8266 for new projects with clear rationale
  6. Delegate specialized questions to appropriate ESPHome agents when needed
  7. Reference official esphome.io documentation when providing technical specifications

Core ESPHome Philosophy

Architecture Principles

  • YAML-first configuration: Declarative device definitions compiled to C++ firmware
  • Local-first operation: Devices work independently without cloud dependencies
  • Modular component design: 100+ pre-built components for sensors, displays, actuators
  • Home Assistant integration: Primary use case with native API protocol
  • Compile-time specialization: Custom firmware per device (vs Tasmota's generic firmware)

Workflow (CRITICAL)

YAML Config --> Validation --> Compilation --> USB Flash --> OTA Updates

CLI Commands:

  • esphome wizard: Interactive new device setup
  • esphome config device.yaml: Validate configuration
  • esphome compile device.yaml: Build firmware
  • esphome upload device.yaml: Flash to device
  • esphome run device.yaml: Compile + upload + logs
  • esphome logs device.yaml: Monitor device output
  • esphome clean device.yaml: Remove build artifacts
  • esphome dashboard: Web-based management UI

IMPORTANT: Initial USB flash is MANDATORY. All subsequent updates use OTA.

Platform Selection Guide

Recommended Platforms (2025)

Read the full file on GitHub · 533 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. 3mo ago First seen · 533 lines · 71 tokens per session scan A 9ce94623638c

Subscribe to this mod's changes

esphome-core is an agent published in the GitHub repository nodnarbnitram/claude-code-extensions (19 stars, last pushed 7mo ago), licensed MIT. It adds 71 tokens to every session and 3,549 once invoked, about $0.0003 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-09-03.

Related

esphome-core compared with agents from other repositories

esphome-core next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
esphome-corenodnarbnitram/claude-code-extensionsAgent197mo agoMITA71Claude Code
it-engineerserejaris/personal-corp-osAgent251yesterdayMITA66Claude Code
cocotb-reviewerbabyworm/rtl-agent-teamAgent692d agoMITA51Claude Code
fabricatorpjt222/agent-almanacAgent46todayMITA25Claude Code
persona-highvibeic/vibe-icAgent32todayApache-2.0A111Claude Code
rtl-plannerbabyworm/rtl-agent-teamAgent692d agoMITA43Claude Code
antenna-engineerK-Dense-AI/scientific-agentsAgent2682mo agoMITA97Claude Code