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-diagnostics-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-diagnostics-augment)<a href="https://agentmods.dev/skills/nolte/claude-home-assistant/ha-diagnostics-augment"><img src="https://agentmods.dev/badge/skills/nolte/claude-home-assistant/ha-diagnostics-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-diagnostics-augment"><img src="https://agentmods.dev/badge/skills/nolte/claude-home-assistant/ha-diagnostics-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.00199 | $0.02039 |
| Opus 5.5 | $0.00080 | $0.00816 |
| Sonnet 5.5 | $0.00040 | $0.00408 |
| Haiku 4.5 | $0.00020 | $0.00204 |
Grade A, and why
ha-diagnostics-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 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 — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
HA Diagnostics Augment
Spec: spec/claude/ha-diagnostics-augment/en.md (EN canonical) / spec/claude/ha-diagnostics-augment/de.md (DE translation).
Why this is a skill, not an agent
- Human-visible augmentation surface — the user describes the integration and reads back
diagnostics.py, theTO_REDACTset, and the conformance report; a skill keeps this on the visible command surface, like the sibling augment skills (ha-config-flow-augment,ha-coordinator-add,ha-repairs-add,ha-device-automation-add). - Mid-flow interactivity — the redaction-key classification (which
entry.datafields are credentials/identifiers/coordinates) is a per-run dialogue the user confirms before generation. - Bounded, inline generation — one module plus its
TO_REDACTset and the dump structure fit inline; no isolated agent context is needed. - Counter-dimension considered: the derive→validate loop could be an agent, but the redaction-key classification belongs in the user's working context; skill wins.
When this skill activates
Use this skill to enrich an existing integration's diagnostics beyond the scaffold baseline — a complete, structured async_get_config_entry_diagnostics dump (and optionally async_get_device_diagnostics) that routes every sensitive field through async_redact_data and includes redacted coordinator snapshots.
When NOT to activate
- auditing redaction gaps across modules (findings report) →
ha-security-audit - the bare diagnostics stub at greenfield creation →
ha-integration-scaffold - scoring the diagnostics quality-scale rule across all rules →
ha-quality-scale-audit/ha/quality-scale - deploying/importing into a running HA instance → out of scope
Hard rules
- Existing integration only.
custom_components/<domain>/manifest.jsonmust exist. Whendiagnostics.pyalready exists, edit it — never blindly overwrite. - Read
spec/ha/diagnostics/en.mdfirst. Do not generate from memory. async_get_config_entry_diagnosticscontract. Exportasync_get_config_entry_diagnostics(hass, entry) -> dictas a top-level async function — HA invokes it automatically on "Download Diagnostics". Optionally exportasync_get_device_diagnostics(hass, entry, device) -> dictwith the same redaction contract.async_redact_datais mandatory. Wrap everyentry.dataandentry.optionslookup — and every coordinator nesting that carries sensitive fields — inhomeassistant.components.diagnostics.async_redact_data(..., TO_REDACT). Never use manual logic (if "api_key" in d: d["api_key"] = "***"), a manual"REDACTED"string, or field deletion (del d["api_key"]);**REDACTED**preserves length/format debugging and is the HA convention.- Module-constant
TO_REDACTfrozenset. DefineTO_REDACTas a module constant (or inconst.pywhen shared across hooks) holding everyentry.datakey classified as a credential or identifier — typicallyapi_key,password,token,secret,auth,bearer, plus integration-specific tenant/account slugs. Keep it in sync with theentry.dataschema. - Identifiers and coordinates too. Include multi-tenant identifiers (
tenant_slug,tenant_id,org_id) and coordinates (latitude,longitude) inTO_REDACT— identifying, therefore kept out of forum reports. - Coordinator data in the dump. Include the current
coordinator.dataof every registered coordinator and redact it when the API response carries sensitive fields; reduce to a subset only when the full dump would be too large. Never dump logs or stack traces. - Derive, don't guess. Derive the
entry.data/entry.optionskey space from the config flow and setup; ask when uncertain. - Name per
spec/ha/naming-conventions/en.mdand verify HA internals against the official docs (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.
- 1mo ago First seen · 108 lines · 199 tokens per session scan A 76c3a7937b39
ha-diagnostics-augment is a skill published in the GitHub repository nolte/claude-home-assistant (1 stars, last pushed 1mo ago), licensed MIT. It adds 199 tokens to every session and 2,039 once invoked, about $0.0008 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-08-31.
Other skills, from other repositories
oracle
Oracle second-model review: bundle prompts/files, debug, refactor, design.
skill-repair
Diagnose and fix failing or degraded skills automatically - systemic-first triage, per-category playbooks, and a verification plan.
self-improve
Improve the agent itself, or audit its recent performance - better skills, prompts, workflows, and config, plus a quality/reliability/memory-hygiene review of what it did and what failed.
technical-troubleshooting
Provide setup, troubleshooting, and maintenance guidance. Use when the user reports a device that won't power on, connectivity issues, setup questions, overheating, or maintenance concerns.
meraki-monitoring
Cisco Meraki monitoring and diagnostics (read-only) — device availability, loss and latency history, uplink status, live tool results, configuration change log, API request analytics via Cisco's official Meraki MCP. Use when checking Meraki device health, investigating uplink loss, or reviewing recent configuration…
posthog-errors
Weekly cross-project error overview from PostHog - enumerates every project the OAuth grant covers, pulls the last 7 days of error-tracking issues per project, ranks them by impact, flags what's new vs ongoing, and sends one digest with per-project totals, the top issues, and a clickable link to a full committed…