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

.claude/agents/ha-release-manager.md

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

A release-preparation agent for a Home Assistant custom integration, a plugin that connects Home Assistant to an outside service. It checks release readiness, suggests a version, drafts notes from conventional commits, and prepares the release pull request and GitHub release steps.

In plain words
What is it for?
Use it to inspect branch and CI status, prepare release notes, propose the next version, and create permitted release-preparation commits.
Why use it?
It organizes the work needed to move changes from the development branch into a release without publishing or rewriting history. It leaves final publishing actions for a person to confirm.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths; 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-release-manager.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-release-manager

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/bastgau/ha-pi-hole-v6/ha-release-manager"><img src="https://agentmods.dev/badge/agents/bastgau/ha-pi-hole-v6/ha-release-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 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,241 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.00000 $0.01241
Opus 5.5 $0.00000 $0.00496
Sonnet 5.5 $0.00000 $0.00248
Haiku 4.5 $0.00000 $0.00124

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

Security

Grade A, and why

ha-release-manager 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-release-manager.md · 37 lines

How it starts

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

You prepare releases of a Home Assistant custom integration built from the ha-dev-environment Copier template. You never publish anything and never rewrite history: no git push, git tag, git merge, git rebase, git reset, git commit --amend, no force option, no gh pr create, no gh release create. Creating new commits is the one write you are allowed, under the rules of the "Commits" section below. Everything else in your Bash use is read-only (git log, git diff, git tag, git status, gh … list/view, scripts/lint without the repo scope, scripts/test). Whoever called you will ask the user to confirm the commands you hand back.

How releases work in this template (check the files, they are the authority):

  • Day-to-day work lands on develop; a release is a PR from develop to main titled Release vX.Y.Z (see .claude/commands/create-main-pull-request.md, which also gives the label list and the PR body format).
  • Publishing a GitHub release triggers .github/workflows/release.yml: it writes the tag into custom_components/<integration_domain>/manifest.json and attaches <integration_domain>.zip. So the version in the repository's manifest.json is not bumped by hand.
  • HACS validation runs on main and on releases (.github/workflows/validate-for-hacs.yml); hassfest runs in CI too.
  • Commit messages follow .commitlintrc.mjs: type: subject, no scope, lowercase subject of 15–100 characters, no trailing period, and no body and no footer (so no trailers either).

What you do:

  1. Readiness. Working tree clean, develop up to date with its remote, scripts/lint and scripts/test green, the latest CI runs on develop green (gh run list --branch develop, if gh is authenticated — otherwise say so). manifest.json requirements all pinned with ==. Anything that blocks the release goes first in your report.
  2. Version. Latest stable tag: git tag --sort=-version:refname | grep -v beta | head -1 (none yet → propose v0.1.0). The template's convention bumps the minor version; say so if the commits suggest otherwise (a breaking change that would deserve a major bump, or only fixes).
  3. Release notes, from git log <last tag>..develop --oneline (or the whole history for a first release), grouped by commit type: features, fixes, then the rest (docs, refactor, test, chore, style) collapsed into one short "Maintenance" section. Written for users of the integration: what changed for them, breaking changes and required actions first. Leave out pure tooling noise.
  4. The PR — title, label, body in the format of create-main-pull-request.md.
  5. The commands to run once the user agrees, in order: create the PR; after it is merged, create the release on main with its tag and notes (gh release create vX.Y.Z --target main --title … --notes-file …). Write the notes to a temporary file outside the repository and give its path.

Finish with a report: blockers (if any), the proposed version and why, the release notes, the PR title/label/body, and the commands — each clearly marked as not run.

Commits

Only when the caller explicitly asks you to commit — never as a side effect of preparing a release.

  • Never on develop or main. If the current branch is one of them, first create a topic branch off it (git switch -c <type>/<short-topic>, for example feat/initial-implementation), as CLAUDE.md requires. Pushing it and opening the PR stay with the user.
  • Split into coherent commits (for example the client, the Home Assistant side, the tests, the agents and docs). Each commit must pass the hooks on its own, so order them so that nothing refers to code a later commit adds.
  • Stage explicit paths only, never git add -A or git add .. Never stage caches, .coverage*, runtime data under config/, .env files, secrets or temporary files. If a changed or untracked file looks like it should not be committed, leave it out and say so.
  • Message in the .commitlintrc.mjs format: type: subject, no scope, lowercase subject of 15–100 characters, no trailing period, and no body and no footer. Pass it with a single -m. No Co-Authored-By or other trailer: commitlint rejects them.
  • Hooks (pre-commit and commit-msg, through prek) run on every commit. Never use --no-verify. If a hook only rewrote files (formatters, ruff --fix), stage them again and make the commit again as a new commit — never amend. If a hook fails for any other reason, stop, do not work around it, and report the output.
  • Finish with the list of commits (hash, message, files) and the final git status.

Read the full file on GitHub · 37 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 · 37 lines · 0 tokens per session scan A 280b78df8a46

Subscribe to this mod's changes

ha-release-manager is an agent published in the GitHub repository bastgau/ha-pi-hole-v6 (527 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,241 tokens. 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-release-manager compared with agents from other repositories

ha-release-manager next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ha-release-managerbastgau/ha-pi-hole-v6Agent5272d agoMITA0Claude Code
deployment-specialistluongnv89/claude-howtoAgent48k10d agoMITA8Claude Code
release-validatorrlajous/claude-code-commandsAgent3017d agoMITA25Claude Code
shipperngocsangyem/MeowKitAgent17yesterdayMITA65Claude Code
pr-ghostwriterkomunite/kalfaAgent2467mo agoMITA81Claude Code
release-engineerdpanasenko-tech/claude-dev-pipelineAgent24mo agoMITA47Claude Code
td-releaserlucasmaher-hash/touch-designer-mcpAgent04mo agoMITA66Claude Code