Skip to content
Back to skills

Helper

ASecurity

Use when creating, updating, deleting, or listing Home Assistant helpers — timers, counters, toggles, dropdowns, text and number inputs, schedules, plus template, threshold, utility-meter and other config-entry helpers — through HA NOVA Relay.

  • 20 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 23, 2026
ai-agentsgorailsgitapi

Works with

  • terminal
  • cli
  • api

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add markusleben/ha-nova --skill helper --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Helper?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Helper
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/markusleben-helper/badge)](https://www.skillsdirectory.com/skills/markusleben-helper)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: helper
description: Use when creating, updating, deleting, or listing Home Assistant helpers — timers, counters, toggles, dropdowns, text and number inputs, schedules, plus template, threshold, utility-meter and other config-entry helpers — through HA NOVA Relay.
license: MIT
compatibility: Requires the ha-nova CLI (run 'ha-nova setup' first) and the HA NOVA Relay in Home Assistant (App, or standalone container on Container/Core).
---

# HA NOVA Helper

## Scope

`ha-nova:helper` has two helper families:

- **Storage-based family** — full CRUD for:
  - `input_boolean`, `input_number`, `input_text`, `input_select`, `input_datetime`, `input_button`, `counter`, `timer`, `schedule`
- **Config-entry family** — CRUD support for 16 domains:
  - `utility_meter`, `derivative`, `integration`, `min_max`, `threshold`, `tod`, `statistics`, `group`, `history_stats`, `template`, `generic_thermostat`, `switch_as_x`, `trend`, `random`, `filter`, `generic_hygrostat`
  - `generic_thermostat` / `switch_as_x` / `trend` / `random` / `filter` / `generic_hygrostat` note: promoted without an observed field inventory — every field comes from the live form per `../ha-nova/live-schema-preflight.md`; `generic_hygrostat` switches a humidifier like `generic_thermostat` a heater; a `switch_as_x` create hides the source switch entity behind the new one, and its target domain is create-only (changing it means delete + recreate) — say both in the preview
  - `group` note: handled through the live menu-driven flow; end-to-end support is verified for the `sensor` subtype, and other subtypes must stay anchored to the live step schema instead of guessed fields
  - `template` note: same menu-driven flow (17 entity types); end-to-end support is verified for the `sensor` subtype. The `state` field is a Jinja template — author it per `../ha-nova/template-guidelines.md` and apply the template-level reliability checks (missing `float`/`int` defaults, boolean-string comparisons) BEFORE submitting; a broken template renders the entity `unavailable`, so post-write verification must read the rendered state, not just entry existence

Not handled here:

- `local_todo` list config entries (use `ha-nova:todo`)
- automations/scripts config mutations (use `ha-nova:write`)

## Bootstrap (once per session)

Read and follow `../ha-nova/session-bootstrap.md`.

## Relay Contract

Write payloads with the client's native file-writing tool, then use:

- `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 larger read/verify output
- `--jq-file <filter-file>` for non-trivial filters; keep inline `--jq` for short selectors only
- storage-family writes (create, update, delete): one `ha-nova plan raw` item `{"endpoint":"ws","payload":<the write>}`; its `say` closes the preview; then `ha-nova apply`

Family-specific transport:

- **Storage-based family:** WS CRUD + WS list
- **Config-entry family:** WS `config_entries/get` + WS entity-registry joins for list/read; relay `/core` config-entry flow and options-flow writes

## Flow

Drafts follow `../ha-nova/smallest-solution.md`: the complete requested outcome in the simplest safe design — never an extra helper, option, or abstraction it does not need.


### Family 1: Storage-based helpers

#### Listing helpers

Use the compact entity registry (abbreviated keys: `ei` = entity_id, `en` = name, `ai` = area_id).

Create `<payload-file>` with `{"type":"config/entity_registry/list_for_display"}`, then run:

```text
ha-nova relay ws --data-file <payload-file> --jq-file <filter-file>
```

Write `<filter-file>` with:

```jq
[.data.entities[] | (.ei | split(".")[0]) as $domain | select(["input_boolean","input_number","input_text","input_select","input_datetime","input_button","counter","timer","schedule"] | index($domain)) | {entity_id: .ei, name: .en, area_id: .ai}]
| {total: length, shown: (.[0:30] | length), omitted: ([length - 30, 0] | max), truncated: (length > 30), matches: .[0:30]}
```

If user filters by type, narrow the domain filter to that single storage-based domain.

#### Keyword search

```text
ha-nova relay ws --data-file <payload-file> --jq-file <filter-file>
```

Write `<filter-file>` with:

```jq
[.data.entities[] | (.ei | split(".")[0]) as $domain | select(["input_boolean","input_number","input_text","input_select","input_datetime","input_button","counter","timer","schedule"] | index($domain)) | select((.ei + " " + (.en // "")) | test("KEYWORD";"i")) | {entity_id: .ei, name: .en, area_id: .ai}]
| {total: length, shown: (.[0:20] | length), omitted: ([length - 20, 0] | max), truncated: (length > 20), matches: .[0:20]}
```

If 0 results: try synonyms or shorter stems. Never dump entire domains.
While `truncated` is true the list proves neither absence nor uniqueness — narrow further until it is false; the counts are exact, the cap trims display only.

#### Reading a single helper

1. Determine type from entity_id domain prefix.
2. Fetch full config via type-specific list:
   ```text
   ha-nova relay ws --data-file <payload-file> --jq-file <filter-file>
   ```
   Write `<filter-file>` with:
   ```jq
   [.data[] | select(.name | test("KEYWORD";"i"))]
   ```
3. No single-item read endpoint — always `{type}/list` + filter.

#### Creating a helper

1. Validate intent against `../ha-nova/helper-schemas.md` for required/optional fields. Validate cross-field constraints pre-write too, instead of leaving them to the post-write review: `input_number` `min` < `max`; `counter` `minimum` < `maximum`; `input_select` `initial` must be in `options`; `input_datetime` needs `has_date` and/or `has_time`; `timer` `duration` in `HH:MM:SS`. Fix or ask before writing.
2. Use-case defaults (create only, skip on update/delete):
   - Infer use-case from helper name + type using general HA knowledge.
   - Consult `../ha-nova/helper-schemas.md` → Suggested Defaults for principles and field name reminders.
   - If sensible defaults can be inferred: merge them into fields the user left unset and list them in the step 3 preview (not a Suggestion Block) — never a separate question first — max 4 as numbered list (feature-style offers per `../ha-nova/smallest-solution.md`, max 2, numbered apart, only when picked). Group related fields into one item.
     ```
     Suggested defaults for "{name}" ({type}), included:
     1. min: 16, max: 30, step: 0.5
     2. unit_of_measurement: "°C"
     3. mode: slider
     4. icon: mdi:thermometer
     Saving keeps them; say a number to drop one (e.g. "not 2").
     ```
   - A dropped item changes the payload: re-preview.
   - No useful defaults inferable → silently skip.
3. Preview the payload with the shared write-preview shape: compact summary, pre-write check when applicable, explicit not-saved-yet line, and the save question: the plan's `say`.
4. End the turn with this preview; only the user's reply to it confirms, never the request (`../ha-nova/confirmation.md` → Active Preview Confirmation).
   - for unobserved `group` or `template` subtypes, this first confirmation authorizes only the non-persisting menu-step submit, not the final subtype-specific payload
5. Execute: `ha-nova apply --plan <id>`.
6. Verify — list back and confirm new item exists.
7. No reload needed: immediate effect.
8. Run storage-family post-write review (see below).

#### Updating a helper

1. Resolve target from `{type}/list` by `name` or internal `id`.
2. Extract `id` from the list response (this is the `{type}_id` for the update command).
3. Validate the merged current+proposed fields against the same cross-field constraints as create (Creating step 1) — an update can break `min`/`max`, `minimum`/`maximum`, `initial` ∈ `options`, or datetime/timer constraints just as easily. Then preview current vs proposed in the Changes slot with `ha-nova diff` (see `../ha-nova/write-safety.md` → Pre-Write Diff) plus the behavior narrative (write-safety → Behavior narrative) — a count-only diff row never stands alone. Then run a pre-write impact check — `search/related` on this helper entity (max 3 related configs) — and surface affected automations/scripts as an advisory. Advisory only; never block. Include an explicit not-saved-yet line and the save question: the plan's `say`. REMOVING `input_select` options or `schedule` blocks (moved or changed too) puts the auto config snapshot first.
4. End the turn with this preview; only the user's reply to it confirms (`../ha-nova/confirmation.md` → Active Preview Confirmation).
5. If the conversation paused since the preview, re-read the list item; a changed basis expires the confirmation (`write-safety.md` → Drift check before apply).
6. Execute: `ha-nova apply --plan <id>`.
7. Verify by re-reading the same list item.
8. Run storage-family post-write review (see below).
9. Update-Revert: `apply` saved the checkpoint (repeat its `undo` receipt); offer `revert` unless its `say` already names the way back — see `../ha-nova/write-safety.md` → Update-Revert. Storage-family restore rebuilds a schema-valid `{type}/update` from `before_config` (typed `{type}_id` from its `id` + writable fields only — never the raw list item, which lacks `{type}_id` and carries read-only `id`/`entity_id`); `expected_after` is the post-update read-back.

#### Deleting a helper

1. Resolve target from `{type}/list`; extract its `id` (the `{type}_id` used for the delete call — internal, not shown to the user).
2. Preview with stable localized slots (see `../ha-nova/write-safety.md` → Output hygiene — no raw internal id):
   - name
   - type
   - entity_id only when the name is missing or shared
3. Capture the auto config snapshot of the current list item first, as the leading `backups` save (`../ha-nova/config-snapshots.md`) of one `ha-nova plan raw --file <requests.json>`, then `{"endpoint":"ws","payload":{"type":"{type}/delete","{type}_id":"<id>"}}`; its `say` asks. Say in the result that a recreate from it mints a new entity_id.
4. `ha-nova apply` per its `next_step`.
5. Verify absence from `{type}/list`.
6. Run storage-family post-write review (see below).

### Family 2: Config-entry helpers

Canonical config-entry helper item:

- `entry_id`
- `domain`
- `title`
- `state`
- `linked_entities[]`
- `supports_options`

`entry_id` is the canonical identity for config-entry helper writes.
If the user gives only a linked `entity_id`, resolve it back to `config_entry_id` through the full entity registry before continuing.

Config-entry flow orchestration follows the shared contract in `../ha-nova/live-schema-preflight.md`: live-form previews, non-persisting pre-confirmation navigation only, stop before the terminal submit, and nested `result.entry_id` extraction.

#### Supported domains

Use the sixteen config-entry domains listed in Scope for every operation.

#### Listing helpers

1. Read all config entries:
   ```text
   ha-nova relay ws --data-file <payload-file> --out <entries-file>
   ```
   with `{"type":"config_entries/get"}`.
2. Read full entity registry:
   ```text
   ha-nova relay ws --data-file <payload-file> --out <registry-file>
   ```
   with `{"type":"config/entity_registry/list"}`.
3. Filter config entries to the sixteen supported domains in Scope.
4. Join linked entities by matching `config_entry_id`.
5. Present the List Frame table (output-cards.md): title, type, state. Options-flow support and linked entities stay in the per-helper
   detail read; when several entries share a domain or similar titles, add a
   short disambiguation line under the table with each candidate's linked
   entities (compact comma-separated summary).

#### Keyword search

Search against:

- config-entry `title`
- `domain`
- linked `entity_id`
- linked original/display names when available

If multiple matches remain, present max 5 candidates and ask one blocking question.

#### Reading a single helper

1. Resolve by one of:
   - `entry_id`
   - config-entry title
   - linked `entity_id`
   - if multiple candidates remain after resolution, stop and ask one blocking question
   - never guess between duplicate titles or ambiguous linked-entity matches
2. Re-read `config_entries/get`.
3. Re-read full entity registry and attach `linked_entities[]`.
4. If `supports_options: true`, start an options flow:
   ```text
   ha-nova relay core --method POST --path /api/config/config_entries/options/flow --body-file <start-payload-file>
   ```
   with `<start-payload-file>` containing `{"handler":"<entry_id>","show_advanced_options":false}`.
5. Treat the returned current step as the current editable options snapshot:
   - record `step_id`
   - summarize each exposed field from `description.suggested_value` when present
   - if an exposed field has no `description.suggested_value`, mark its value as unavailable instead of guessing
   - ignore hidden fields that are not exposed in the current step
6. If the options flow is unavailable even though the domain is supported:
   - still show canonical metadata
   - mark update as unsupported on this HA version
7. Present:

```text
**Helper: {title}** ({type})
- **Config-entry state:** {state}
- **Linked entities:** {linked_entities summary}
- **Supports options-flow editing:** {yes/no}
- **Current editable fields:** {field summary from the current options step when available}
```

#### Creating a helper

1. Confirm the requested domain is supported in `../ha-nova/helper-flow-schemas.md`.
   - treat that file as observed field inventory for the DRAFT, not a full validation schema — the live form is the authority, enforced by the drift check in step 7
   - if required field semantics remain uncertain, fail loud and ask one blocking question
2. Prepare the full create plan using `../ha-nova/helper-flow-schemas.md`:
   - for one-step domains, the plan is one submit body
   - for `group` or `template` with subtype `sensor`, include the required `next_step_id` menu choice and the observed final form
   - for any other `group` or `template` subtype, plan only the menu choice before the flow starts; inspect the live subtype form before promising the final field set
   - for `statistics` and `history_stats`, prepare every later step body before preview
   - for `template`, resolve every entity ID referenced inside the `state` template before preview — check the entity registry, then fall back to `/api/states/<entity_id>` (the registry only tracks entities with a `unique_id`; YAML/manual entities are valid references but absent from it). Only a reference missing from BOTH is a blocking question, not a submit
3. Preview with the shared write-preview shape:
   - title/name
   - domain
   - known step plan
   - all fields already known at this point
   - for unobserved `group` or `template` subtypes, say that the final subtype form will be previewed after the menu step returns live fields
   - include an explicit not-saved-yet line and the save question
4. Start the flow BEFORE confirming (steps 5-6 below run first; reading a
   form step persists nothing — only the terminal submit does), then re-render
   the preview from the LIVE form: label every field live-confirmed or
   draft-only, and end the turn with that live preview for confirmation
   (`../ha-nova/confirmation.md` → Active Preview Confirmation;
   `../ha-nova/live-schema-preflight.md`). On cancel or expiry, abandon
   the transient flow without submitting (DELETE the `flow_id`).
5. Start the flow:
   ```text
   ha-nova relay core --method POST --path /api/config/config_entries/flow --body-file <start-payload-file>
   ```
   `<start-payload-file>` must contain the handler-start body only.
6. Read the start response and extract `flow_id` before continuing.
   - persist it in a variable or note file
   - fail loud if the start response did not return `flow_id`
7. Iterate the flow until terminal success:
   - if the current response is a menu step, submit only the selected `next_step_id`
   - if that menu step leads to an unobserved `group` or `template` subtype form, stop and preview the live subtype fields before the terminal submit
   - after that live subtype preview, end the turn for a second natural confirmation before sending the terminal subtype-specific payload
   - if the current response is a form step, compare its live `data_schema` against the confirmed draft BEFORE submitting: identical fields → the confirmation carries and the submit contains those fields only — but ONLY for steps the confirmed preview actually displayed live; a LATER form the preview never showed (multi-step `statistics`/`history_stats`) re-previews from its live schema and re-confirms even when it matches the observed draft. ANY divergence (fields, defaults, enum options, `visible` conditions, extra/reordered steps) → stop, re-preview from the live form, and re-confirm — a live form never silently narrows or widens the confirmed payload (`../ha-nova/live-schema-preflight.md`)
   - the submit body for a form step must contain form fields only
   - if a required field is still unresolved and there is no safe value, stop and ask one blocking question
   - if HA returns a form with validation errors, fail loud instead of guessing
   - never use `--jq` on a submit: the terminal one carries `verification`
8. Verify at the config-entry layer first: the terminal submit's output carries the CLI's `verification`. The CLI re-read the entry by the terminal `entry_id` (built-in integration, `loaded`), its `linked_entities`, and, when it supports options, its `options` (suggested values, `null` when none) from an options flow it aborted unsubmitted.
   - `passed: true` → report from it; linked entities are secondary evidence only
   - `passed: false` → the helper may exist but is unverified: say so with its `problem`
   - no `verification` → the CLI is older than this skill: say the create is unverified and HA NOVA needs an update
   - never re-run the flow or its submit
9. Run the whole post-write review before any result (`statistics`/`history_stats`: the state-attribute read).

#### Updating a helper

1. Resolve the canonical config-entry helper item:
   - `entry_id`
   - `domain`
   - `title`
   - `linked_entities[]`
   - `supports_options`
   - if multiple candidates remain after resolution, stop and ask one blocking question
   - never guess between duplicate titles or ambiguous linked-entity matches
2. If `supports_options` is false for this entry:
   - fail loud with `update unsupported for this helper on this HA version`
   - do not recreate
   - do not guess a direct patch body
3. Start the options flow:
   ```text
   ha-nova relay core --method POST --path /api/config/config_entries/options/flow --body-file <start-payload-file>
   ```
   with `<start-payload-file>` containing `{"handler":"<entry_id>","show_advanced_options":false}`.
4. Read the start response and extract `flow_id` before continuing.
   - if the start response explicitly shows that options editing is unsupported for this entry on this HA version, fail loud with `update unsupported for this helper on this HA version`
   - if the start call fails for another reason, surface that relay/HA error directly instead of relabeling it as unsupported
   - persist it in a variable or note file
   - fail loud if the start response did not return `flow_id`
5. Capture the current editable options snapshot from the returned form:
   - use `description.suggested_value` as the current value source
   - if a requested field is exposed but lacks `description.suggested_value`, fail loud instead of guessing its current value
   - do not submit read-only fields
   - treat the current step as the authoritative mutable field set
6. Build the update body by merging requested changes over the current options snapshot:
   - carry forward unchanged required fields
   - if the user requests a field the current step does not expose, fail loud as unsupported update for that field on this HA version
   - do not silently ignore non-exposed requested fields
   - do not invent values for fields the current step does not expose
   - for `history_stats`, preserve HA's two-key window invariant across `start`, `end`, and `duration`
   - for `history_stats`, if the requested change switches to a different valid window pair, drop the old third key explicitly so the submit body still contains exactly two of `start`, `end`, and `duration`
   - for `template`, when the change touches the `state` template, resolve every entity ID referenced in the NEW template before submitting (entity registry, then `/api/states/<entity_id>` fallback — YAML/manual entities are absent from the registry but valid) — a typo like `is_state('binary_sensor.typo','on')` renders a clean boolean, so the post-write rendered-state read cannot catch it; a reference missing from both is a blocking question, not a submit
7. For a `threshold` helper whose `lower`, `upper`, or `hysteresis` changes against a physical-process sensor — or whose compared `entity_id` is swapped while boundaries stay — run the calibration preflight per `../ha-nova/threshold-calibration.md` first and carry its findings into the preview. Then preview current vs proposed in the Changes slot with `ha-nova diff` (see `../ha-nova/write-safety.md` → Pre-Write Diff) plus the behavior narrative (write-safety → Behavior narrative). Include an explicit not-saved-yet line and the save question.
8. End the turn with this preview; only the user's reply to it confirms (`../ha-nova/confirmation.md` → Active Preview Confirmation).
9. Submit the current step:
   ```text
   ha-nova relay core --method POST --path /api/config/config_entries/options/flow/{flow_id} --body-file <submit-payload-file>
   ```
10. If HA returns another form step, the confirmed preview covered only the forms it displayed live: a later form re-previews from its live `data_schema` and re-confirms before its submit (same rule as creates, `../ha-nova/live-schema-preflight.md`); then repeat the merge-and-submit rule until terminal `create_entry` or explicit failure.
11. Verify success:
   - re-read `config_entries/get`
   - `passed=true` only when the same `entry_id` still exists
   - reopen the options flow, then DELETE it unsubmitted
   - `passed=true` only when the changed fields now appear in `description.suggested_value` as requested
   - if a requested changed field is exposed in the verification step but lacks `description.suggested_value`, fail loud as unverifiable update on this HA version
12. Resolve `linked_entities[]` as secondary evidence only.
13. Run config-entry-family post-write review (see below).

#### Deleting a helper

1. Resolve target to the canonical config-entry helper item:
   - `entry_id`
   - `domain`
   - `title`
   - `linked_entities[]` when available
   - if multiple candidates remain after resolution, stop and ask one blocking question
   - never guess between duplicate titles or ambiguous linked-entity matches
2. Enforce the helper-domain allowlist before any delete:
   - allowed here: `utility_meter`, `derivative`, `integration`, `min_max`, `threshold`, `tod`, `statistics`, `group`, `history_stats`, `template`, `generic_thermostat`, `switch_as_x`, `trend`, `random`, `filter`, `generic_hygrostat`
   - if the resolved `domain` is outside that allowlist, stop
   - do not call `DELETE /api/config/config_entries/entry/{entry_id}` for out-of-scope domains
   - hand off to `ha-nova:fallback` for any other config-entry domain
3. Preview with stable localized slots:
   - title
   - domain
   - linked entities if known
   - `entry_id` only when needed to disambiguate duplicate titles/domains
   - explicit not-deleted-yet line before the one-time code
4. Run a pre-delete dependency check:
   - if linked entities are known, run `search/related` against up to 3 linked entities before confirmation
   - summarize any related automations/scripts in the preview
   - if linked entities are unknown, say that dependency check coverage is limited
5. One `ha-nova plan raw --file <requests.json>` item `{"endpoint":"core","payload":{"method":"DELETE","path":"/api/config/config_entries/entry/{entry_id}"}}`; its `say` asks. This still applies to cleanup and helpers created earlier in the same session. Multi-helper deletes within ONE family follow `../ha-nova/batch-safety.md`; storage and config-entry families never mix. Deleting a helper together with its consumers (cross-family) — and removing a retired device's entities FROM a config-entry group helper as one item of such a cleanup — follows `../ha-nova/grouped-change-set.md` → Cross-Family Destructive Cleanup: one manifest, one code; the group-member removal keeps this skill's own preview, ask, and drift check, and goes first.
6. `ha-nova apply` per its `next_step`.
7. Verify success at the config-entry layer first:
   - re-read `config_entries/get`
   - `passed=true` only when the `entry_id` is absent
8. Entity disappearance is secondary evidence only — do not fail the delete just because registry/state cleanup lags.
9. Run config-entry-family post-write review (see below).

### Post-write review (MANDATORY)

Do NOT report results to user until complete.

#### Storage-based family

1. Apply `../review/checks.md` → Application (storage family: H-01..H-11; H-11 only when a consuming automation/template is in the thread context).
2. Apply H-01..H-08 directly to the written helper config.
3. Only evaluate H-09/H-10 if the collision scan finds a referencing automation/script with a direct helper-backed threshold and you also read live helper state per `../review/checks-extended.md` → Helper Threshold Evidence.
4. Collision scan: `search/related` for the helper entity, max 3 related automations/scripts.

#### Config-entry family

Do not pretend H-01..H-11 apply here; H-12/H-13/H-15 apply where the entry's fields are readable, and H-14 when the energy prefs are already loaded in the thread (see checks.md).
Instead, run the minimal config-entry post-write contract:

1. **Verification**
   - create: config entry now exists and the requested `entry_id`/diff verification passed
   - update: the same `entry_id` still exists and the reopened options-flow snapshot reflects the requested field changes
   - for `template` creates and `state`-changing updates, additionally read the linked entity via `GET /api/states/<entity_id>`. A clean numeric/string render confirms the template works. Treat `unavailable`/`unknown` as INCONCLUSIVE, not proof of breakage — a source entity can be legitimately `unknown`, or the template may intentionally return a sentinel; only call it a template defect when the options-flow template or an HA error proves a failure. Either way the config-entry write itself still counts as passed
   - for `statistics` and `history_stats` writes, also read the linked entity's state attributes and apply `../ha-nova/write-safety.md` → Time-Window Evidence: partial window coverage (`age_coverage_ratio` below 1) or an invalid source is an advisory in the result, never a failed create — and never describe the value as covering the configured window without that coverage evidence
   - delete: config entry is absent
2. **Current editable snapshot**
   - if an options flow is available, summarize only the editable fields exposed by the final current step readback
3. **Linked entities**
   - read linked entities from entity registry when available
   - treat them as secondary evidence only
4. **Collision check**
   - if linked entities were found, run `search/related` against up to 3 linked entities
5. **Advisory**
   - say that storage-helper H-01..H-11 checks do not apply to this family
   - config-entry updates are not auto-revertible (options-flow writes are multi-step); for undo, point the user to Home Assistant Backups

Report only what has substance (same rule as the write flow — see `../write/SKILL.md` Phase 4): keep **Verification** (and the editable snapshot when present), but omit an empty **Collision check** or **Advisory** — never an empty "none" bucket. When the write is clean, the verification plus a single scope-honest confirmation line suffices (`../ha-nova/write-safety.md` → Verification Honesty). Multi-target logical changes: plan first per write-safety → Multi-Target Changes. Non-destructive helper worksets (max 10) may confirm as one grouped change set per `../ha-nova/grouped-change-set.md` — the per-step save questions and confirmations then collapse into the group's single final question.

## Output Format

Apply `../ha-nova/output-rules.md`: plain words, HA names verbatim; unless asked or names clash, no ids, "entity", modes, Relay/HA URLs, snapshots, raw JSON. Write previews, delete prompts, and results render as the Cards defined there (`../ha-nova/output-cards.md`). The bold labels in both read templates below are semantic slots — localize them at runtime, never print them as literal English headings.

### Storage-based family

After reading a helper config, present:

```text
**Helper: {name}** ({type})
- {type-specific fields}
```

For list operations, render the List Frame (output-cards.md):

```text
| Name | Type | Area |
|------|------|------|
```

### Config-entry family

After reading a helper config, present:

```text
**Helper: {title}** ({type})
- **Config-entry state:** {state}
- **Linked entities:** {linked_entities}
- **Supports options-flow editing:** {yes/no}
- **Current editable fields:** {field summary from the current options step when available}
```

For list operations, render the List Frame (output-cards.md; options-flow support and linked entities stay in the per-helper detail read above):

```text
| Title | Type | State |
|-------|------|-------|
```

Never show raw JSON to the user.

## Safety

- Safety Core: before any write, apply `../ha-nova/safety-core.md`; not yet in this conversation → read it first; unreadable or incomplete → stop and write nothing.
- `search/related` verdicts fail closed: verify `ok=true` and `data` is an object before projecting family keys (`../ha-nova/relay-api.md` → Parsing rule); a failed or unexecuted scan is inconclusive — never a no-consumer result.
- `entry_id` is the canonical write identity for the config-entry family
- Destructive cleanup keeps its full confirmation (the plan's `say`), even for helpers created earlier in the same session.
- Declared exception to the Safety Core's delete rule (`../ha-nova/confirmation.md` → Confirmation Tiers): abandoning an unfinished create flow this skill started (cancel or expired confirmation) DELETEs only that ephemeral `flow_id` — transient flow state, never a config entry; the user's cancel is sufficient, and this exception never applies to anything already created.
- Every write MUST end with the Post-Write Review slot; use terminal-friendly labels where Markdown headings add noise.

## Guardrails

- Limit list results to 30
- Max 5 candidates on ambiguity
- Max 3 related configs in collision scan
- Never use raw `get_states`
- For config-entry helpers, success/failure is config-entry-first, not entity-first

## References

- Relay API: `../ha-nova/relay-api.md`
- Storage helper schemas: `../ha-nova/helper-schemas.md`
- Config-entry helper schemas: `../ha-nova/helper-flow-schemas.md`
- Review Checks: `../review/checks.md` (self-contained catalog + Application)
- On demand: `../ha-nova/update-revert.md` — when the user asks to revert, undo, or restore a verified update
- On demand: `../ha-nova/config-snapshots.md` — capturing the pre-delete snapshot, or restoring from a config snapshot

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.