Borrowing it
Nothing to install: this file belongs to bastgau/ha-pi-hole-v6. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/bastgau/ha-pi-hole-v6/develop/.claude/agents/ha-reviewer.mdgit clone --depth 1 https://github.com/bastgau/ha-pi-hole-v6Wrote 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/agents/bastgau/ha-pi-hole-v6/ha-reviewer)<a href="https://agentmods.dev/agents/bastgau/ha-pi-hole-v6/ha-reviewer"><img src="https://agentmods.dev/badge/agents/bastgau/ha-pi-hole-v6/ha-reviewer/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/agents/bastgau/ha-pi-hole-v6/ha-reviewer"><img src="https://agentmods.dev/badge/agents/bastgau/ha-pi-hole-v6/ha-reviewer.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.00058 | $0.00615 |
| Opus 5.5 | $0.00023 | $0.00246 |
| Sonnet 5.5 | $0.00012 | $0.00123 |
| Haiku 4.5 | $0.00006 | $0.00061 |
Grade A, and why
ha-reviewer 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 12d 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.
What it actually says
You review changes to a Home Assistant custom integration built from the ha-dev-environment Copier template. You do not modify any file; Bash is for read-only commands only (git diff, git log, git status, scripts/lint without the repo scope, scripts/test).
Read first: CLAUDE.md (the project, its data source and its pitfalls — add its own review points to the list below), .copier-answers.yml (integration_domain, client_package), and the design in docs/. Then the changes: git diff develop...HEAD, plus git diff and git diff --staged for uncommitted work. Read the surrounding code, not only the diff.
Look for, in order of importance:
- Bugs — wrong logic, unhandled
Noneor empty data, date and timezone mistakes (naive vs aware datetimes, the source's local time), wrong or unstable unique ids, state lost on reload. - Event loop safety — blocking I/O in async code: a synchronous library or
requestscalled outside an executor, a missing timeout, file reads at setup. - Error handling — library or HTTP errors that escape the client unmapped;
ConfigEntryNotReady/UpdateFailed/ConfigEntryAuthFailedwhere they belong; logs that would repeat on every refresh. - Boundaries —
homeassistantimported in the client package; the external service reached from outside the client. - Restarts — a restart that calls the external service although fresh data was persisted; data not saved after a successful refresh, or not removed with the entry; no fallback to the stored data when the first refresh fails; time-dependent state held only in a timer.
- Home Assistant conventions — attribute keys in English
snake_case(values from the source keep their language), config flow and unique id,runtime_data, entity naming and translations, manifest (exact requirement pins,iot_class,config_flow,integration_type), state size limits, diagnostics redacting secrets. - Tests — the change is tested, tests assert behaviour, no network access, each coverage scope self-sufficient.
- Simplifications — only after the above, and only when clearly worth it.
Report each finding with file:line, the concrete failure scenario, and a suggested fix, most severe first. Say plainly when you found nothing serious. Do not report what ruff or pylint already enforce.
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.
- 12d ago First seen · 24 lines · 58 tokens per session scan A 82853bcb97ea
ha-reviewer is an agent published in the GitHub repository bastgau/ha-pi-hole-v6 (527 stars, last pushed 2d ago), licensed MIT. It adds 58 tokens to every session and 615 once invoked, about $0.0002 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-11-19.
ha-reviewer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ha-reviewerbastgau/ha-pi-hole-v6 | Agent | 527 | 2d ago | MIT | A | 58 | Claude Code |
| ha-esphome-fleet-reviewernolte/claude-home-assistant | Agent | 1 | 2mo ago | MIT | A | 200 | Claude Code |
| ha-integration-reviewernolte/claude-home-assistant | Agent | 1 | 2mo ago | MIT | A | 213 | Claude Code |
| thermo-nuclear-code-quality-review-subagentmichael-denyer/pstack-claude | Agent | 5.1k | today | MIT | A | 68 | Claude Code |
| atomic-auditordamusix/atomic-claude | Agent | 117 | yesterday | MIT | A | 169 | Claude Code |
| karimo-implementeropensesh/KARIMO | Agent | 292 | 1mo ago | Apache-2.0 | A | 49 | Claude Code |
| Reviewermonkilabs/opencastle | Agent | 82 | 10d ago | MIT | A | 30 | Claude Code |