/ha-nova:ha-novafrom ha-nova
Operates Home Assistant through HA NOVA for multi-step or multi-target tasks like querying rooms, devices, and modes. Handles complex automation and script changes across multiple targets.
Ships in ha-nova. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Sub-skills are discovered independently by their descriptions. index.md (beside this file) is the compact dispatch index.
Operate Home Assistant through HA NOVA with a minimal user-facing flow:
../ha-nova/confirmation.md → Confirmation Tiers): everyday actions and plan.confirm: none plans run at once and are verified afterwardsBefore the first HA task in a session, read and follow
../ha-nova/session-bootstrap.md; it owns every skill's update checks.
After the shared session bootstrap:
ha-nova relay health once per server, unless a typed verb or relay command for it already answered. Typed verbs need no probe — an unreachable Relay answers exit 1 RELAY_ERROR.ha-nova setupHA_LLAT in the relay host environment (docs/reference/relay-container.md).--server <name> to every ha-nova command but apply (it follows its plan). Name a non-default server once per response.Do not ask user to paste tokens in chat.
When the user asks which HA NOVA build, version, or skills are currently loaded:
ha-nova version.local DEV build, tell the user they are running locally dev-synced skills (not the published release), and include the stamp. Otherwise report the released version.Never infer the build from version.json or check-update.
Applies to raw ha-nova relay routes. Typed verbs take plain arguments (--set k=v; --data-file only for nested data) and need none of the file rules below.
Rules:
ha-nova relay ws --data-file <payload-file>.ha-nova relay core --method <METHOD> --path <PATH> --body-file <payload-file>.ha-nova relay ... --out <result-file> for large outputs.--jq or --jq-file over shell pipes when filtering relay output.ha-nova relay jq --file <result-file> length for simple counts and --jq-file <filter-file> for non-trivial follow-up transforms.&& or ||; run separate shell commands instead.jq; use relay-native --jq / --jq-file or ha-nova relay jq.select, test, startswith, or more than one pipeline stage, default to --jq-file.cat, heredocs, Python, or Node as the primary JSON path.-d/--data for ws, -d/--body for core) only for tiny, unambiguously read-only diagnostics when shell quoting is already known-good.../ha-nova/safety-core.md; not yet in this conversation → read it first; unreadable or incomplete → stop and write nothing.plan.confirm none → apply; natural → show the preview and wait for the user's reply; code → follow say/next_step (window, phone, form, or chat code). A write without a CLI plan is previewed first.Read ../ha-nova/confirmation.md (Active Preview Confirmation, Confirmation Tiers) before any write's preview; unreadable or incomplete → stop and write nothing.
config-snapshots family (../ha-nova/config-snapshots.md), per ../ha-nova/batch-safety.md.ha-nova:fallback before any raw relay ws or relay core write operation. Never probe, guess, or trial-and-error write payloads against unfamiliar HA APIs. Some WS endpoints (e.g., lovelace/config/save) perform full-document overwrites — a partial payload silently destroys all existing config. The fallback skill contains endpoint-specific write behaviors and safe patterns. Skipping it risks data loss.Read ../ha-nova/confirmation.md → Interactive Choices before presenting any menu or numbered choice (destructive confirmation is never a menu).
Solution design across all write-capable skills follows ../ha-nova/smallest-solution.md: the smallest complete solution as the silent default, at most two evidence-backed unsolicited suggestions, smallest intervention first.
When evidence needs the user to act physically (press a button, walk past a sensor, open a door), never give the instruction first. Sequence:
Persistent evidence (traces, state history) arms by reading the baseline before the instruction; the user then acts at their own pace. A bounded listen window (ha-nova:mqtt) cannot wait: ask if the user is ready first, then open the window and say "act now" in the same message; an empty window after the action means re-arm and retry once, not a device verdict.
Every conclusion presented to the user must be bound to the evidence that supports it.
Before presenting any conclusion, verify:
Confidence tiers in output:
Rules:
Across a multi-step task, track the user's active decisions internally and per conversation — four kinds, never merged:
Rules:
Worked example: turn 1 sets "never touch the bedroom lights" (hard requirement); turn 4 accepts motion-triggered hallway lighting; turn 9 asks to extend it "to all upstairs rooms". The draft would now include the bedroom — conflict: block the preview, name the turn-1 requirement in plain words, and ask whether it still holds. If the user replies "bedroom is fine now", that explicit choice replaces the old requirement; the hallway decision stays untouched.
Alongside Decision Memory, track the work itself — conversation-scoped, internal, lightweight workflow state, never a persistent task system: create no helpers, to-do items, or stores for it, and expose no internal item identifiers. Each item carries a ROLE and, separately, a lifecycle STATE — a blocked primary objective stays the primary objective:
Rules:
At any blocker, missing prerequisite, finding, or actionable next step: before recommending a manual step, check whether an available HA NOVA skill can perform it — if so, say concretely what HA NOVA can do next instead of sending the user off to do it by hand.
Rules:
Worked example: discovery finds the needed control exists as a disabled sibling entity — offer it: "The restart control exists but is disabled. I can enable it (ha-nova:organize) and continue the restart workflow."
Before showing a mutation preview, classify every check the plan promises:
Rules:
Automation, script, and helper summaries: the name, then what starts it, its conditions, and what it does in short sentences (scripts: inputs and steps; helpers: type and settings), then the next step (a write: its confirmation). Ids and the full YAML config only when asked; mode only when not single, in plain words. Dashboards, organize, history: that skill's own format.
Keep orchestration details internal on normal success paths.
Read ../ha-nova/output-rules.md once per session, before the first user-facing response, and apply it to every response (core: plain words, HA names verbatim; unless asked or names clash, no ids, "entity", modes, Relay/HA URLs, snapshots, raw JSON); re-read it only when a response needs a Card or shape not yet rendered this session, or after the conversation was compacted.
This shared file is the source of truth for localization, internal-code hiding, technical-noise limits, and verb results; other shapes live in its on-demand part ../ha-nova/output-cards.md.
Always invoke exactly ONE ha-nova task skill per user intent (this context skill may be loaded alongside it). Never load two task skills in parallel.
Match user intent to exactly one skill:
| User wants to… | Invoke exactly |
|---|---|
| list, show, read automations/scripts | ha-nova:read |
| analyze, review, audit, check, find problems | ha-nova:review (reads config internally); the whole home: ha-nova:home-map |
| create, update, delete automations/scripts; import/save/instantiate/delete blueprints | ha-nova:write |
| do something FOR a duration when the service has NO native duration field ("sprinkler for 30 minutes", "lights on for an hour") | ha-nova:write — one preview covering the immediate service call AND the expiry automation, per ../ha-nova/one-shot-automations.md; routing the halves to two skills loses the pairing |
| list, show, read helpers | ha-nova:helper |
| create, update, delete helpers | ha-nova:helper |
| list, show, read dashboards, Lovelace resources, or dashboard structure | ha-nova:dashboard |
| create, update, delete storage dashboards / Lovelace configs / Lovelace resources / dashboard cards | ha-nova:dashboard |
| list, show, read, create, update, delete scenes | ha-nova:scene |
| activate a scene | ha-nova:service-call |
| organize areas, floors, labels, categories, devices, entities | ha-nova:organize |
| replace a device or phone and re-point everything that used it; onboard or retire a device | ha-nova:device |
| move rules from Node-RED, Homey, SmartThings, Hubitat, or openHAB into Home Assistant; modernize legacy automation YAML | ha-nova:migrate |
| ESPHome device YAML: explain, check, edit; verify the device after an install | ha-nova:esphome |
| assign or remove entity categories | ha-nova:organize |
| show history, logbook timelines, or long-term statistics | ha-nova:history |
| "is everything closed / locked / off?", "who is home?", "what is running right now?" — a live state snapshot across a domain | ha-nova:entity-discovery |
| check home status, ignore/fix repairs, system health, integration issues, unavailable entities, or low batteries | ha-nova:health (the SYSTEM's condition; a snapshot of what things are DOING is entity-discovery, above) |
| find out WHY a specific automation, script, device, or integration failed or misbehaved (traces, history, root cause) | ha-nova:diagnose |
| add a new device (discovered, cloud, or Zigbee/Z-Wave/Matter steps); add/remove, enable/disable, rename an integration, manage subentries, ignore discovery, change options, reconfigure, reload, reauthenticate or recover invalid credentials | ha-nova:integration-setup |
| play, pause, skip, set volume, change source, group speakers, browse media, or announce over a speaker | ha-nova:media |
| send a notification to a phone or another notify target, or manage Home Assistant's persistent notifications | ha-nova:notify |
| look at a camera (snapshot), get a stream URL, record, switch a camera on/off, toggle its motion detection, or cast its stream to a TV | ha-nova:camera |
| listen to MQTT topics to see what a device actually publishes, inspect MQTT discovery, or publish a message | ha-nova:mqtt |
| test what the voice assistant understands, manage Assist pipelines/debug runs, or control which entities voice can see | ha-nova:assist |
| teach Assist a new phrase / custom sentence | ha-nova:assist |
| manage persons, zones, tags, user accounts, System General settings, Labs features, or analytics sharing | ha-nova:admin |
| create or edit configuration that only exists as YAML (template/REST/command-line sensors, packages, themes) | ha-nova:yaml-config |
| browse or list installed HACS packages, install, pin or downgrade to a specific version, redownload, or remove HACS packages, add custom HACS repositories, or migrate to a custom integration; the Marketplace (HACS since Home Assistant 2026.11) | ha-nova:hacs |
| query long-term history from InfluxDB or another external store Home Assistant writes to but cannot read back | ha-nova:external-sources |
| list calendars; read, create, update, or delete calendar events | ha-nova:calendar |
| show, add, complete, update, remove to-do or shopping-list items; create/delete to-do lists | ha-nova:todo |
| check backup status, create a backup (also as a safety net before risky changes), inspect a backup's contents, delete backups, change automatic-backup schedule or retention | ha-nova:backup |
| updates, release notes, skip/unskip; Apps: store, install, uninstall, settings | ha-nova:updates |
| analyze energy usage, solar/battery/grid KPIs, per-device consumption or costs; edit energy dashboard sources/devices | ha-nova:energy |
| repair or import statistics (orphans, unit mismatches, sum spikes), purge recorder history, clean up dead registry entries | ha-nova:maintenance |
edit recorder: include/exclude filters or purge_keep_days (YAML) | ha-nova:yaml-config |
| "what event does my button/remote/tag fire?" — capture it in a bounded window | ha-nova:fallback (Bounded Event Capture); MQTT devices: ha-nova:mqtt |
turn on/off, toggle, set, call a service — including native duration fields such as timer.start or siren.turn_on | ha-nova:service-call |
| enable/disable/trigger an automation | ha-nova:service-call |
fire a custom event or webhook (refused raw: automation.trigger instead) | ha-nova:service-call |
| arm/disarm/trigger an alarm panel; lock/unlock/open a lock | ha-nova:service-call |
| find entities by name, room, area | ha-nova:entity-discovery |
| fix relay/auth/connectivity errors | ha-nova:onboarding |
| undo, revert, or restore the last automation/script/helper/dashboard change or rename | the skill that wrote it — ha-nova:write (automation/script), ha-nova:helper (helper), ha-nova:organize (rename), or ha-nova:dashboard. revert applies only to verified updates. Creates clean up through the delete flow; a DELETED automation/script/scene/dashboard/STORAGE helper restores from its auto config snapshot in the owning skill (../ha-nova/config-snapshots.md); config-entry helpers are not snapshot-covered — their recovery stays Backup/recreate. Run ha-nova snapshot show to see the saved update target if unsure |
| "what can you do (here)?" — the capability question | ha-nova (this context skill); answer per ../ha-nova/capability-answer.md, grounded in this home |
| "show me my home", "where is X used?", audit or document the whole home, first look | ha-nova:home-map |
| "can I break something?", "is this safe?" | ha-nova (this context skill); Safety Story in ../ha-nova/capability-answer.md |
| "analyze my home and suggest automations", "what should I automate?" | ha-nova (this context skill); ../ha-nova/starter-proposals.md — read-only until an item is accepted |
| "what did you do today / this session?" | ha-nova (this context skill); Session Recap rule in ../ha-nova/output-cards.md |
| "explain this automation / what does it do?" | ha-nova:read — behavior narrative first, YAML only on request |
| structure audit — "is my setup tidy?", "which entities have no area?" | ha-nova (this context skill); Structure Check in ../ha-nova/capability-answer.md — fixes hand to ha-nova:organize |
| list or delete config snapshots ("what snapshots do I have?", "delete these obsolete snapshots") | ha-nova (this context skill); mechanics: ../ha-nova/config-snapshots.md |
| restore a config snapshot ("restore X from a snapshot") | the skill that owns the item family — ha-nova:write (automations/scripts), ha-nova:scene, ha-nova:dashboard, ha-nova:helper, ha-nova:energy (prefs), ha-nova:yaml-config (files; /config/esphome/: ha-nova:esphome), ha-nova:organize (metadata); mechanics: ../ha-nova/config-snapshots.md |
| any HA task not matched above — unsupported admin writes, any unfamiliar raw relay/ws/core write | ha-nova:fallback (mandatory fallback — never skip) |
"Analyze my automation" → ha-nova:review (NOT read + review)
"Review my whole setup" → ha-nova:home-map (NOT review or health)
"Review my utility meter helper" → ha-nova:review (minimal config-entry helper review)
"Show my automations" → ha-nova:read (NOT review)
"Show all automations with prefix routine_" → ha-nova:entity-discovery (bulk inventory, not full YAML dump)
"Create an automation" → ha-nova:write (NOT read + write)
"Create an input_boolean" → ha-nova:helper (NOT write)
"Show my helpers" → ha-nova:helper (NOT read)
"Revert that" / "Undo the last change" → re-invoke the skill that made it (the undo row above), never ha-nova:fallback.
"Delete these obsolete config snapshots" → ha-nova context skill using config-snapshots.md; exact multi-file cleanup may use its declared config-snapshots batch family.
"Do the same for the kitchen" (right after a verified AUTOMATION create) → ha-nova:write, replicate-across-rooms pattern (../ha-nova/automation-patterns.md) — resolve the kitchen's OWN entities, never copy entity ids; after any other operation (updates, deletes, failed verifications included), treat it as a fresh request to the owning skill
"Create a scene called Movie Night" → ha-nova:scene
"Activate the scene Movie Night" → ha-nova:service-call (runtime action, not a config change)
"Unlock the front door" → ha-nova:service-call (high-consequence: typed tier)
"Unlock the front door for five minutes" → ha-nova:write (a duration is the expiry automation plus the unlock, one preview, typed tier)
"Arm the alarm in night mode" → ha-nova:service-call (feature/code gate before preview)
"Fire the movie_night event" → ha-nova:service-call (refused raw; offer automation.trigger)
"Install the firmware update for my kitchen light" → ha-nova:updates (never raw update.install through service-call)
"Publish an MQTT message" → ha-nova:mqtt (never raw mqtt.publish through service-call)
"Test the automation I just created" → ha-nova:write Phase 5 test card (plan per ../ha-nova/test-run.md); a plain manual trigger stays ha-nova:service-call
"Show my main dashboard" → ha-nova:dashboard
"Create a dashboard called Test Board" → ha-nova:dashboard
"Delete the Test dashboard" → ha-nova:dashboard
"Add a markdown card to my dashboard" → ha-nova:dashboard
"List my Lovelace resources" → ha-nova:dashboard
"My door sensor died, I paired a new one — move everything over" / "new phone" → ha-nova:device (one entity rename alone stays ha-nova:organize)
"Move my Node-RED flows to Home Assistant" → ha-nova:migrate (old rule retired after a soak)
"Move this sensor to Area Alpha" → ha-nova:organize
"Put this sensor in category Category Alpha" → ha-nova:organize
"Add an alias to this area" → ha-nova:organize
"Show temperature trends for the last month" → ha-nova:history
"Are there any repair issues?" → ha-nova:health
"Why didn't my morning automation run?" → ha-nova:diagnose (concrete failure → traces + history)
"Why is the light turning on at random times?" → ha-nova:diagnose
"Add the Hue integration" → ha-nova:integration-setup
"Reconnect my expired integration login" → ha-nova:integration-setup (continue reauthentication or recover invalid credentials without a pending flow; credentials stay in the HA UI)
"Announce that dinner is ready" → ha-nova:media (TTS to a speaker)
"Send me a notification when..." → ha-nova:write (that is an automation, not a one-off send)
"Send a notification to my phone" → ha-nova:notify (one-off send now)
"Does Assist understand 'turn on the kitchen light'?" → ha-nova:assist (note: testing it EXECUTES it)
"Create a template sensor that averages my three thermometers" → ha-nova:helper first (a template helper can do it); only ha-nova:yaml-config when the helper cannot express it
"What was the average temperature last summer?" → ha-nova:history if the recorder still has it; ha-nova:external-sources when it was purged and InfluxDB has it
"Is my sensor even sending anything?" → ha-nova:mqtt for an MQTT/Zigbee2MQTT device (listen to its topic); for any other transport ha-nova:diagnose — a sensor that stopped updating is a concrete incident. Only a general "is anything wrong in my home" goes to ha-nova:health. "Why did my automation not run" always stays ha-nova:diagnose
"Install browser_mod from HACS" → ha-nova:hacs (add, pin, or remove a HACS package)
"Update my HACS integration to the latest" → ha-nova:updates (an update entity, like any other update); an explicit version or a downgrade goes to ha-nova:hacs
"HA NOVA is not connecting" / "relay auth error" → ha-nova:onboarding (diagnostics only, never a config write)
"Is everything OK?", "Why is everything slow?", "Would my backup work?" → ha-nova:health
"Why are devices unavailable?" → ha-nova:health
"Add milk to my shopping list" → ha-nova:todo
"Update Home Assistant" → ha-nova:updates (offers a safety backup first)
"Make a backup before we change this" → ha-nova:backup (then continue the original task)
"Restore a backup" → ha-nova:backup explains why restore must run in the HA UI
"Show my calendars" → ha-nova:calendar
"What's on my calendar this week?" → ha-nova:calendar
"Review all automations in area Area Alpha" → ha-nova:review (area-first aggregate review when more than one target resolves)
"Create a timer" → ambiguous! Ask: reusable timer entity (ha-nova:helper) or delay step in an automation (ha-nova:write)?
"Add this plug to the energy dashboard" → ha-nova:energy
"Fix the spike in my energy graph" → ha-nova:maintenance
"Clean up orphaned statistics" → ha-nova:maintenance
"Import a blueprint" → ha-nova:write
"How do I manage Apps?" → ha-nova:updates (../updates/apps.md)
"Show history for sensor X" → ha-nova:history
"Save the Lovelace config" → ha-nova:dashboard
"Remove this entity from Home Assistant" → ha-nova:maintenance (dead registry entries only; live entities get disabled via ha-nova:organize)
"Delete this device" → ha-nova:organize
After any read or review task, re-evaluate intent once before continuing:
ha-nova:writeha-nova:helperentity_id, unique_id, current configentity_id, helper type, internal helper id when already known (the receiving skill will resolve missing fields)entry_id, domain, title, linked entities when already known (the receiving skill will resolve missing fields)../ha-nova/bulk-patterns.mdProblem-description intents ("X doesn't work", "Y is wrong", "stopped working", "didn't fire last night"): dispatch to ha-nova:diagnose (ESPHome YAML or build errors: ha-nova:esphome) — a concrete failure is a root-cause task (traces, history), whether or not the user says "why". Diagnose hands the fix back to write / helper / service-call.
Dispatch to ha-nova:review instead when there is no concrete incident: config-quality audits ("check my automations", "review this script", "is this a good automation?"). Review also checks current entity state and may offer a Quick-Fix service call at the end. Bulk review is the exception: it stays read-only and does not offer Quick-Fix.
ha-nova find|get|history|map); otherwise try Relay /ws directly.../ha-nova/bulk-patterns.md only for multi-target discovery/review work../ha-nova/output-rules.md../ha-nova/write-safety.mdha-nova find|get and write through ha-nova plan write|delete|revert + apply; ../ha-nova/relay-api.md only for raw-relay routesautomation-patterns.md (opens in a new tab)batch-safety.md (opens in a new tab)best-practices.md (opens in a new tab)bulk-patterns.md (opens in a new tab)capability-answer.md (opens in a new tab)config-body-filter.jq (opens in a new tab)config-snapshots.md (opens in a new tab)confirmation.md (opens in a new tab)confirmed-actions.md (opens in a new tab)consumer-discovery-preflight.md (opens in a new tab)discovery-filter.jq (opens in a new tab)grouped-change-set.md (opens in a new tab)helper-flow-schemas.md (opens in a new tab)helper-schemas.md (opens in a new tab)index.md (opens in a new tab)indirect-actuation.md (opens in a new tab)input-capability-preflight.md (opens in a new tab)live-schema-preflight.md (opens in a new tab)membership-resolution.md (opens in a new tab)mobile-notification-composition.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub markusleben/ha-nova --plugin ha-nova35 skills in this plugin
/adminUse when managing Home Assistant people, zones, tags, user accounts, general settings (name, location, units, time zone), Labs features, and analytics sharing — creating a person, drawing a zone, adding a tag, or reviewing who has access — through HA NOVA Relay./assistUse 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`./backupUse when checking Home Assistant backup status, creating a backup (including a safety backup before risky changes), inspecting or deleting backups, or changing the automatic-backup schedule, retention, or locations through HA NOVA Relay./calendarUse when listing, reading, creating, updating, or deleting Home Assistant calendar events through HA NOVA Relay./cameraUse when working with Home Assistant cameras — taking a snapshot for the agent to look at, getting a stream URL, recording, casting a camera stream to a TV or speaker display, or turning a camera or its motion detection on and off — through HA NOVA Relay./dashboardUse when listing, reading, building, redesigning, updating, or deleting Home Assistant dashboards, views, and cards (installed custom cards included), checking dashboards for broken cards, or managing Lovelace resources through HA NOVA Relay.Other plugins' skills for the same job