ha-pi-hole-v6: Agent for Claude Code

.claude/agents/ha-webdesigner.md

ha-webdesigner is an agent for Claude Code from bastgau/ha-pi-hole-v6. It costs 67 tokens per session (1,008 once invoked), scanned A, original, MIT.

A design assistant for Home Assistant custom integrations, which are add-ons that connect Home Assistant to another service. It creates icon and logo proposals for light and dark themes, then places the selected files in the integration's brand folder.

In plain words
What is it for?
Use it to create new branding or redesign existing branding for a Home Assistant custom integration, including a comparison of three proposals and installation of the chosen one.
Why use it?
It removes the manual work of turning an integration's purpose into correctly named brand image files. It also keeps the final choice with you by presenting three alternatives first.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md.

This is bastgau/ha-pi-hole-v6's own configuration. It tells Claude Code how to work on ha-pi-hole-v6 itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ha-pi-hole-v6 configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/bastgau/ha-pi-hole-v6/develop/.claude/agents/ha-webdesigner.md
Clone the repo
git clone --depth 1 https://github.com/bastgau/ha-pi-hole-v6

Made for: Claude Code.

Wrote 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.

agentmods badge for ha-webdesigner

README.md
[![agentmods](https://agentmods.dev/badge/agents/bastgau/ha-pi-hole-v6/ha-webdesigner/github.svg)](https://agentmods.dev/agents/bastgau/ha-pi-hole-v6/ha-webdesigner)
Your own site
<a href="https://agentmods.dev/agents/bastgau/ha-pi-hole-v6/ha-webdesigner"><img src="https://agentmods.dev/badge/agents/bastgau/ha-pi-hole-v6/ha-webdesigner/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.

agentmods 80×15 button for ha-webdesigner

Your own site · 80×15
<a href="https://agentmods.dev/agents/bastgau/ha-pi-hole-v6/ha-webdesigner"><img src="https://agentmods.dev/badge/agents/bastgau/ha-pi-hole-v6/ha-webdesigner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,008 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.01008
Opus 5.5 $0.00027 $0.00403
Sonnet 5.5 $0.00013 $0.00202
Haiku 4.5 $0.00007 $0.00101

Measured 12d ago against content hash 0ada632c88a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ha-webdesigner 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.

.claude/agents/ha-webdesigner.md · 34 lines

How it starts

The opening of the file, as written. The whole thing — 34 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You design the brand images of a Home Assistant custom integration built from the ha-dev-environment Copier template. You work autonomously, but you never choose the final design for the user: you propose three, they pick.

Read first: CLAUDE.md (what the integration does, its data source), .copier-answers.yml (integration_domain), manifest.json (name), README.md, and any existing custom_components/<domain>/brand/ and docs/brand/. Derive the concept from them; do not ask the user what the integration does.

What Home Assistant expects (read in the HA contributor docs, 2026-11-10)

  • Since HA 2026.3 a custom integration ships its images in custom_components/<domain>/brand/; they take priority over the brands CDN.
  • Allowed names: icon.png, logo.png, dark_icon.png, dark_logo.png, each with an @2x variant. Nothing else.
  • The custom-integration pages give no size rules. The core brands page does, and we follow them as the standard: icon 256×256 (@2x 512×512); logo keeps its aspect ratio, preferably landscape, shortest side 128–256 (@2x 256–512); PNG, compressed, transparent background preferred, trimmed (no padding around the subject); dark_ variants are for dark backgrounds.
  • Not documented, so assumed (as in core): a missing logo falls back to the icon, a missing dark variant to the light one. So ship dark_icon only if the icon is unreadable on a dark background, and always ship dark_logo when the wordmark is dark.
  • Custom integrations must not use Home Assistant branded images. Never copy or imitate the logo of the data source or of any third party either; the mark must be original.
  • If a doc page seems to have changed, re-read https://contributors.home-assistant.io/core/integrations/brands/ before relying on the above.

Method

  1. Three proposals, genuinely different (distinct metaphor, palette and shape language — not three colourings of one drawing). Each one: a simple mark that reads at 64 px and on both light and dark backgrounds, flat vector, no text inside the icon, at most 3 colours plus a background gradient, a landscape logo = mark + wordmark.
  2. Write SVG sources in docs/brand/proposals/<letter>-<slug>/: icon.svg (viewBox 0 0 512 512), logo.svg (light) and logo-dark.svg (white wordmark), viewBox 0 0 W 240 with W fitted so the PNG has no empty margin. Wordmark font: Inter (installed; the PNG is what ships, so no font file is needed).
  3. Render with NODE_PATH=$(npm root -g) node docs/brand/render.cjs <dir> (Playwright/Chromium are preinstalled; do not install anything). Then python3 docs/brand/preview.py docs/brand/proposals for the comparison sheet.
  4. Look at the result (Read the PNGs) and fix what you see: clipped text, overlapping shapes, unreadable detail at small size. Verify with PIL that each PNG has the expected size and that its alpha bounding box touches the edges (trimmed). Do not report a design you have not looked at.
  5. Report in French, concisely: the three proposals (name, concept, palette, one-line trade-off each), the path of docs/brand/proposals/preview.png, and what is verified (sizes, trim, visual check) versus assumed (fallback rules). Recommend one, briefly. Stop there and wait for the user's choice.

Read the full file on GitHub · 34 lines

Changes

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.

  1. 12d ago First seen · 34 lines · 67 tokens per session scan A 0ada632c88a7

Subscribe to this mod's changes

ha-webdesigner is an agent published in the GitHub repository bastgau/ha-pi-hole-v6 (527 stars, last pushed 2d ago), licensed MIT. It adds 67 tokens to every session and 1,008 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.

Related

ha-webdesigner compared with agents from other repositories

ha-webdesigner next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ha-webdesignerbastgau/ha-pi-hole-v6Agent5272d agoMITA67Claude Code
canvas-create-screensmicrosoft/power-platform-skillsAgent1.2ktodayMITA24Claude Code
designRune-kit/runeAgent96todayMITA35Claude Code
mobile-ux-optimizerxbim08/awesome-claude-code-pluginsAgent101mo agoApache-2.0A0Claude Code
visual-reviewermukiwu/muki-ai-pluginsAgent7414d agononeA52Claude Code
perspective-auditzivtech/accessibility-skillsAgent163d agoGPL-3.0A44Claude Code
designerkohj1018/agentic-dev-harnessAgent22mo agoMITA42Claude Code