ha-blueprint-author

ha-blueprint-author is an agent for Claude Code from nolte/claude-home-assistant. It costs 206 tokens per session (2,744 once invoked), scanned A, original, MIT.

An agent that creates exactly one Home Assistant blueprint: a YAML recipe for an automation, script, or template that users can configure and reuse.

In plain words
What is it for?
Authoring and validating one self-contained blueprint, then reporting which acceptance requirements it meets.
Why use it?
It turns an automation idea into a validated file while checking it against Home Assistant blueprint rules.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the claude-home-assistant plugin — 45 skills, 11 agents shipped together

Good fit Authoring and validating one self-contained blueprint, then reporting which acceptance requirements it meets.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nolte/claude-home-assistant/ha-blueprint-author
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/nolte/claude-home-assistant

Made for: Claude Code.

Or install claude-home-assistant, the plugin that ships this one along with the rest of its 45 skills, 11 agents.

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-blueprint-author

README.md
[![agentmods](https://agentmods.dev/badge/agents/nolte/claude-home-assistant/ha-blueprint-author/github.svg)](https://agentmods.dev/agents/nolte/claude-home-assistant/ha-blueprint-author)
Your own site
<a href="https://agentmods.dev/agents/nolte/claude-home-assistant/ha-blueprint-author"><img src="https://agentmods.dev/badge/agents/nolte/claude-home-assistant/ha-blueprint-author/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-blueprint-author

Your own site · 80×15
<a href="https://agentmods.dev/agents/nolte/claude-home-assistant/ha-blueprint-author"><img src="https://agentmods.dev/badge/agents/nolte/claude-home-assistant/ha-blueprint-author.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 206 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,744 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.00206 $0.02744
Opus 5 $0.00103 $0.01372
Sonnet 5 $0.00041 $0.00549
Haiku 4.5 $0.00021 $0.00274

Measured 10d ago against content hash 79fff8e29c41, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ha-blueprint-author 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 10d 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.

agents/ha-blueprint-author.md · 177 lines

How it starts

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

HA Blueprint Author

You are a blueprint author whose only job is to turn a described automation/script/template intent into one well-formed, spec-conformant Home Assistant blueprint YAML file, validate it, and report how it scores against the acceptance criteria. You write exactly one blueprint per invocation. You do not deploy it, do not import it into a live HA instance, and do not author Python.

This agent operationalises the authoring contract defined in spec/ha/blueprint-patterns/en.md. That spec is your single source of truth: every requirement keyword (MUST / SHOULD / MAY / MUST NOT) in it governs a decision you make here, and the report you return is keyed to its Akzeptanzkriterien / Acceptance Criteria list.

Why this is an agent, not a skill

This is an agent rather than a skill because:

  • Draft → validate → iterate loop with own failure modes — drafting the YAML, running schema/lint validation, reading the errors, and repairing them is a multi-pass cycle whose failure signatures (undeclared !input, !input inside a Jinja expression, missing selector, malformed section) are distinct and resolved inside the loop, not surfaced raw to the caller.
  • Context-window protection — validation churn (repeated lint output, YAML re-renders, doc cross-checks) would clog the main conversation; the agent absorbs it and returns only the final file plus a tight report.
  • Narrow tool surface — Read/Glob/Grep to consult the spec and any reference blueprint, Write/Edit to produce the file, Bash for offline validation only.
  • Counter-dimension — interactive design back-and-forth ("should this also dim at night?") is given up; the agent makes spec-grounded default choices, states each assumption in the report, and leaves refinement to the caller.

Scope and boundaries

You do:

  • author one blueprint for exactly one domain (automation, script, or template)
  • compose the blueprint: header (name, domain, description, and — when sharing or version-gating — source_url, homeassistant.min_version)
  • declare every !input with a type-appropriate, filtered selector
  • wire the !inputvariables / trigger_variables templating bridge correctly
  • choose mode (and max) deliberately for automation blueprints
  • guard templates against unavailable / unknown / None
  • write the file to the correct path (blueprints/<domain>/<author>/<file>.yaml under the target, or a path the caller specifies)
  • validate the result offline and repair what validation catches
  • return a CONFORMANT / NEEDS-WORK report keyed to the spec's acceptance criteria

Read the full file on GitHub · 177 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. 10d ago First seen · 177 lines · 206 tokens per session scan A 79fff8e29c41

Subscribe to this mod's changes

ha-blueprint-author is an agent published in the GitHub repository nolte/claude-home-assistant (1 stars, last pushed 1mo ago), licensed MIT. It adds 206 tokens to every session and 2,744 once invoked, about $0.0010 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-31.

Related

Other agents, from other repositories

embedded-developer

Embedded systems, firmware, RTOS, microcontrollers (STM32, ESP32, Arduino), IoT, and bare-metal C/C++ specialist. Use when developing firmware, working with hardware peripherals, or building IoT devices. Trigger phrases: embedded, firmware, RTOS, microcontroller, Arduino, ESP32, STM32, IoT, bare-metal, I2C, SPI, UART…

travisjneuman/.claude · 92 tokens

planner

An agent that creates plans for complex coding, architecture, or multi-step refactoring work. It interviews the user, examines the codebase, and proposes a short plan with acceptance criteria, without implementing the changes.

sangrokjung/claude-forge · 112 tokens

adversarial-reviewer

Independent read-only checker for behavioural changes. Runs in a fresh context that did not author the change, reproduces the claim against the goal, spec, diff and execution evidence, and returns exactly one verdict — APPROVE, REQUESTCHANGES or UNVERIFIED — as a forge.review/v1 envelope. MUST BE USED before claiming…

sangrokjung/claude-forge · 102 tokens

rca-debugger

Root-cause analyzer for complex multi-system failures — the third stage of the debugging escalation chain (build-error-resolver → systematic-debugger → rca-debugger → escalation-fixer). Escalation from systematic-debugger when the bisect is inconclusive, there is a CI-vs-local discrepancy, the bug is flaky, or the…

sangrokjung/claude-forge · 118 tokens

refactor-cleaner

An agent for finding and safely removing dead code, unused exports, unused dependencies, and duplicate implementations.

sangrokjung/claude-forge · 109 tokens

cavecrew-reviewer

Diff/branch/file reviewer. One line per finding, severity-tagged, no praise, no scope creep. Output format path:line: : . . Use for "review this PR", "review my diff", "audit this file". Skips formatting nits unless they change meaning.

stevesolun/ctx · 75 tokens