ha-entity-description-map

ha-entity-description-map is a skill for Claude Code from nolte/claude-home-assistant. It costs 111 tokens per session (1,758 once invoked), scanned A, original, MIT.

A generator for Home Assistant custom integrations that turns a datapoint table or API schema into sensor definitions and matching translation and icon entries. Home Assistant is software for controlling and monitoring connected devices.

In plain words
What is it for?
For adding sensors, binary sensors, buttons, numbers, selects, switches, calendars, or to-do entities to an existing Home Assistant integration.
Why use it?
It reduces repetitive manual work while keeping each datapoint’s device type, unit, default status, text, and icon decisions explicit for review.

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 For adding sensors, binary sensors, buttons, numbers, selects, switches, calendars, or to-do entities to an existing Home Assistant integration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nolte/claude-home-assistant/ha-entity-description-map
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-entity-description-map
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-entity-description-map

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nolte/claude-home-assistant/ha-entity-description-map"><img src="https://agentmods.dev/badge/skills/nolte/claude-home-assistant/ha-entity-description-map.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,758 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.00111 $0.01758
Opus 5 $0.00056 $0.00879
Sonnet 5 $0.00022 $0.00352
Haiku 4.5 $0.00011 $0.00176

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

Security

Grade A, and why

ha-entity-description-map 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.

skills/ha-entity-description-map/SKILL.md · 113 lines

How it starts

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

HA EntityDescription Mapper

Spec: spec/claude/ha-entity-description-map/en.md (EN canonical) / spec/claude/ha-entity-description-map/de.md (DE translation).

Why this is a skill, not an agent

  • Per-datapoint operator decisions (decisive): mapping a datapoint table to EntityDescription tuples requires judgement calls (device class, unit, enabled-by-default) that are confirmed in the conversation, not fired off blind.
  • Output flows back naturally: the generated tuple list and strings/icons entries are reviewed and iterated inline before they land.
  • Counter-dimension considered: the generation step is mechanical and self-contained (agent bias), but a wrong device-class guess multiplied over a whole table is expensive — the confirm-as-you-go dialogue outweighs isolation.

When this skill activates

Use this skill when the user wants to add datapoints (sensors, binary sensors, buttons, numbers, selects, switches, calendars, todos) to an existing platform file in declarative EntityDescription form.

When NOT to activate

  • greenfield scaffold → ha-integration-scaffold
  • platform file missing → run scaffold first, then come back
  • custom state-class definitions → manual code edit
  • multi-platform generation in one call → call this skill once per platform

Hard rules

  1. Never overwrite existing entries. Conflict on EntityDescription.key aborts with the conflicting key quoted.
  2. Never invent translations. Non-English translations land as <TODO: translate '<EN value>'> unless the user supplies them. Skill output mentions these placeholders explicitly.
  3. Never concretise the backend-field lookup. The skill produces the generic entity class with entity_description.key-based access; mapping to actual coordinator data dict paths is the user's job.
  4. Always validate device_class/state_class/unit consistency. Mismatches block the run with a verbose violation list.
  5. Always update strings.json AND translations AND icons.json together. Half-augments where code is present but translations are missing are forbidden.
  6. Name keys and entities per ha/naming-conventions. EntityDescription.key and translation_key are snake_case; entity names come from the translation_key path, never a hard-coded _attr_name; English display names only (see spec/ha/naming-conventions/en.md).
  7. Emit PARALLEL_UPDATES. The generated platform module declares a module-level PARALLEL_UPDATES constant (Silver parallel-updates quality-scale rule); verify the appropriate value against the HA parallel-updates rule page (0 for coordinator-backed read-only platforms). A module without it is a quality-scale finding waiting to happen.
  8. Validate entity_category. A provided entity_category MUST be a member of EntityCategory (CONFIG / DIAGNOSTIC); an invalid value aborts the run with the offending value quoted.
  9. Verify HA internals against the official docs. Don't reproduce HA API signatures, lifecycle hooks, conventions, or schemas from memory — when uncertain, consult the official docs before generating or relying on it: Developer docs developers.home-assistant, architecture/blueprint/YAML docs home-assistant.io (see spec/ha/upstream-docs-verification/en.md).

Read the full file on GitHub · 113 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 · 113 lines · 111 tokens per session scan A bd73720c84aa

Subscribe to this mod's changes

ha-entity-description-map is a skill published in the GitHub repository nolte/claude-home-assistant (1 stars, last pushed 1mo ago), licensed MIT. It adds 111 tokens to every session and 1,758 once invoked, about $0.0006 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.