Home Assistant Builder (hab)
Teaches Claude to drive the `hab` CLI to inspect, create, update and operate Home Assistant safely from the terminal.
AutomationIntermediate★ 156⑂ 21AI score 8/10Last updated: Sep 12, 2026
What it does
- Routes every task to the right entry command in the Home Assistant Builder (
hab) CLI:hab guide <topic>plushab schema <command> --jsoninstead of guessing flags. - Standardizes machine parsing with
--jsonenvelopes, telling you which fields to check (success,data,error.details.suggested_fix,warnings,verification_commands). - Enforces a mutation safety loop: read schema → inventory current state → preview with
--plan/--dry-run→ explicit user confirmation → run verification commands. - Flags destructive operations (system restart, backup restore/delete, network/Thread changes, integration reload, ESPHome upload/erase-flash,
--forcedeletes) as confirmation-required. - Covers entities, automations, scripts, scenes, Lovelace dashboards, helpers, calendar/to-do, backups and ESPHome (including NDJSON streaming output).
Who it's for
- Home Assistant owners who prefer managing config from a terminal or via an AI assistant.
- Power users authoring or refactoring lots of automation/dashboard YAML and JSON.
- ESPHome tinkerers who repeatedly validate, build and flash devices.
Example uses
- "Turn on the kitchen light when motion is detected" →
hab guide automation,hab schema automation create --json, then create with--dry-runbefore committing. - "Show everything related to light.kitchen" → read-only
hab entity get light.kitchen --device --relatedandhab search related entity light.kitchen. - "Clean up old backups" →
hab backup list, preview withhab backup delete <id> --plan, delete only after you approve.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/aahl/skills/HEAD/skills/hass-builder/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/hass-builder folder from the GitHub repo aahl/skills into my ~/.claude/skills/hass-builder/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/aahl/skills.git /tmp/aahl-skills && mkdir -p ~/.claude/skills && cp -r /tmp/aahl-skills/skills/hass-builder ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Create the skills folder:
mkdir -p ~/.claude/skills - Clone the repo:
git clone https://github.com/aahl/skills.git /tmp/aahl-skills - Copy the skill:
cp -r /tmp/aahl-skills/skills/hass-builder ~/.claude/skills/ - Make the wrapper executable:
chmod +x ~/.claude/skills/hass-builder/scripts/hab.sh - Have your Home Assistant URL and a Long-Lived Access Token ready, then run
scripts/hab.sh guide authto configure authentication. - Restart Claude Code and try a prompt like "use hab to list all my light entities" — the skill triggers automatically.
View source on GitHub ↗License: MIT