/ha-nova:backupfrom ha-nova
Manages Home Assistant backups via HA NOVA Relay: check status, create backups (including safety backups before risky changes), inspect or delete backups, and configure automatic-backup schedule, retention, and locations.
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.
None: SKILL.md is the whole skill.
Backup lifecycle:
Not in scope:
Read and follow ../ha-nova/session-bootstrap.md.
File-based WS requests: ha-nova relay ws --data-file <payload-file> --out <result-file>; delete and settings: ha-nova plan raw items.
WS response body: .data (../ha-nova/relay-api.md → Standard Envelope).
{"type":"backup/info"} → report from .data:
backups (count, newest date, sizes via agents), state (idle or in progress). Distinguish full backups (homeassistant_included) from partial App backups and automatic (with_automatic_settings) from manual; when the newest backup is partial, also report the newest FULL backuplast_completed_automatic_backup, next_automatic_backup — say plainly when automatic backups are NOT configured (next is null)agent_errors: name each failing location as backup/agents/info names it (a failing backup location is silent data-loss risk)state is not idle, a backup is already running — poll instead of starting another.../ha-nova/confirmation.md → Active Preview Confirmation).{"type":"backup/generate_with_automatic_settings"}.{"type":"backup/generate","name":"<name>","agent_ids":["<local-agent>"],"include_homeassistant":true,"include_database":true}:
{"type":"backup/agents/info"}: Supervised installs register hassio.local, Core installs backup.local — never hardcode"include_all_addons":true ONLY for hassio.local (Core rejects App options)backup/info every ~10 s until state returns to idle and a new backup appears in backups; then check the new backup's failed_agent_ids, failed_addons, and failed_folders: if any is non-empty, report partial success, never plain success. Otherwise report name, date, size, and locations by name (backup/agents/info).last_action_event/no new backup), report the failure — never claim success from initiation alone.Proportionality (../ha-nova/recovery-coverage.md):
{"type":"backup/config/info"} reads them; no saved key (create_backup.password empty) → first setup in the HA UI. One backup/config/update item, only changed keys, via ha-nova plan raw → ha-nova apply. schedule (recurrence never/daily/custom_days, days, time), retention, and agents.<id>.retention (copies, days) replace whole: send every field from the read. create_backup (agent_ids, include_database, include_folders, include_all_addons, include_addons, name) merges; name locations via backup/agents/info. A retention takes the person's own confirmation: it deletes older automatic backups. Verify by re-reading.
{"type":"backup/details","backup_id":"<id>"} → what is included (Home Assistant, database, Apps, folders), which locations hold it, protected (encrypted) or not.
state: idle first (one backup operation at a time). Resolve the exact backup_id from Status; show name, date, and locations in the preview — deletion removes it from ALL listed locations, irreversibly.ha-nova plan raw --file <requests.json> item {"endpoint":"ws","payload":{"type":"backup/delete","backup_id":"<id>"}}; its say asks.ha-nova apply per its next_step; verify via Status that the backup is gone.generate_with_automatic_settings failing on an instance without automatic settings: expected — use the explicit fallback (Create step 4), and suggest configuring automatic backups in the HA UI.state still in progress after ~5 minutes: the backup may be large — do not fire a second generate; say it continues in the background and how to check later.backup_id on details/delete: re-run Status — backups can be pruned by retention settings between reads.../ha-nova/relay-api.md → Error Handling.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. Previews, deletes, and results use the Cards defined there (../ha-nova/output-cards.md).
Backups / StatusPlanned changeSave status / Delete status before confirmationOptions / one-time-code promptVerificationNext stepUse stable localized slot labels in this order; omit empty slots. Status renders the Report shape; backup lists render the List Frame (output-cards.md). ISO dates in the user's local time; sizes human-readable.
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.
Drafts follow ../ha-nova/smallest-solution.md: the complete requested outcome in the simplest safe design, nothing speculative.
The CLI decides how each change is confirmed; relay its say (delete and retention ask the person).
Restore is never executed here — it reboots the system; always route to the HA UI.
A backup is only real once it appears completed in Status — initiation is not success.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
35 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`./calendarnpx claudepluginhub markusleben/ha-nova --plugin ha-novaOther plugins' skills for the same job