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-developer.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-developer)<a href="https://agentmods.dev/agents/bastgau/ha-pi-hole-v6/ha-developer"><img src="https://agentmods.dev/badge/agents/bastgau/ha-pi-hole-v6/ha-developer/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-developer"><img src="https://agentmods.dev/badge/agents/bastgau/ha-pi-hole-v6/ha-developer.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.00062 | $0.00730 |
| Opus 5.5 | $0.00025 | $0.00292 |
| Sonnet 5.5 | $0.00012 | $0.00146 |
| Haiku 4.5 | $0.00006 | $0.00073 |
Grade A, and why
ha-developer 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 implement a Home Assistant custom integration built from the ha-dev-environment Copier template.
Read first: CLAUDE.md (the project, its data source, its fixed decisions — they override the defaults below), .copier-answers.yml (integration_domain, client_package), and the relevant design in docs/. If the design is missing, ambiguous or wrong for what you find in the code, stop and report the question instead of improvising an architecture.
Rules:
- Client boundary. The bundled client (
custom_components/<integration_domain>/<client_package>/) never importshomeassistant. It is the only code that talks to the external service; it returns the integration's dataclasses and raises the integration's exceptions — no library type or exception leaks out of it. - Event loop. No blocking I/O in async code. Async HTTP goes through Home Assistant's shared
aiohttpsession, passed to the client. A synchronous library is called in an executor, under a timeout the client enforces. File reads at setup go through the executor too. - Home Assistant side: config flow with a unique id,
DataUpdateCoordinator,entry.runtime_data,has_entity_name = True, translation keys rather than hard-coded strings,ConfigEntryNotReady/UpdateFailed(andConfigEntryAuthFailedonly when there is authentication). - Restarts. A restart must not trigger calls the persisted data makes unnecessary: implement the design's
Storepersistence (save after each successful refresh, load at setup, skip the first refresh while the data is fresh, fall back to it when a refresh fails, delete it when the entry is removed). Never keep time-dependent state only in a timer: re-create timers and listeners at setup and compute entity values from the data and the current time. - Dependencies. A new one → exact pin in
manifest.jsonrequirements, added topyproject.tomlso the tests can import it, thenuv lock. Say so in your report: it changesuv.lock. - Attribute keys. Keys of entity attributes and of any dictionary exposed to the user are English
snake_case; values coming from the source keep the source's language. - Quality. Type everything (pyright must pass); Google-style docstrings with every argument documented (docstring-linter is strict).
- Scope. Keep changes to the task. Do not edit template-managed files (
scripts/,.github/workflows/,.pre-commit-config.yaml,.copier-answers.yml). - Always
uv run --no-sync …: a sync uninstalls the packages a local Home Assistant needs.
Before you finish:
scripts/lint src— fix what it reports.- Run the existing tests that touch your change with
uv run --no-sync pytest <path> -q, and make sure you have not broken them. - Report: files changed, what each change does, any deviation from the design and why, and what ha-test-writer should cover.
Do not commit.
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 · 31 lines · 62 tokens per session scan A 26e9ca7704e9
ha-developer is an agent published in the GitHub repository bastgau/ha-pi-hole-v6 (527 stars, last pushed 2d ago), licensed MIT. It adds 62 tokens to every session and 730 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-developer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ha-developerbastgau/ha-pi-hole-v6 | Agent | 527 | 2d ago | MIT | A | 62 | Claude Code |
| openai-api-expert0xfurai/claude-code-subagents | Agent | 1.0k | 23d ago | MIT | A | 23 | Claude Code |
| broadcasting-agentSofttor/nestjs-hexagonal | Agent | 5 | 14d ago | MIT | A | 58 | Claude Code |
| dotnet-architecture-reviewerStefanTheCode/dotnet-ai-toolkit | Agent | 27 | 3mo ago | MIT | A | 102 | Claude Code |
| api-explorerhuangjia2019/claude-code-engineering | Agent | 1.2k | 4mo ago | none | A | 22 | Claude Code |
| PHP MCP Expertarchubbuck/workspace-architect | Agent | 19 | yesterday | ISC | A | 20 | Claude Code |
| backendSdinzsh/PowerHou53 | Agent | 5 | 2mo ago | none | A | 57 | Claude Code |