Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add nolte/claude-home-assistant --skill ha-test-harness-augmentgit clone --depth 1 https://github.com/nolte/claude-home-assistantWrote 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/nolte/claude-home-assistant/ha-test-harness-augment)<a href="https://agentmods.dev/skills/nolte/claude-home-assistant/ha-test-harness-augment"><img src="https://agentmods.dev/badge/skills/nolte/claude-home-assistant/ha-test-harness-augment/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/nolte/claude-home-assistant/ha-test-harness-augment"><img src="https://agentmods.dev/badge/skills/nolte/claude-home-assistant/ha-test-harness-augment.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.00110 | $0.01389 |
| Opus 5.5 | $0.00044 | $0.00556 |
| Sonnet 5.5 | $0.00022 | $0.00278 |
| Haiku 4.5 | $0.00011 | $0.00139 |
Grade A, and why
ha-test-harness-augment 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 2mo 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 — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
HA Test Harness Augment
Spec: spec/claude/ha-test-harness-augment/en.md (EN canonical) / spec/claude/ha-test-harness-augment/de.md (DE translation).
Why this is a skill, not an agent
- Run-and-fix loop in the main thread (decisive): added tests are executed and repaired iteratively against the live suite; that loop needs the conversation's context of what just changed and why.
- Mid-flow approval: which secondary path to cover and which snapshot shape to freeze is agreed with the operator first.
- Counter-dimension considered: test generation for one path is a bounded unit (agent bias), but a fire-and-forget agent returning a red suite would push the debugging back into the main thread anyway — keeping the loop here is cheaper.
When this skill activates
Use this skill to augment the test suite of an existing HA Custom Integration with one secondary test class per call.
When NOT to activate
- end-to-end tests against a real HA instance → separate spec (planned)
- refactoring existing tests → manual code edit
- coverage-threshold enforcement → CI configuration
Hard rules
- Never overwrite or delete existing tests. Augment is additive only.
- Never address real backends or real HA instances. Mocks (
mock_api) and fixtures (load_fixture) only. - Never include generic
except Exception:. Catch only specific known errors. - Always extend conftest.py rather than create parallel fixtures. Reuse existing fixture names; add new ones only when none fits.
- Always run the coverage-report command after augment. Skill output names the new coverage delta.
- Verify HA internals against the official docs. Don't reproduce HA API signatures, lifecycle hooks, conventions, or schemas from memory — when uncertain, consult the official docs before generating or relying on it: Developer docs
developers.home-assistant, architecture/blueprint/YAML docshome-assistant.io(seespec/ha/upstream-docs-verification/en.md).
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.
- 2mo ago First seen · 102 lines · 110 tokens per session scan A d90a0beaeb26
ha-test-harness-augment is a skill published in the GitHub repository nolte/claude-home-assistant (1 stars, last pushed 2mo ago), licensed MIT. It adds 110 tokens to every session and 1,389 once invoked, about $0.0004 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-09-15.
ha-test-harness-augment compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ha-test-harness-augmentnolte/claude-home-assistant | Skill | 1 | 2mo ago | MIT | A | 110 | Claude Code |
| generate-testsFlorianBruniaux/claude-code-plugins | Skill | 47 | yesterday | MIT | A | 39 | Claude Code |
| unit-testjohnqtcg/awesome-skills | Skill | 31 | 1mo ago | MIT | A | 100 | Claude Code |
| fuzzing-testjohnqtcg/awesome-skills | Skill | 31 | 1mo ago | MIT | A | 74 | Claude Code |
| python-testing-patternsFluxonLab/Skillry | Skill | 13 | 3d ago | none | A | 38 | Claude Code, Codex |
| temporal-python-testingFluxonLab/Skillry | Skill | 13 | 3d ago | none | A | 45 | Claude Code, Codex |
| migrate-to-shoehornstevesolun/ctx | Skill | 593 | 1mo ago | MIT | A | 48 | Claude Code, Codex |