01
It starts by itself
every Sunday evening. Runs in Claude Code routine or cron.
- ↻ every Sunday evening
0 18 * * 0
Automations use native Home Assistant features.
Install the Home Assistant Best Practices skill and make it a habit: follow https://gethabit.dev/skills/homeassistant-ai/home-assistant-best-practices.md
9K installs903 starsMIT licenceSource on GitHub ↗

Home Assistant Best Practices
by homeassistant-ai · 9K installs
The skill
Home assistant best practices steers an agent toward native Home Assistant triggers, conditions and helpers instead of templates, safe entity renames, correct automation modes and careful backups.
Only when you ask.
The habit
Automations use native Home Assistant features.
↻ Runs by itselfevery Sunday evening
When does it start? How does it check its work? What does it remember?
Stops after five automations per run; backups, restores and upgrades always need a fresh yes.
Get version from GET /api/config or Settings, About, since features depend on the release.
For renames or restructures, follow the safe-refactoring reference before any change.
Prefer purpose-specific triggers, then generic native ones, before any template.
Swap template sensors for built-in helpers and pick the right automation mode.
Show the user each exact change and wait for their OK before saving.
Save through the config API or UI, then run the configuration check and reload.
Record which automations were fixed and which wait.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Home Assistant Best Practices skill helps.
No. The skill treats .storage as Home Assistant's internal state and uses the API instead.
No. Restoring, deleting backups or upgrading Core or the OS always needs your explicit confirmation.
The skill says templates skip validation and can fail silently, so native options come first.
Copy the prompt at the top into your agent. It installs the skill from homeassistant-ai/skills and sets up the habit. Or run npx skills add homeassistant-ai/skills --skill home-assistant-best-practices.
Yes. It is published under MIT. Habit is free too.
Install the Home Assistant Best Practices skill and make it a habit: follow https://gethabit.dev/skills/homeassistant-ai/home-assistant-best-practices.md
All homeassistant-ai skills →More ops skills →
Works in
Made by homeassistant-ai, published under MIT. Habit links to the original and never changes it. Is this your skill?