ha-conversation-agent-augment

ha-conversation-agent-augment is a skill for Claude Code from nolte/claude-home-assistant. It costs 206 tokens per session (2,376 once invoked), scanned A, original, MIT.

Voice and AI support for a Home Assistant custom integration. It can add intent handlers, a conversation agent, or tools that an AI system can use through Home Assistant's language interfaces.

In plain words
What is it for?
Use it to add natural-language intents, a conversation entity, or tools that expose or consume integration capabilities through an AI system.
Why use it?
It gives the integration a defined way to respond to voice or conversational requests. The user chooses which language interfaces and tool direction are in scope before generation.

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 add natural-language intents, a conversation entity, or tools that expose or consume integration capabilities through an AI system.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nolte/claude-home-assistant/ha-conversation-agent-augment"><img src="https://agentmods.dev/badge/skills/nolte/claude-home-assistant/ha-conversation-agent-augment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 206 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,376 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.00206 $0.02376
Opus 5 $0.00103 $0.01188
Sonnet 5 $0.00041 $0.00475
Haiku 4.5 $0.00021 $0.00238

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

Security

Grade A, and why

ha-conversation-agent-augment 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-conversation-agent-augment/SKILL.md · 112 lines

How it starts

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

HA Conversation Agent Augment

Spec: spec/claude/ha-conversation-agent-augment/en.md (EN canonical) / spec/claude/ha-conversation-agent-augment/de.md (DE translation).

Why this is a skill, not an agent

  • Human-visible augmentation surface — the user describes a Voice & AI capability and reads back the generated handlers/entity/tools and the conformance report; a skill keeps this on the visible command surface, like the sibling augment skills (ha-config-flow-augment, ha-coordinator-add, ha-device-automation-add).
  • Scope decision up front — which of the three surfaces (intents / conversation entity / LLM tools) and, for tools, expose-vs-consume, is a per-run dialogue the user approves before any generation; that belongs in the working context.
  • Bounded, inline generation — intent handlers, one conversation.py, and a small llm.API with its tools fit inline; no isolated agent context is needed.
  • Counter-dimension considered: the draft→validate loop could be an agent, but the surface-scope decision and the two-axis separation belong in the user's working context; skill wins.

When this skill activates

Use this skill to add one or more Voice & AI surfaces — intent handlers, a conversation agent, and/or LLM API tools — to an existing integration, so its devices respond to Assist sentences and/or it exposes tools to the assistant.

When NOT to activate

  • Assist satellite / STT / TTS / wake-word entitiesha/entity-platforms-voice
  • a registered service with its own schema → ha-service-definition-add / ha/services
  • translation of intent sentences / response / prompt texts → ha/translations
  • greenfield integration scaffolding → ha-integration-scaffold
  • deploying/importing into a running HA instance → out of scope

Hard rules

  1. Decide scope first. Resolve with the user which surface(s) are in scope — intents, a conversation entity, and/or LLM tools — and, for tools, the role: expose an llm.API vs. consume an API. Keep the two axes (intents/conversation vs. tools) separated.
  2. Read spec/ha/intents-conversation/en.md and spec/ha/llm-api/en.md first (at least the in-scope one). Do not generate from memory.
  3. Intent handler contract. Every handler derives from homeassistant.helpers.intent.IntentHandler, sets intent_type, is registered via intent.async_register(hass, handler) in async_setup/async_setup_entry (never in platform modules), and async_handle(self, intent_obj) -> IntentResponse returns an IntentResponse — never None or a raw string. Read slots via intent_obj.slots["<name>"]["value"]; declare a slot_schema for expected slots.
  4. Built-in intents, no deprecated ones. Implement domain-appropriate built-in intents (HassTurnOn/HassTurnOff/HassGetState), treating HassTurnOn/HassTurnOff slots as optional; never re-implement deprecated intents (HassToggle, HassOpenCover, …).
  5. Speech & response type. Create the response via intent_obj.create_response() + response.async_set_speech(...); speech is only plain or ssml; set the correct response_type (action_done/query_answer/error) and a valid data.code (no_intent_match/no_valid_targets/failed_to_handle/unknown) on error.
  6. Conversation entity. A conversation agent lives in conversation.py, derives from conversation.ConversationEntity, declares supported_languages (list[str] or "*"), and implements _async_handle_message(self, user_input, chat_log) -> ConversationResultnot the deprecated async_process. Set ConversationEntityFeature.CONTROL only when the agent actually controls HA; perform no I/O in property getters.
  7. LLM tool contract. Every tool derives from llm.Tool, carries a name, implements async async_call(self, hass, tool_input, llm_context), returns a JSON-serializable JsonObjectType, and raises errors as HomeAssistantError — no in-band error codes. A custom API inherits from API, implements async_get_api_instance(self, llm_context) -> APIInstance (with the required api_prompt), is registered via llm.async_register_api(hass, api) with a unique id/name, and is unregistered via entry.async_on_unload(unreg).
  8. Localization out of code. Keep localized sentences/response/prompt texts out of handler/tool code — sentences in intents/<lang>.yaml (see spec/ha/translations/en.md).
  9. Name per spec/ha/naming-conventions/en.md and verify HA internals against the official docs (see spec/ha/upstream-docs-verification/en.md).

Read the full file on GitHub · 112 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 · 112 lines · 206 tokens per session scan A 90a122873ca9

Subscribe to this mod's changes

ha-conversation-agent-augment is a skill published in the GitHub repository nolte/claude-home-assistant (1 stars, last pushed 1mo ago), licensed MIT. It adds 206 tokens to every session and 2,376 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.