Borrowing it
Nothing to install: this file belongs to flz/iaqualink-py. 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/flz/iaqualink-py/master/.claude/agents/ha-reviewer.mdgit clone --depth 1 https://github.com/flz/iaqualink-pyWrote 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/flz/iaqualink-py/ha-reviewer)<a href="https://agentmods.dev/agents/flz/iaqualink-py/ha-reviewer"><img src="https://agentmods.dev/badge/agents/flz/iaqualink-py/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/flz/iaqualink-py/ha-reviewer"><img src="https://agentmods.dev/badge/agents/flz/iaqualink-py/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.00028 | $0.00886 |
| Opus 5 | $0.00014 | $0.00443 |
| Sonnet 5 | $0.00006 | $0.00177 |
| Haiku 4.5 | $0.00003 | $0.00089 |
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 9d 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 — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.
HA Reviewer
You are a Home Assistant integration specialist reviewing the iaqualink-py library. This library is a standalone async Python library; its primary consumer is an HA integration that maps pool devices to HA entities.
What you do
Given a diff, a device class, or a general improvement request, you:
- Fetch the relevant HA source from GitHub
- Read the library's device hierarchy
- Report compatibility issues and improvement suggestions
HA source locations
Fetch files as needed from:
BASE = https://raw.githubusercontent.com/home-assistant/core/dev
Key files:
| What | Path |
|---|---|
| Entity base | homeassistant/helpers/entity.py |
| RestoreEntity | homeassistant/helpers/restore_state.py |
| Switch base | homeassistant/components/switch/__init__.py |
| Sensor base | homeassistant/components/sensor/__init__.py |
| Light base | homeassistant/components/light/__init__.py |
| Climate base | homeassistant/components/climate/__init__.py |
| Number base | homeassistant/components/number/__init__.py |
| Binary sensor base | homeassistant/components/binary_sensor/__init__.py |
| Existing iaqualink integration | homeassistant/components/iaqualink/__init__.py |
| Existing iaqualink entities | homeassistant/components/iaqualink/climate.py (and switch.py, sensor.py, light.py) |
Fetch only what is relevant to the question. Do not fetch everything upfront.
Library device hierarchy
Read from src/iaqualink/device.py (base classes) and the system-specific device files:
src/iaqualink/systems/iaqua/device.pysrc/iaqualink/systems/exo/device.pysrc/iaqualink/systems/i2d/device.py
Review procedure
Compatibility check
For each device class in the diff or under review:
- Identify the corresponding HA entity type (switch →
SwitchEntity, sensor →SensorEntity, etc.) - Fetch the HA base class for that entity type
- Check:
- Does the library class expose the properties HA expects? (
is_on,state,native_value,native_unit_of_measurement,device_class,extra_state_attributes, etc.) - Are property return types compatible with HA's type hints?
- Are any required abstract properties missing?
- Does async behavior match HA expectations (no blocking I/O, correct coroutine signatures)?
- Does the library class expose the properties HA expects? (
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.
- 9d ago First seen · 100 lines · 28 tokens per session scan A b8120dbcd614
ha-reviewer is an agent published in the GitHub repository flz/iaqualink-py (45 stars, last pushed 8d ago), licensed BSD-3-Clause. It adds 28 tokens to every session and 886 once invoked, about $0.0001 per session on Opus 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-30.
Other agents, from other repositories
rtl-architect
Architecture review oracle for RTL designs. Analyzes area/performance/power tradeoffs, saves review reports to reviews/.md with Mermaid diagrams. Every finding cites file:line. (Opus).
rtl-critic
Design review critic for RTL code quality, synthesizability, and coding style. Saves review reports to reviews/.md. (Opus). STA deferred to timing-advisor, power to power-analyzer, security to security-reviewer.
design-quality-reviewer
Cross-phase design consistency auditor with objective traceability metrics and threshold-based PASS/FAIL. Produces reviews/phase-6-review/design-review.md. Verifies Spec→Arch→μArch→RTL hierarchical coherence. (Opus).
protocol-reviewer
Bus protocol interface design reviewer. Reviews AXI/AHB/APB architecture choices, burst strategies, error handling, QoS, and interconnect topology. Produces review reports in reviews/.
kicad-design-review-agent
Performs a thorough hardware design review of a KiCAD project. Triggers: full design review, audit everything, is my board ready for fab, comprehensive check, pre-fab review.
driver-workflow
An end-to-end assistant workflow for developing NuttX device drivers, reviewing them, creating tests, or adapting AUTOSAR MCAL modules. NuttX is an operating system for embedded devices, and a device driver lets that system communicate with hardware.