ha-apply-update

ha-apply-update is a skill for Claude Code from gtapps/hermitd. It costs 58 tokens per session (897 once invoked), scanned A, a copy of ha-apply-update, MIT.

A Home Assistant update applicator for approved update proposals. Home Assistant is software for controlling smart-home devices and services.

In plain words
What is it for?
It is for applying approved updates to Home Assistant Core, OS, Supervisor, add-ons, or HACS components according to configured policy.
Why use it?
It prevents updates from being installed without the required operator approval and applies different backup rules to each update tier.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the hermitd-homeassistant plugin — 17 skills, 3 agents shipped together

Good fit It is for applying approved updates to Home Assistant Core, OS, Supervisor, add-ons, or HACS components according to configured policy.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add gtapps/hermitd
Claude Code
/plugin install hermitd-homeassistant

Made for: Claude Code.

Or install hermitd-homeassistant, the plugin that ships this one along with the rest of its 17 skills, 3 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-apply-update

README.md
[![agentmods](https://agentmods.dev/badge/skills/gtapps/hermitd/ha-apply-update/github.svg)](https://agentmods.dev/skills/gtapps/hermitd/ha-apply-update)
Your own site
<a href="https://agentmods.dev/skills/gtapps/hermitd/ha-apply-update"><img src="https://agentmods.dev/badge/skills/gtapps/hermitd/ha-apply-update/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-apply-update

Your own site · 80×15
<a href="https://agentmods.dev/skills/gtapps/hermitd/ha-apply-update"><img src="https://agentmods.dev/badge/skills/gtapps/hermitd/ha-apply-update.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 897 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 88% copy Near-identical to another mod 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.00058 $0.00897
Opus 5.5 $0.00023 $0.00359
Sonnet 5.5 $0.00012 $0.00179
Haiku 4.5 $0.00006 $0.00090

Measured 21d ago against content hash 3c34fad8befe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ha-apply-update 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 21d 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.

Origin

This is a copy

88% identical to ha-apply-update — 17 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/hermitd-homeassistant/skills/ha-apply-update/SKILL.md · 40 lines

How it starts

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

Apply HA Update

When this runs

Invoked by the proposal task apply procedure after admin consent for a [ha-update] proposal (originated by /hermitd-homeassistant:ha-update-check). The proposal body carries the entity_id, tier (core/os/supervisor/addon/hacs), and target version.

Steps

  1. Read the flag: check ha_update_auto_apply in .hermit/config.json.

    • Absent or false: this is advisory-only. Tell the operator the update is available in Settings → System → Updates in the HA UI. Do not call update.install. Attach a read-only check to the proposal task and stop:
      • Individual update (substitute its literal entity id):
        printf 'Waiting for the operator to update in Home Assistant.\n' | .hermit/bin/hermitd-run task note .hermit <task-id> --check 'out=$(ha-agent-lab ha updates) && [[ $out == *\"hacs_pending\"* && $out != *\"<entity_id>\"* ]]'
        
      • Aggregated HACS proposal:
        printf 'Waiting for the operator to update HACS in Home Assistant.\n' | .hermit/bin/hermitd-run task note .hermit <task-id> --check 'out=$(ha-agent-lab ha updates) && [[ $out == *\"hacs_pending\":0[,}]* ]]'
        
      The check closes the task once HA no longer lists the update. It stays failing while HA is unreachable or skipped, or the binary is missing.
    • true: show the entity and target version, then continue.
  2. Branch on tier (from the proposal body). The addon vs hacs split is defined by the native backup capability: ha-update-check tiers an entity addon precisely when it advertises HA's BACKUP update feature, so backup:true is always valid for an addon proposal, and a hacs entity is one that can't back itself up (hence the separate full-backup step).

    • addon: ${CLAUDE_PLUGIN_ROOT}/bin/ha-agent-lab ha call-service update.install --data '{"entity_id":"<entity_id>","backup":true}'. HA backs up the add-on natively and rolls back on install failure. Report the result to the operator once done.
    • hacs (an individual HACS entity accepted out of an aggregated proposal; HACS entities don't support the native backup parameter): first ${CLAUDE_PLUGIN_ROOT}/bin/ha-agent-lab ha create-backup --agent-ids <configured agent>. If the backup call is blocked or fails, stop and stay advisory; tell the operator why. Only on a successful backup: ha call-service update.install --data '{"entity_id":"<entity_id>"}'.
    • core / os / supervisor: never auto-apply, even with the flag on. Show the tier, installed/available versions, and dashboard-access impact. Run: ha call-service update.install --data '{"entity_id":"<entity_id>","backup":true}'.

Read the full file on GitHub · 40 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. 21d ago Changed · +9 lines 3c34fad8befe
  2. 22d ago Changed 697be38902a7
  3. 1mo ago Changed 6069c6ac1909
  4. 1mo ago First seen · 31 lines · 58 tokens per session scan A 23b28189359b

Subscribe to this mod's changes

ha-apply-update is a skill published in the GitHub repository gtapps/hermitd (87 stars, last pushed today), licensed MIT. It adds 58 tokens to every session and 897 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to ha-apply-update, differing in 17 lines, and is treated as a copy.

Related

ha-apply-update compared with skills from other repositories

ha-apply-update next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ha-apply-updategtapps/hermitdSkill87todayMITA58Claude Code
volt-otatonone-ai/tononeSkill842d agoMITA70Claude Code
volt-firmwaretonone-ai/tononeSkill842d agoMITA76Claude Code
volt-powertonone-ai/tononeSkill842d agoMITA65Claude Code
volt-drivertonone-ai/tononeSkill842d agoMITA63Claude Code
volt-recontonone-ai/tononeSkill842d agoMITA52Claude Code
ha-house-statusgtapps/claude-code-hermitSkill87yesterdayMITA37Claude Code