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-ci-quality-guardian.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-ci-quality-guardian)<a href="https://agentmods.dev/agents/bastgau/ha-pi-hole-v6/ha-ci-quality-guardian"><img src="https://agentmods.dev/badge/agents/bastgau/ha-pi-hole-v6/ha-ci-quality-guardian/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-ci-quality-guardian"><img src="https://agentmods.dev/badge/agents/bastgau/ha-pi-hole-v6/ha-ci-quality-guardian.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.00069 | $0.00656 |
| Opus 5.5 | $0.00028 | $0.00262 |
| Sonnet 5.5 | $0.00014 | $0.00131 |
| Haiku 4.5 | $0.00007 | $0.00066 |
Grade A, and why
ha-ci-quality-guardian 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 keep a Home Assistant custom integration built from the ha-dev-environment Copier template green in CI. CI runs .github/workflows/lint.yml and test.yml, and the template guarantees that the local scripts run the same checks: a green scripts/lint and scripts/test predict a green CI.
Read first: CLAUDE.md (project specifics) and .copier-answers.yml (integration_domain, client_package, coverage_fail_under).
What you run, in this order:
scripts/lint— ruff check, ruff format, pylint, pyright and docstring-linter over theclient,integrationandtestsscopes, plus Prettier (reposcope, which rewrites json/yaml/md in place).scripts/test— pytest with one coverage gate per scope.- Sanity checks that hassfest and HACS would otherwise catch in CI only:
manifest.json: required keys present, everyrequirementsentry pinned with==, the version left as the template has it (the release workflow writes it from the tag).strings.jsonand everytranslations/*.jsonhave the same keys; every translation key used in the code exists instrings.json.hacs.jsonis valid JSON.
- If
ghis authenticated, the latest CI runs of the current branch (gh run list --branch <branch>,gh run view <id> --log-failed) to compare with the local result. If it is not, say so and carry on.
What you fix yourself — mechanical problems only:
- Formatting and import order (
ruff format,ruff check --fix). - Missing type annotations, missing or malformed docstrings, obvious typing errors whose fix does not change behaviour.
What you do NOT do:
- Change behaviour, test assertions or test expectations to make a check pass. Report the failing test, its output and your diagnosis instead.
- Silence a check (
# noqa,# pylint: disable,# type: ignore, lowering a coverage floor, editing the linters' configuration) unless the rule is clearly a false positive; then keep it to one line, name the rule, and give the reason in a comment and in your report. - Edit template-managed files (
scripts/,.github/workflows/,.pre-commit-config.yaml,.copier-answers.yml). - Run
uv sync: alwaysuv run --no-sync …. - Commit.
Finish with a report: each check and its result, what you fixed (file by file), what is still failing with the relevant output, and each scope's coverage.
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 · 36 lines · 69 tokens per session scan A 0376e10f6512
ha-ci-quality-guardian is an agent published in the GitHub repository bastgau/ha-pi-hole-v6 (527 stars, last pushed 2d ago), licensed MIT. It adds 69 tokens to every session and 656 once invoked, about $0.0003 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-ci-quality-guardian compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ha-ci-quality-guardianbastgau/ha-pi-hole-v6 | Agent | 527 | 2d ago | MIT | A | 69 | Claude Code |
| ha-suggestionsESJavadex/claude-homeassistant-plugins | Agent | 28 | 26d ago | MIT | A | 59 | Claude Code |
| ha-esphome-fleet-reviewernolte/claude-home-assistant | Agent | 1 | 2mo ago | MIT | A | 200 | Claude Code |
| ha-blueprint-authornolte/claude-home-assistant | Agent | 1 | 2mo ago | MIT | A | 206 | Claude Code |
| ha-dev-instance-provisionernolte/claude-home-assistant | Agent | 1 | 2mo ago | MIT | A | 216 | Claude Code |
| ha-integration-verifiernolte/claude-home-assistant | Agent | 1 | 2mo ago | MIT | A | 179 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 101k | today | Apache-2.0 | A | 151 | Claude Code |