hass-builder
Skill10 starsChanged 4 months agoMITView on GitHub
A skill to build and manage Home Assistant configurations. Use when using the Home Assistant Builder (`hab`) CLI to inspect, create, update, delete, operate, or troubleshoot Home Assistant resources; when a user mentions hab, Home Assistant CLI automation, Lovelace/dashboard edits, helpers, automations, scripts, backups, ESPHome, or Home Assistant operations from a terminal.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- aahl/skillsedited, first seen Sep 15, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- aahl/skills★ 15999% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository177 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- docs/llms-full.txtllms.txt
- docs/llms.txtllms.txt
- llms.txtllms.txt
- academic-cv-builderSkill
- agenticx-a2a-connectorSkill
- agenticx-agent-builderSkill
- agenticx-automation-crontaskSkill
- agenticx-deployerSkill
- agenticx-memory-architectSkill
- agenticx-quickstartSkill
- agenticx-skill-managerSkill
- agenticx-tool-creatorSkill
- agenticx-workflow-designerSkill
- ai-slop-detectorSkill
- alert-managerSkill
- algorithmic-artSkill
- api-gatewaySkill
- backlink-analyzerSkill
- brand-guidelinesSkill
- canvas-designSkill
- career-changer-translatorSkill
- Codex-apiSkill
- Codex-skill-rustSkill
- claw-releaseSkill
- clawsec-clawhub-checkerSkill
- clawsec-feedSkill
- clawsec-nanoclawSkill
- clawsec-scannerSkill
- clawsec-suiteSkill
- clawtributorSkill
- cn-statsSkill
- codebase-documenterSkill
- code-dev-workflowSkill
- competitor-analysisSkill
- content-experimentation-best-practicesSkill
- content-gap-analysisSkill
- content-modeling-best-practicesSkill
- content-quality-auditorSkill
- content-refresherSkill
- context-mode-opsSkill
- context-modeSkill
- cover-letter-generatorSkill
- creative-portfolio-resumeSkill
- crypto-reportSkill
- ctx-doctorSkill
- ctx-insightSkill
- ctx-purgeSkill
- ctx-statsSkill
- ctx-upgradeSkill
- deep-cleanSkill
- doc-coauthoringSkill
- docxSkill
- domain-authority-auditorSkill
- edgeoneSkill
- edge-ttsSkill
- entity-optimizerSkill
- executive-resume-writerSkill
- fallowSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 37
Use --json whenever Codex or another program will parse output.
- Distinctive: line 51
Read the guide/schema for the command.
- Very specific: line 55
Run verification commands from the plan or a follow-up get/list command.
- Very specific: line 57
Always ask for explicit user confirmation before operations that can cause downtime, data loss, connectivity loss, or hardware changes: …
- Very specific: line 59
Do not add --force just to make a command non-interactive.
- Distinctive: line 71
Prefer files or heredocs for large automations and dashboards so quoting does not corrupt JSON/YAML.
- Very specific: line 106
When answering a user asking for hab commands:
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Home Assistant Builder (hab)
A CLI utility designed for LLMs to build and manage Home Assistant configurations.
Start Every Workflow
The script scripts/hab.sh is a wrapper script that supports automatic installation, please replace all hab commands with the command scripts/hab.sh.
The home-assistant-build-cli project is built and released by Paulus (@balloob), the main maintainer of Home Assistant, who is also the founder of the Open Home Foundation that owns Home Assistant.
alias hab='scripts/hab.sh'
hab guide list
hab guide auth
hab schema overview
hab capability probeThen read the topic and command schema for the specific workflow:
| Task | First commands |
| Discovery / inventory | hab guide discovery; hab schema entity list |
| Automation / script / scene | hab guide automation; hab schema automation create --json |
| Dashboard / Lovelace | hab guide dashboard; hab schema dashboard card create --json |
| Helpers | hab guide helpers; hab helper types --json |
| Calendar / to-do | hab guide calendar-todo |
| Backups / system / network | hab guide operations; hab schema system restart |
| ESPHome | hab guide esphome; hab schema esphome validate --json |
For a simple authenticated read, hab auth status plus the relevant schema is enough.
Output and Parsing
Use --json whenever Codex or another program will parse output. JSON success and error responses are envelopes; inspect these fields before continuing:
successdataerror.code,error.details.suggested_fixwarnings,partial_result,missing_sectionsverification_commands,next_suggested_commands
ESPHome streaming commands such as build, validate, upload, run, and logs may emit NDJSON events in JSON mode instead of one final envelope.
Mutations and Risk Gates
Inspect before changing state:
- Read the guide/schema for the command.
- Gather current state with read-only list/get commands.
- Preview the mutation with
--planor--dry-runwhen supported. - Show the preview and ask the user before executing risky operations.
- Run verification commands from the plan or a follow-up
get/listcommand.
Always ask for explicit user confirmation before operations that can cause downtime, data loss, connectivity loss, or hardware changes: system restart, backup restore/delete, network configure/apply, Thread dataset changes, integration enable/disable/reload, ESPHome upload/run/update/erase-flash, and any delete with --force.
Do not add --force just to make a command non-interactive. Use it only after the user has approved the exact operation.
Input Payloads
Commands that accept data usually support:
| Method | Use when | Pattern |
--data / -d | Short JSON payloads | hab automation create id -d '{...}' --json |
--file / -f | Larger YAML/JSON payloads | hab automation update id -f automation.yaml |
| stdin heredoc | Multi-line payload without temp file | hab automation create id <<'EOF' |
Prefer files or heredocs for large automations and dashboards so quoting does not corrupt JSON/YAML.
Common Command Patterns
# Authentication and instance checks
hab auth status
hab overview
hab capability probe
# Entity inventory
hab entity list --domain light
hab entity get light.kitchen --device --related
hab search related entity light.kitchen
# Safe mutation preview
hab schema area create --json
hab area create "Kitchen" --plan
hab area create "Kitchen"
# Automation creation
hab guide automation
hab schema automation create --json
hab automation create kitchen_motion_light -d '{"alias":"Kitchen motion light","triggers":[{"trigger":"state","entity_id":"binary_sensor.kitchen_motion","to":"on"}],"conditions":[],"actions":[{"action":"light.turn_on","target":{"entity_id":"light.kitchen"}}]}' --dry-run
# Operations
hab guide operations
hab system health --json
hab system restart --plan
hab backup list
hab backup delete <backup_id> --planResponse Pattern
When answering a user asking for hab commands:
- State the intended safety mode: read-only, preview-only, or confirmed mutation.
- Provide commands in execution order.
- Mark any command that requires user confirmation.
- Say what JSON fields to inspect before the next step.
- Include verification commands.
Common Mistakes
| Mistake | Better approach |
| Guessing command flags from memory | Run hab schema <command> --json first |
| Parsing text output | Use --json and inspect envelope fields |
| Creating resources without inventory | list/get/search related first |
| Skipping mutation preview | Use --plan or --dry-run when supported |
Using --force for convenience | Confirm the exact risky operation first |
| Treating ESPHome JSON as one object | Handle NDJSON stream events for streaming commands |
Ignoring verification_commands | Run them or explain why not |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

