ha-scripts

Define and manage parameterized Home Assistant YAML scripts for reusable action sequences.

6|1|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/L3DigitalNet/Claude-Code-Plugins --skill ha-scripts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ha-scripts
Source: https://github.com/L3DigitalNet/Claude-Code-Plugins/tree/main/plugins/home-assistant-dev/skills/ha-scripts
Command: npx skills add https://github.com/L3DigitalNet/Claude-Code-Plugins --skill ha-scripts

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the creation and management of reusable, callable action sequences within Home Assistant, reducing redundancy and improving maintainability of your smart home logic.

Core Features & Use Cases

  • Script Definition: Create custom YAML scripts for complex or repeated tasks.
  • Parameterization: Define input parameters for scripts to make them dynamic and flexible.
  • Use Case: You can create a good_morning script that turns on lights, adjusts the thermostat, and plays music, which can then be called from multiple automations or manually.

Quick Start

Use the ha-scripts skill to create a new script called 'evening_lights_off' that turns off all lights in the house.

Frequently Asked Questions about ha-scripts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create reusable action sequences in Home Assistant?

You can create reusable action sequences in Home Assistant by defining YAML scripts that group multiple tasks like turning on lights and adjusting thermostats into callable routines. These scripts can be manually triggered or called from automations.

Can I pass parameters to Home Assistant scripts to make them dynamic?

Yes, Home Assistant scripts support parameterization by defining input parameters in the YAML configuration. This allows you to pass variables into the script execution, making your reusable action sequences flexible for different contexts.

What YAML formatting rules do I need to follow for Home Assistant scripts?

Home Assistant YAML scripts require strict adherence to style rules for indentation, booleans, and entity IDs. Correct formatting ensures your callable action sequences are properly parsed and executed by the smart home automation system.

How do I reduce redundancy in my smart home automations?

Reduce redundancy in smart home automations by converting repeated tasks into callable YAML scripts. Defining a routine once, like a good morning sequence, allows you to reuse it across multiple automations, improving maintainability.

Does Home Assistant support modular automation routines?

Home Assistant supports modular automation routines through YAML script definitions. You can build parameterized, reusable action sequences that act as standalone modules, reducing logic duplication and simplifying smart home management.