ha-esphome-binding-add

ha-esphome-binding-add is a skill for Claude Code from nolte/claude-home-assistant. It costs 193 tokens per session (2,251 once invoked), scanned A, original, MIT.

A connection between an ESPHome device and Home Assistant. ESPHome is software for configuring small devices such as sensors and controllers, while Home Assistant manages their states and commands.

In plain words
What is it for?
Use it to mirror a Home Assistant value on an ESPHome device, send a one-time command, let a person set a value, or send information from the device back to Home Assistant.
Why use it?
It chooses how one value or command should cross between the two systems, avoiding unnecessary polling or commands with no receiver. The binding follows the specified behavior for updates, actions, writable values, or return data.

Skill for Claude Code

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

Part of the claude-home-assistant plugin — 45 skills, 11 agents shipped together

Good fit Use it to mirror a Home Assistant value on an ESPHome device, send a one-time command, let a person set a value, or send information from the device back to Home Assistant.

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

Made for: Claude Code.

Or install claude-home-assistant, the plugin that ships this one along with the rest of its 45 skills, 11 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 ha-esphome-binding-add

README.md
[![agentmods](https://agentmods.dev/badge/skills/nolte/claude-home-assistant/ha-esphome-binding-add/github.svg)](https://agentmods.dev/skills/nolte/claude-home-assistant/ha-esphome-binding-add)
Your own site
<a href="https://agentmods.dev/skills/nolte/claude-home-assistant/ha-esphome-binding-add"><img src="https://agentmods.dev/badge/skills/nolte/claude-home-assistant/ha-esphome-binding-add/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 ha-esphome-binding-add

Your own site · 80×15
<a href="https://agentmods.dev/skills/nolte/claude-home-assistant/ha-esphome-binding-add"><img src="https://agentmods.dev/badge/skills/nolte/claude-home-assistant/ha-esphome-binding-add.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 193 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,251 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.00193 $0.02251
Opus 5 $0.00097 $0.01125
Sonnet 5 $0.00039 $0.00450
Haiku 4.5 $0.00019 $0.00225

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

Security

Grade A, and why

ha-esphome-binding-add 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 11d 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.

skills/ha-esphome-binding-add/SKILL.md · 105 lines

How it starts

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

HA ESPHome Binding Add

Spec: spec/claude/ha-esphome-binding-add/en.md (EN canonical) / spec/claude/ha-esphome-binding-add/de.md (DE translation). Grounding spec: spec/ha/esphome-ha-driven-content/en.md; rendering of the resulting values is owned by spec/ha/esp32-s3-box-display/en.md.

Adds exactly one Home-Assistant-driven binding per invocation, and the mechanism choice is the substance of the run — not the YAML that follows from it.

Why this is a skill, not an agent

  • Mid-flow approval is the contract (decisive): the mechanism decision (subscription vs. action vs. writable entity vs. return channel) is made with the operator against the spec's rule; picking wrong produces a device that polls what it should have been told, or an automation firing into a device with no receiver — and neither fails loudly.
  • Quick, targeted change in the current context: one block in one device file or package, iterated in conversation.
  • Counter-dimension considered: the six documentation pages this spans make the schema lookup self-contained (agent bias), but the boot-state and offline-behaviour decisions belong in the operator's context, not in a report; skill wins.

When this skill activates

The user wants Home Assistant to drive what an ESPHome device shows or does — "der ESPHome-Node soll den Strompreis anzeigen", "HA should be able to tell the box to show a message", "the button press should reach Home Assistant".

When NOT to activate

  • how the value is drawn (pages, zones, fonts, redraw script) → ha-esphome-display-author
  • the voice pipeline and satellite binding → ha-esphome-voice-satellite-add
  • a locally measured sensor or a local component → ha-esphome-config-augment
  • the automation, script, or template on the Home Assistant side → ha-automation-solution
  • MQTT as an alternative transport → out of scope; the grounding spec assumes the native API

Hard rules

  1. Read spec/ha/esphome-ha-driven-content/en.md first, then the target device file and its packages. Do not generate a mechanism from memory.
  2. Choose per value, not per device, using the spec's rule: continuously mirrored → subscription; one-shot instruction with arguments → callable action; person-set → writable entity; Home Assistant must learn something → return channel. State the choice and its reason in the report.
  3. Never emulate one mechanism with another. A periodically called action is not a subscription, and a rapidly changing subscribed value is not an action — both work briefly and fail under load or disconnection.
  4. Verify every key against the official ESPHome docs per spec/ha/upstream-docs-verification — this axis spans at least six component pages (api, sensor/homeassistant, text_sensor/homeassistant, time/homeassistant, text/template, and the display components).
  5. Subscriptions are push-based and internal: true by default on every import platform. Set internal explicitly for readability, give every subscribed value an id:, and use attribute: only on the read-only import platforms — number and switch have no such key.
  6. Actions carry typed variables: and validate them, answering a bad call through api.respond with success: false. Name the Home-Assistant-side identifier as esphome.{node_name}_{action_name} in the report, and state that a device rename breaks every automation calling it.
  7. A writable text: {platform: template} respects its documented exclusions: optimistic, initial_value, and restore_value each cannot be used with lambda. Do not carry these rules over to an unread template platform.
  8. A device calling Home Assistant actions needs the integration's explicit opt-in. Name it as a trust decision the operator has to make, never as a formality.
  9. Define the two edge states, always. What the device shows or does before the first value has ever arrived, and what it does when the API connection drops (on_client_connected / on_client_disconnected) — including the consequence of api.reboot_timeout (default 15 minutes).
  10. Route anything visible through the single redraw entry point of the display spec; an on_value that draws directly is a finding, not a shortcut.
  11. One binding per run, one device file per run. No deploy; the run ends at the edited file plus the validation report.

Read the full file on GitHub · 105 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. 11d ago First seen · 105 lines · 193 tokens per session scan A 2a4ef5c29a1d

Subscribe to this mod's changes

ha-esphome-binding-add is a skill published in the GitHub repository nolte/claude-home-assistant (1 stars, last pushed 1mo ago), licensed MIT. It adds 193 tokens to every session and 2,251 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-31.

Related

Other skills, from other repositories