hacs.integration_blueprint: Skill for Claude Code

.agents/skills/ha-planning/SKILL.md

ha-planning is a skill for Claude Code, Codex from jpawlowski/hacs.integration_blueprint. It costs 194 tokens per session (1,760 once invoked), scanned A, original, MIT.

A planning procedure for large changes to a Home Assistant custom integration, including architectural decisions recorded as an ADR, a short decision document.

In plain words
What is it for?
Use it to plan broad features, refactors, or architecture choices and save the working plan in the repository's scratch area.
Why use it?
It helps settle the goal, scope, phases, and long-term choices before code is written when a change affects many files or the project's structure.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is jpawlowski/hacs.integration_blueprint's own configuration. It tells Claude Code and Codex how to work on hacs.integration_blueprint 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 hacs.integration_blueprint configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jpawlowski/hacs.integration_blueprint. 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/jpawlowski/hacs.integration_blueprint/main/.agents/skills/ha-planning/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/jpawlowski/hacs.integration_blueprint

Made for: Claude Code, Codex.

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-planning

README.md
[![agentmods](https://agentmods.dev/badge/skills/jpawlowski/hacs.integration_blueprint/ha-planning/github.svg)](https://agentmods.dev/skills/jpawlowski/hacs.integration_blueprint/ha-planning)
Your own site
<a href="https://agentmods.dev/skills/jpawlowski/hacs.integration_blueprint/ha-planning"><img src="https://agentmods.dev/badge/skills/jpawlowski/hacs.integration_blueprint/ha-planning/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-planning

Your own site · 80×15
<a href="https://agentmods.dev/skills/jpawlowski/hacs.integration_blueprint/ha-planning"><img src="https://agentmods.dev/badge/skills/jpawlowski/hacs.integration_blueprint/ha-planning.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 194 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,760 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 10
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00194 $0.01760
Opus 5.5 $0.00078 $0.00704
Sonnet 5.5 $0.00039 $0.00352
Haiku 4.5 $0.00019 $0.00176

Measured 2mo ago against content hash 3cb5b9e08764, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ha-planning 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 2mo 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/skills/ha-planning/SKILL.md · 159 lines

How it starts

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

Plan changes and record decisions

When a plan is required

Situation What to do
Single feature or fix, up to ~8 files Just implement it completely; no plan needed
Several independent features Implement one at a time, suggest a commit between each
>10 files, or an architectural/structural change Write a plan and get explicit confirmation first
A choice with long-term consequences Write the plan and record the decision

Do not start a large refactor because it seems obviously right. The developer decides scope.

A plan can only be as good as the requirements under it. If you cannot state the goal back in one sentence, or the phases would encode a guess, run ha-grill first — its brief is the input this plan needs.

Writing the plan

Plans are working documents, not deliverables. Put them in .agents/scratch/ — that directory is gitignored and exists for exactly this. Do not create markdown files elsewhere in the repository without being asked.

Structure:

# Plan: <what and why in one line>

## Goal

<One line: what changes for the user when this is done.>

## Current state

<Bullets. What exists today, with file references, and what specifically is in the way.>

## Approach

<Bullets. The chosen approach, and what you deliberately did not choose.>

## Phases

### Phase 1 — <name>

- **Files:** `custom_components/<domain>/coordinator/base.py`, …
- **Changes:** <specific edits>
- **Verification:** `script/test tests/test_init.py`, and <what to check in the UI>
- **Independently shippable:** yes / no

### Phase 2 — …

## Breaking changes

<None, or: what breaks and the migration path. See ha-breaking-changes.>

## Risks and open questions

<Each one: the question, who answers it, and what it blocks. "None" is a valid section.>

Read the full file on GitHub · 159 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. 2mo ago First seen · 159 lines · 194 tokens per session scan A 3cb5b9e08764

Subscribe to this mod's changes

ha-planning is a skill published in the GitHub repository jpawlowski/hacs.integration_blueprint (54 stars, last pushed 5d ago), licensed MIT. It adds 194 tokens to every session and 1,760 once invoked, about $0.0008 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-08-30.

Related

ha-planning compared with skills from other repositories

ha-planning next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ha-planningjpawlowski/hacs.integration_blueprintSkill545d agoMITA194Claude Code, Codex
homeassistantha-china/ha_clawSkill1013d agoMITA15Claude Code, Codex
auroratonylofgren/aurora-smart-homeSkill109yesterdayMITA133Claude Code
ESPHometonylofgren/aurora-smart-homeSkill109yesterdayMITA192Claude Code
HA Integration Devtonylofgren/aurora-smart-homeSkill109yesterdayMITA55Claude Code
Node-REDtonylofgren/aurora-smart-homeSkill109yesterdayMITA76Claude Code
HA Dashboard Designtonylofgren/aurora-smart-homeSkill109yesterdayMITA141Claude Code