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.
/plugin marketplace add gtapps/hermitd/plugin install hermitd-homeassistantWrote 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.
[](https://agentmods.dev/skills/gtapps/hermitd/ha-automation-diff)<a href="https://agentmods.dev/skills/gtapps/hermitd/ha-automation-diff"><img src="https://agentmods.dev/badge/skills/gtapps/hermitd/ha-automation-diff/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.
<a href="https://agentmods.dev/skills/gtapps/hermitd/ha-automation-diff"><img src="https://agentmods.dev/badge/skills/gtapps/hermitd/ha-automation-diff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00066 | $0.00639 |
| Opus 5.5 | $0.00026 | $0.00256 |
| Sonnet 5.5 | $0.00013 | $0.00128 |
| Haiku 4.5 | $0.00007 | $0.00064 |
Grade A, and why
ha-automation-diff 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 1mo 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.
This is a copy
94% identical to ha-automation-diff — 12 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.
How it starts
The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.
HA Automation Diff
Purpose
ha-safety-audit catches POLICY drift at a point in time. This skill catches CHANGE drift: which automations were added, removed, edited, enabled, or disabled since the last snapshot — including edits made directly in the HA UI that bypass ha-build-automation. It gives the hermit a memory of "what moved" between sessions, which is what explains regressions and keeps the estate legible.
It is read-only against Home Assistant: it enumerates automations, hashes each stored config, and diffs against the previous snapshot.
Steps
- Run
${CLAUDE_PLUGIN_ROOT}/bin/ha-agent-lab ha automation-diff. - The command writes a JSON snapshot to
.hermit/raw/snapshot-ha-automations-latest.json(the baseline for the next run) and a markdown findings artifact under.hermit/raw/audit-ha-automation-diff-*, and prints one JSON object:date,tracked,changes(eachchange,name,id, in display order) and theuntrackedcount, or{"status":"baseline","reason":"no_prior_snapshot","date","tracked"}on the first run. - Render the findings block below from it.
Output contract
One line per changes entry; leave out the Untracked line when untracked is 0:
ha-automation-diff findings — YYYY-MM-DD
Changes since last snapshot: K
- added: <name> (`<id>`)
- removed: <name> (`<id>`)
- edited: <name> (`<id>`)
- disabled: <name> (`<id>`)
- enabled: <name> (`<id>`)
Untracked (YAML-packaged, config not diffable): M
First run (status is baseline): Baseline established. (<tracked> automations tracked) under the header.
No changes (changes is empty): No changes since last snapshot. (<tracked> automations tracked) in place of the Changes since last snapshot and change lines.
Failure modes
- HA unreachable or erroring: the CLI prints
{"error":"ha_unreachable:<detail>"}or{"error":"ha_http_<status>:<detail>"}and exits 1. Treat either as "skipped, cannot diff"; do not retry automatically. - YAML-packaged automations have no numeric id and are not REST-retrievable, so their config is not diffable. They are counted under "Untracked" rather than silently dropped — the diff is honest about what it does not cover.
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.
- 1mo ago Changed · +2 lines 7030f996fb8f
- 1mo ago First seen · 44 lines · 66 tokens per session scan A 7a0996522900
ha-automation-diff is a skill published in the GitHub repository gtapps/hermitd (87 stars, last pushed today), licensed MIT. It adds 66 tokens to every session and 639 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to ha-automation-diff, differing in 12 lines, and is treated as a copy.
ha-automation-diff compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ha-automation-diffgtapps/hermitd | Skill | 87 | today | MIT | A | 66 | Claude Code |
| volt-otatonone-ai/tonone | Skill | 84 | 2d ago | MIT | A | 70 | Claude Code |
| volt-firmwaretonone-ai/tonone | Skill | 84 | 2d ago | MIT | A | 76 | Claude Code |
| windows-ops0xDarkMatter/claude-mods | Skill | 86 | 6d ago | MIT | A | 217 | Claude Code |
| vigil-instrumenttonone-ai/tonone | Skill | 84 | 2d ago | MIT | A | 61 | Claude Code |
| touch-audittonone-ai/tonone | Skill | 84 | 2d ago | MIT | A | 47 | Claude Code |
| prism-audittonone-ai/tonone | Skill | 84 | 2d ago | MIT | A | 42 | Claude Code |