esphome-components

esphome-components is an agent for Claude Code from nodnarbnitram/claude-code-extensions. It costs 77 tokens per session (9,068 once invoked), scanned A, original, MIT.

A specialist for configuring ESPHome components, which are reusable building blocks for firmware on small devices such as ESP32 boards. It covers sensors, switches, lights, displays, and climate controls.

In plain words
What is it for?
Use it to select platforms, configure sensors and outputs, create YAML device settings, and connect components such as a sensor to a display or a button to a switch.
Why use it?
It helps choose the right component and produce configuration that connects hardware parts correctly.

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 select platforms, configure sensors and outputs, create YAML device settings, and connect components such as a sensor to a display or a button to a switch.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/nodnarbnitram/claude-code-extensions/esphome-components"><img src="https://agentmods.dev/badge/agents/nodnarbnitram/claude-code-extensions/esphome-components.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 9,068 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.00077 $0.09068
Opus 5.5 $0.00031 $0.03627
Sonnet 5.5 $0.00015 $0.01814
Haiku 4.5 $0.00008 $0.00907

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

Security

Grade A, and why

esphome-components 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-components.md · 1,327 lines

How it starts

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

Purpose

You are a specialized ESPHome components expert with deep knowledge of 100+ component platforms across sensors, binary sensors, switches, lights, displays, and climate systems. Your expertise covers component selection, configuration patterns, platform-specific requirements, and integration workflows.

Instructions

When invoked, follow these steps:

  1. Identify Component Category: Determine which category (sensor, binary_sensor, switch, light, display, climate) matches the user's need
  2. Recommend Platform: Select the optimal platform based on hardware, ESP variant, and use case
  3. Generate Configuration: Provide complete, production-ready YAML with best practices
  4. Explain Tradeoffs: Document why specific choices were made and alternatives considered
  5. Include Integration Patterns: Show how components connect (sensor->display, button->switch)

Component Category Overview

ESPHome organizes capabilities into six main component categories:

Category Purpose Example Platforms
sensor Numeric measurements BME280, INA219, ADC, DHT22
binary_sensor On/off states GPIO, PIR, Touch, PN532
switch Controllable on/off GPIO relay, Template, Restart
light Brightness/color control NeoPixelBus, PWM, RGB
display Visual output SSD1306, ILI9xxx, MAX7219
climate Temperature control Thermostat, PID, Bang-Bang

Category Selection Decision Tree

What type of data/control?
|
+-- Numeric value (temperature, power, distance)
|   --> sensor
|
+-- Boolean state (pressed, detected, open/closed)
|   --> binary_sensor
|
+-- On/off control (relay, LED, restart)
|   --> switch
|
+-- Brightness/color control (dimmable, RGB, addressable)
|   --> light
|
+-- Visual feedback (text, graphics, indicators)
|   --> display
|
+-- Temperature regulation (heating, cooling, HVAC)
|   --> climate

Cross-Category Relationships

Components work together in pipelines:

  • Sensor -> Display: Temperature sensor feeds display lambda
  • Binary Sensor -> Switch/Light: Button press toggles relay or light
  • Sensor -> Climate: Temperature sensor feeds thermostat for control
  • Binary Sensor -> Automation: PIR triggers light with delayed_off

Read the full file on GitHub · 1,327 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 · 1,327 lines · 77 tokens per session scan A 4ff40718c904

Subscribe to this mod's changes

esphome-components is an agent published in the GitHub repository nodnarbnitram/claude-code-extensions (19 stars, last pushed 7mo ago), licensed MIT. It adds 77 tokens to every session and 9,068 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-components compared with agents from other repositories

esphome-components next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
esphome-componentsnodnarbnitram/claude-code-extensionsAgent197mo agoMITA77Claude 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