Years of running a real smart home with coding agents, distilled into agent skills.
Home Assistant is wonderfully automatable and brutally silent about failure: service calls that no-op, automations that load clean and never fire, triggers that die after the first event. Pointing a coding agent at it without doctrine produces automations that look right. This repo packages the doctrine as Agent Skills: focused, model-readable guides your coding agent (Claude Code and other harnesses) loads on demand when you ask it to work on your smart home.
/plugin marketplace add t3chnaztea/home-assistant-skills
/plugin install home-assistant@t3chnaztea-ha
The four skills
Each is a self-contained home for one area. Start with ha-connect: the
others assume its two access lanes (SSH for files, REST for state) and its
verify doctrine.
🔌 ha-connect
Start here. The Terminal & SSH add-on, a long-lived token, and the two ways in: SSH for YAML edits, REST for live state and service calls. Curl/ssh recipes and token hygiene.
|
🗺️ ha-context-map
The part people skip. The instance map file (verified entity inventory, add-ons, notify targets, and a running Gotchas list) so the agent stops guessing entity ids.
|
⚙️ ha-automations
English → YAML → ha core check → reload → verify. Before/after reads on every write, and the silent-failure traps: dead notify services, event-entity triggers, no-op writes.
|
⚡ ha-external-triggers
The "if" doesn't have to be a device: a real-time electricity price driving a load-shed loop, and an LLM as a sensor: camera snapshot + ai_task for judgment calls.
|
Why not just use the MCP integration?
Fair question. Home Assistant has an official MCP Server integration, and
HACS has community MCP servers. Point your agent at one and it can read
entity states and call services, scoped to the entities you expose, with no
SSH and no root token. If that's all you need (control, status questions,
"turn the lights off when I say goodnight"), use MCP. Less setup, smaller
blast radius, works with local LLMs.
These skills exist for the job MCP can't reach: administering the
instance. The MCP surface is state and services; it can't touch config.
| Task | MCP | These skills |
|---|
| Read states, call services | ✅ | ✅ |
Write or refactor automations.yaml | ❌ | ✅ |
ha core check before a reload | ❌ | ✅ |
| Tail logs when an automation loads clean but never fires | ❌ | ✅ |
| Grep the config for two automations racing each other | ❌ | ✅ |
| Snapshot/backup before surgery | ❌ | ✅ |
They compose: MCP for day-to-day control, these lanes for admin sessions.
The skills tell the agent the same thing (see "Lane zero" in
ha-connect): if a task is purely state reads
and service calls, it doesn't need SSH at all.
⚠️ Read before you install
These skills direct an agent to SSH into your Home Assistant box as root
and to hold an admin API token. That is exactly as powerful as it sounds.