Assist
Use when working with Home Assistant's own built-in voice assistant (Assist) — testing what it understands, inspecting, editing, or creating Assist pipelines, managing which entities are exposed to voice, listing TTS/STT/wake-word engines, and teaching Assist custom sentences — through HA NOVA Relay. Not for Alexa or Google Assistant — setting those up is `ha-nova:integration-setup` (or `ha-nova:yaml-config` for a manual cloud config), and one that STOPPED working is a concrete failure for `ha-nova:diagnose`.From its SKILL.md
npx -y skills add markusleben/ha-nova --skill assistAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 21 stars21 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
10.1 KB, as published. Nobody here has run it
HA NOVA Assist
Scope
Home Assistant's built-in voice assistant (Assist):
- test what Assist understands — send an utterance and see the real answer, without speaking
- inspect, create, and edit Assist pipelines (which STT, conversation agent, TTS a pipeline uses) and change the preferred one
- teach Assist custom sentences (see Custom Sentences below)
- manage which entities are exposed to voice, and their aliases
- list available TTS, STT, conversation, and wake-word engines
Not in scope: speaking through a speaker (ha-nova:media for TTS announcements), microphone/satellite hardware setup, or the third-party assistants (Alexa/Google) — setup goes to ha-nova:integration-setup (or ha-nova:yaml-config for a manual cloud config), and a failure ("Alexa stopped working") to ha-nova:diagnose like any other integration incident.
Bootstrap (once per session)
Read and follow ../ha-nova/session-bootstrap.md.
Verify relay CLI: ha-nova relay health
If this fails: ha-nova setup
Relay Contract
ha-nova relay ws --data-file <payload-file>for WS commandsha-nova relay core --method POST --path /api/conversation/process --body-file <payload-file>to test an utterance--out <result-file>for large listings
Flow
- Testing an utterance (the most useful thing here):
POST /api/conversation/processwith{"text":"turn on the kitchen light","language":"en"}(add"agent_id"to target a specific agent). The response says what Assist understood and what it did.- This ACTUALLY EXECUTES the command. "Turn on the light" turns the light on. Treat it as a service call: preview it, confirm it, and never fire a test utterance that changes something without asking.
- A read-only utterance ("what is the temperature in the kitchen") is safe to run directly.
"conversation_id"continues a previous exchange; omit it for a fresh one.
- Pipelines: WS
assist_pipeline/pipeline/listshows every pipeline pluspreferred_pipeline. Each carriesstt_engine,conversation_engine,tts_engine, and language settings.- change the preferred one: WS
assist_pipeline/pipeline/set_preferredwithpipeline_id - create: WS
assist_pipeline/pipeline/create. The named default is clone-preferred-with-a-different-engine: read the preferred pipeline from the list, carry its settings fields over, add the REQUIRED newname, and swap only the engine(s) the user asked for (the local-LLM move: same STT/TTS, differentconversation_engine). Resolve the new engine id from step 4's inventories — never invent one. Preview every field, labeling cloned vs changed, confirm, then create; verify by re-reading the pipeline list for the new pipeline with the requested settings. Creating never changes the preferred pipeline — offerset_preferredseparately - update: WS
assist_pipeline/pipeline/update— read the pipeline first, then send ALL its settings fields with your change, addressed bypipeline_id(the list'sidvalue). Never send it asid— that slot is the WS request id. A partial payload drops settings. - delete: WS
assist_pipeline/pipeline/delete— typed confirmation code; a pipeline in use by a satellite breaks it
- change the preferred one: WS
- Exposed entities (what voice can even see): WS
homeassistant/expose_entity/list; expose or hide with WShomeassistant/expose_entity(assistants: ["conversation"],entity_ids,should_expose). Aliases live in the entity registry (ha-nova:organizeowns those).- Exposing an entity gives voice control over it — preview the list before changing it.
- Risk-weight the preview: exposing a
lock,alarm_control_panel, or a cover with a garage/gate/doordevice_classmeans anyone within earshot can actuate physical access by voice — flag these entities explicitly as high-consequence before confirming.
- Engines: WS
tts/engine/list,stt/engine/list,conversation/agent/list,wake_word/info. Read-only inventories; use them to explain what a pipeline can be built from. - Verify pipeline changes by re-reading the pipeline list, and exposure changes by re-reading
expose_entity/list— never report success from the command response alone. After a pipeline or exposure change made to FIX an utterance, offer to re-run that exact utterance as the proof (with the standing warning that a test utterance executes what it understands).
Custom Sentences
Teach Assist a phrase it does not understand out of the box. This skill owns the workflow; the file paths, payload mechanics, and search query live in skills/fallback/relay-ready.md → Assist Custom Sentences — read that section first, do not duplicate it here.
- Opt-in gate: sentence files need the relay's opt-in file access (
ha-nova:yaml-config→ Bootstrap explains enabling it). Without it, stop and say so. - Write the sentence file (and, only when the intent is new, the
intent_script:block inconfiguration.yaml) per the fallback section's mechanics —backup: true, read the whole file before replacing it. - Validate BEFORE any reload: when
configuration.yamlchanged,POST /api/config/core/check_configFIRST. Oninvalid, restore that file's.bakimmediately and do not reload. - Reload the right thing:
conversation.reloadreloads the sentence matcher — enough when only sentence files changed. A handler in an existingintent_script:block reloads viaintent_script.reload— a new intent changed BOTH files, so runconversation.reloadtoo; only the FIRST-ever top-levelintent_script:block takes a Home Assistant restart (the integration is not yet set up). Say which applies; no phrase test before. - Live test is mandatory: run the exact phrase through
POST /api/conversation/process(Flow step 1 rules — a test utterance executes what it matches). A sentence file that parses is not a sentence Assist matched; never claim success without this test. - Rollback distinguishes reload from restart: a failed phrase test after a sentence-file change → restore the
.bak(or delete the new file),conversation.reloadagain, re-test one known-good phrase. A rolled-backintent_scriptdrops its stale handler withintent_script.reload; if the block never loaded (first-block), the restore alone suffices.
Error Handling
Full relay/upstream error taxonomy: skills/ha-nova/relay-api.md -> Error Handling. Assist specifics:
assist_pipeline/runis NOT usable here: it is a streaming subscription (audio), and the relay is request/response. Testing an utterance goes through/api/conversation/processinstead.- An unknown WS command usually means an older Home Assistant — say which version introduced it rather than guessing a workaround.
- A conversation response of "Sorry, I couldn't understand that" is a real answer, not an error: it means the intent did not match. Report what Assist actually said.
Output Format
Apply skills/ha-nova/output-rules.md to all user-facing output. Write previews, delete confirmations, and results render as the Cards defined there.
Render the Report shape (output-rules.md). For an utterance test: the exact response text Assist gave, what it did (or did not) match, and which entities it touched. For pipelines: name, engines, language, and which one is preferred. Never paraphrase Assist's answer into something friendlier than it was.
Safety
-
Preview before write: nothing is saved until the user confirms the shown preview.
-
Confirmation binds to the displayed preview and expires on any change to target, payload, endpoint, or scope (context skill → Active Preview Confirmation).
-
Pre-preview phrases ("do it", "go ahead", "implement the plan") authorize drafting and preview only — never the write itself.
-
Delete and destructive operations require the typed confirmation code
confirm:<token>verbatim; "yes" or any natural-language reply is invalid. -
Never guess entity, service, or config IDs — resolve them or ask.
-
Home Assistant is reached exclusively through
ha-nova relay. -
For any HA write this skill does not cover, STOP and invoke
ha-nova:fallbackfirst — never probe unfamiliar write endpoints. -
Drafts follow
skills/ha-nova/smallest-solution.md: the complete requested outcome in the simplest safe design, nothing for hypothetical future needs. -
A test utterance is a live command.
conversation/processexecutes what it understands. Anything that could change state gets a preview and confirmation, exactly like a service call. -
An utterance is the least enumerable indirect actuation there is: what it reaches is decided by the conversation agent at runtime. When the utterance plausibly reaches a lock, alarm panel, or access cover — the words themselves, or the exposed entity set makes it reachable — it takes the typed
confirm:<token>(context skill → Confirmation Tiers), including the re-run proof after an exposure fix. -
Exposing entities to voice grants voice control over them — show the full list before changing exposure.
-
Pipeline updates resend every settings field: read first, or you silently drop settings.
-
No change here has a
revert: restore exposure by re-toggling, restore a pipeline by resending its prior fields. A deleted pipeline recreates with a newpipeline_id— satellites pointing at the old one must be re-pointed.
Guardrails
- One pipeline or one exposure change per operation.
- Never invent
pipeline_idoragent_idvalues — list them first. - Never claim Assist "understood" something the response does not show.