Teaches Home Assistant automation patterns using native triggers, helpers, and conditions instead of Jinja2 templates, covering safe refactoring, Blueprints, Zigbee automations, and dashboard cards.
An Agent Skill is a plugin that teaches AI coding agents best practices for a specific technology, delivered as a portable Markdown knowledge pack.
This repository provides an Agent Skill for Home Assistant, following the open Agent Skills standard. Install a skill and your agent gains Home Assistant best practices that persist across sessions.
home-assistant-best-practices: Native HA constructs over templates, helper selection, automation modes, Zigbee button patterns, device control best practices, YAML-only integration management, dashboard configuration, and safe refactoring.
Requires Node.js 18+.
npx skills add homeassistant-ai/skills
Works with AI coding agents that support the Agent Skills standard: Claude Code, Cursor, Copilot, VS Code, Gemini CLI, and others. To update: npx skills update
Run each command separately inside Claude Code:
/plugin marketplace add homeassistant-ai/skills
/plugin install home-assistant-skills@home-assistant-skills
Run /reload-plugins or restart Claude Code for the skill to take effect.
Both apps share the same Customize UI, reached via the left sidebar (Claude Desktop) or claude.ai/customize (browser).
homeassistant-ai/skills (or the full URL, https://github.com/homeassistant-ai/skills) → SyncThis installs the skill as a plugin synced from this repo — no download or zip needed. To update later, go to Plugins, click the skills marketplace tag, open its ⋯ menu, and choose Check for updates (or toggle Sync automatically).
cd skills && zip -r home-assistant-best-practices.zip home-assistant-best-practices/The home-assistant-best-practices skill includes:
| File | Purpose |
|---|---|
SKILL.md | Decision workflow and quick-reference routing |
references/safe-refactoring.md | Safe workflow for renaming entities, replacing helpers, restructuring automations |
references/automation-patterns.md | Native conditions, triggers, waits, automation modes |
references/helper-selection.md | Built-in helpers vs template sensors (with decision matrix) |
references/template-guidelines.md | When to use templates, when to avoid them, and sensor best practices |
references/yaml-only-integrations.md | YAML-only integration types, post-edit actions (reload vs restart) |
references/device-control.md | Service calls, entity_id vs device_id, Zigbee buttons |
references/scenes.md | Scene authoring: config shape, snapshot/restore, snapshot-vs-script distinction |
references/dashboard-guide.md | Dashboard layout, view types, sections, custom cards, CSS styling |
references/dashboard-cards.md | Card type lookup and card-specific documentation |
references/domain-docs.md | Integration and domain documentation for service calls, entity attributes |
references/examples.yaml | Compound examples combining multiple best practices |
references/appdaemon.md | AppDaemon apps: when to use vs. native HA, app structure, service calls, scheduling, error handling, safe refactoring impact |
references/blueprint-guide.md | Blueprint authoring: metadata & source_url, inputs & selectors, target vs entity, defaults, !input templating, versioning |
See CONTRIBUTING.md for guidelines on writing and submitting skills.
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub joshuarweaver/cascade-ai-ml-agents-misc-1 --plugin homeassistant-ai-skillsExpert-level Home Assistant configuration management: deploy workflows, SSH/hass-cli access, automation verification, and Lovelace dashboard development
Home Assistant automation, integrations, dashboards, voice, and energy workflows
Home Assistant configuration management - YAML configuration, automations, scripts, scenes, and entity management for Home Assistant installations
AI-powered Home Assistant control through LLM skills and a local relay
Home Assistant layer for claude-code-hermit — skills, subagents, safety hook, and bun-powered CLI for an autonomous HA assistant
Create, modify, and troubleshoot Home Assistant configuration files and Lovelace dashboards