Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

home-assistant-configuration

Skill by magnusoverli

Writes and changes Home Assistant YAML, including automations, scripts, scenes, templates, integrations, packages and helpers. Built for people who run Home Assistant and want an AI assistant to edit its configuration files.

  • Score 75
  • 480 stars
  • Unlicense
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install home-assistant-configuration

Built from the published package, never by AI.

git clone --depth 1 https://github.com/magnusoverli/opencode /tmp/opencode && mkdir -p ~/.claude/skills && cp -r /tmp/opencode/ha_opencode_beta/rootfs/opt/ha-mcp-server/skills/home-assistant-configuration ~/.claude/skills/home-assistant-configuration

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install home-assistant-configuration in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Home Assistant configuration is an agent skill for writing and changing Home Assistant YAML. It covers automations, scripts, scenes, templates, integrations, packages and helpers. It tells the assistant to check the installed Home Assistant version and current integration documentation before writing, and to follow a mandatory YAML style guide.

Writes go through write_config_safe, which validates, backs up and blocks risky changes such as dropped list entries. The skill explains how to read and query YAML with yq, which handles Home Assistant's custom tags, and when a change needs a reload or a restart. Changes require explicit user approval before any write or reload. It suits people who run Home Assistant and want an assistant to edit files under /homeassistant.

Written from the project's SKILL.md and checked against it.

What it can do

  • get_configChecks which Home Assistant version is installed before writing YAML.
  • get_integration_docsFetches current YAML syntax and examples for a given integration.
  • get_breaking_changesLooks up breaking changes when something stopped working after an update.
  • write_config_safeValidates, backs up and writes config files, with dry runs and revision checks.
  • check_config_syntaxValidates the Home Assistant configuration, including !include and !secret references.
  • call_serviceCalls a Home Assistant service, such as reloading the automation domain.
  • get_entity_detailsShows details for an entity to confirm an automation loaded after a reload.
  • get_error_logReads relevant log entries when an entity is missing or a reload fails.
  • search_entitiesFinds entities needed for a trigger, condition or action.
  • yqReads and queries YAML from the shell while tolerating Home Assistant's custom tags.

What you need

  • A running Home Assistant add-on (ha-opencode-addon)
  • The yq tool (mikefarah Go version) on PATH
  • The full MCP tool profile for write_config_safe and call_service

Try asking

  • Write an automation that turns on the hallway light at sunset
  • Add a template sensor that shows the number of open windows
  • Check my configuration for syntax errors before I apply changes

Good to know

  • Every write and reload needs explicit user approval.
  • A reduced MCP tool profile omits some tools, such as call_service.
  • PyYAML and Ruby's YAML fail on the first !include, so yq is used instead.
  • yq -i can leave custom tags on overwritten values and strips blank lines.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: ha_opencode_beta/rootfs/opt/ha-mcp-server/skills/home-assistant-configuration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to home-assistant-configuration

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

home-assistant-configuration: common questions

Does it change Home Assistant files without asking?

No. The skill says to show the change, wait for explicit approval and change nothing else. Reloads need separate approval.

Why does it use yq instead of PyYAML for reading config?

yq tolerates Home Assistant's custom tags such as !include and !secret. PyYAML and Ruby's YAML crash on the first !include.

Does a change need a restart?

It depends on the file. Automations, scripts and scenes need only a reload of that domain, while integration blocks in configuration.yaml usually need a restart.

How do I install home-assistant-configuration?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is home-assistant-configuration free?

The code is published under the Unlicense licence. The service it connects to may have its own pricing.

Is home-assistant-configuration safe to use?

It scores 75 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to home-assistant-configuration?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

home-assistant-configuration Install

Add to stack

Loading.