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-safety-audit)<a href="https://agentmods.dev/skills/gtapps/hermitd/ha-safety-audit"><img src="https://agentmods.dev/badge/skills/gtapps/hermitd/ha-safety-audit/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-safety-audit"><img src="https://agentmods.dev/badge/skills/gtapps/hermitd/ha-safety-audit.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.00069 | $0.00675 |
| Opus 5.5 | $0.00028 | $0.00270 |
| Sonnet 5.5 | $0.00014 | $0.00135 |
| Haiku 4.5 | $0.00007 | $0.00068 |
Grade A, and why
ha-safety-audit 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.
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 Safety Audit
Purpose
The plugin's safety gate only runs when automations are built through ha-build-automation. Automations and scripts added directly via the HA UI bypass it. This skill re-audits every live automation and script against the current safety policy and surfaces violations so the operator can review them.
Violations listed in .hermit/compiled/acknowledged-violations.md (under automation_ids or script_ids) are suppressed from the actionable findings and reported separately as acknowledged.
Steps
- Run
${CLAUDE_PLUGIN_ROOT}/bin/ha-agent-lab ha audit-automations. - Run
${CLAUDE_PLUGIN_ROOT}/bin/ha-agent-lab ha audit-scripts. - Each command writes JSON + markdown artifacts under
.hermit/raw/audit-ha-safety-*and.hermit/raw/audit-ha-script-safety-*and prints one JSON object:date,domain,scanned,passed,violations(eachalias,id,reasons), and the countsacknowledged,unmanagedandfetch_failures. - Render one block per command as below and join the two with a blank separator line. reflect --check-id ha-safety-audit --check hermitd-homeassistant:ha-safety-audit consumes the result as the scheduled check output.
Output contract
Render each command's block in this shape, one violation line per entry with its reasons joined by ; :
ha-safety-audit findings — YYYY-MM-DD
Policy violations: N
- <alias> (`<id>`): <reasons>
No action needed: M automations passed
Acknowledged (suppressed): K
Skipped (no numeric id): U
Skipped (404 on config fetch): F
Scripts use ha-script-safety-audit findings — YYYY-MM-DD as the first line and scripts in place of automations. Leave out a count line whose count is 0.
If violations is empty, the Policy violations, violation and No action needed lines become one: No actionable findings. (<scanned> automations scanned) or No actionable findings. (<scanned> scripts scanned).
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 audit" in reflect --check-id ha-safety-audit --check hermitd-homeassistant:ha-safety-audit context; do not retry automatically. - No automations or scripts configured →
No actionable findings. (0 automations/scripts scanned)— not an error.
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 e80849f9aa9a
- 1mo ago First seen · 44 lines · 69 tokens per session scan A 6f813dbf3b26
ha-safety-audit is a skill published in the GitHub repository gtapps/hermitd (87 stars, last pushed today), licensed MIT. It adds 69 tokens to every session and 675 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.
ha-safety-audit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ha-safety-auditgtapps/hermitd | Skill | 87 | today | MIT | A | 69 | 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 |
| volt-powertonone-ai/tonone | Skill | 84 | 2d ago | MIT | A | 65 | Claude Code |
| volt-drivertonone-ai/tonone | Skill | 84 | 2d ago | MIT | A | 63 | Claude Code |
| volt-recontonone-ai/tonone | Skill | 84 | 2d ago | MIT | A | 52 | Claude Code |
| ha-house-statusgtapps/claude-code-hermit | Skill | 87 | yesterday | MIT | A | 37 | Claude Code |