home-assistant-integration

home-assistant-integration is a skill for Codex from denysdovhan/agents. It costs 76 tokens per session (1,144 once invoked), scanned A, original, MIT.

A development guide for creating Python custom integrations for Home Assistant, a system for controlling smart-home devices and services. It covers integration setup, configuration screens, devices and entities, data updates, automation triggers, diagnostics, and tests.

In plain words
What is it for?
Use it when creating, scaffolding, reviewing, or maintaining a custom Home Assistant integration, including its manifest, configuration flow, entities, data fetching, diagnostics, and tests.
Why use it?
It helps an integration follow Home Assistant's current structure and APIs instead of relying on outdated assumptions. It also separates integrations from automations, helper scripts, and dashboard work.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions AGENTS.md.

Good fit Use it when creating, scaffolding, reviewing, or maintaining a custom Home Assistant integration, including its manifest, configuration flow, entities, data fetching, diagnostics, and tests.

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

Made for: Codex.

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 home-assistant-integration

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/denysdovhan/agents/home-assistant-integration"><img src="https://agentmods.dev/badge/skills/denysdovhan/agents/home-assistant-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,144 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.00076 $0.01144
Opus 5 $0.00038 $0.00572
Sonnet 5 $0.00015 $0.00229
Haiku 4.5 $0.00008 $0.00114

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

Security

Grade A, and why

home-assistant-integration 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/home-assistant-integration/SKILL.md · 71 lines

How it starts

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

Home Assistant Integration Skill

Use this skill for Home Assistant custom integration development. This is separate from Home Assistant automation, helper, script, and Lovelace work.

Start With Current Docs

Fetch the latest markdown from the Home Assistant developers docs repository before coding. All doc paths in this skill and its references are relative to this base URL — prepend it when fetching:

https://raw.githubusercontent.com/home-assistant/developers.home-assistant/master/docs/

Use rendered pages on developers.home-assistant.io only as secondary reading. Do not copy Home Assistant docs into generated skill or repo files. Fetch only the files relevant to the task.

The reference files in this skill are the routing indexes to the doc paths; do not rely on remembered Home Assistant APIs. Always consult the relevant reference, then fetch the current markdown files it points to, before editing matching files:

Reference Use when
references/architecture.md Editing generic integration architecture, lifecycle, setup, manifest, config entries, data fetching, events, diagnostics, auth, networking, docs, tests, or translations
references/core-integration-files.md Editing core integration files such as __init__.py, manifest.json, config_flow.py, coordinator.py, diagnostics.py, repairs.py, services, translations, tests, or docs
references/entities-and-domains.md Editing platform/entity files such as sensor.py, binary_sensor.py, calendar.py, weather.py, or deciding which platform domain fits a feature
references/automation-triggers.md Adding or maintaining new integration-provided automation triggers in trigger.py and triggers.yaml
references/quality-rules.md Checking Bronze/Silver/Gold/Platinum quality scale rules or reviewing an integration against Home Assistant quality requirements

Read the full file on GitHub · 71 lines

Files

What ships with it

8 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. 9d ago First seen · 71 lines · 76 tokens per session scan A 13448f93426c

Subscribe to this mod's changes

home-assistant-integration is a skill published in the GitHub repository denysdovhan/agents (17 stars, last pushed 1mo ago), licensed MIT. It adds 76 tokens to every session and 1,144 once invoked, about $0.0004 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

codesys

Comprehensive operational skill specification for Anthropic Claude to automate, script, troubleshoot, and optimize CODESYS V3.5, IEC 61131-3 Structured Text (ST), ScriptEngine Python automation, EtherCAT/PROFINET, and OPC UA.

alivirgo/Major-AI-Skills · 56 tokens

reachy-mini-sdk

Programming guide for Reachy Mini robot using Python SDK v1.8.0 and REST API. Use when controlling Reachy Mini robots, programming movements (head/antennas/body), accessing sensors (camera/microphone/IMU), recording motions, building AI applications, deploying to Hugging Face, or using the daemon REST API. Covers SDK…

jjmartres/reachy-mini-sdk-skill · 93 tokens

cardputer-buddy

Iterate on the Cardputer-Adv MicroPython app bundle (Claude Buddy, Snake, Hello) after the device is already provisioned via m5-onboard. Use when the user wants to add a new app, push a single changed .py without re-flashing, watch device serial logs, or run a one-shot REPL command. Trigger on "add an app", "push to…

anthropics/claude-plugins-official · 109 tokens

dask

Distributed computing for larger-than-RAM pandas/NumPy workflows. Use when you need to scale existing pandas/NumPy code beyond memory or across clusters. Best for parallel file processing, distributed ML, integration with existing pandas code. For out-of-core analytics on single machine use vaex; for in-memory speed…

K-Dense-AI/scientific-agent-skills · 69 tokens

agent-framework-azure-ai-py

Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK.

sickn33/agentic-awesome-skills · 24 tokens

astropy

Core Python library for astronomy and astrophysics workflows that need Astropy APIs, including units/quantities, coordinates, FITS I/O, tables, time systems, WCS, and cosmology. Use when implementing or debugging astronomical data analysis code with Astropy.

K-Dense-AI/scientific-agent-skills · 56 tokens