scripts

Define and execute reusable action sequences with control flow in Home Assistant.

Updated Mar 6, 2026
One-click install
npx skills add https://github.com/renne/skills --skill scripts-renne
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scripts
Source: https://github.com/renne/skills/tree/main/home-assistant/scripts
Command: npx skills add https://github.com/renne/skills --skill scripts-renne

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the creation and management of complex, multi-step automations and reusable action sequences within Home Assistant, reducing repetitive configuration and improving system logic.

Core Features & Use Cases

  • Reusable Sequences: Define named sequences of actions that can be called from multiple places.
  • Parameterization: Make scripts dynamic by accepting input fields with default values and selectors.
  • Control Flow: Implement logic with choose, if/then/else, repeat, and parallel execution.
  • Use Case: Create a "Good Morning" script that turns on specific lights at a certain brightness, adjusts the thermostat, and plays a news briefing on a smart speaker, all triggered by a single command.

Quick Start

Use the scripts skill to define a new script named 'turn_on_all_lights' that turns on every light in your home.

Frequently Asked Questions about scripts

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

FAQPage Schema
How do I create reusable Home Assistant automation sequences for complex multi-step actions?

You can define reusable sequences of actions within Home Assistant by creating named scripts that encapsulate multi-step logic, reducing repetitive configuration and enabling complex smart home orchestration triggered by a single command.

Can I use conditional logic and loops in Home Assistant scripts for advanced control flow?

Home Assistant scripts support advanced control flow structures including conditional execution with choose and if/then/else, loops with repeat, and parallel processing to implement sophisticated automation logic dynamically.

How do I parameterize Home Assistant scripts to accept dynamic input fields?

Scripts can be parameterized by defining input fields with default values and selectors, allowing you to pass dynamic data into the sequence and make your Home Assistant automation logic reusable across different contexts.

What is the best way to trigger a Home Assistant script using service calls and state changes?

Scripts integrate seamlessly with Home Assistant's service call, event, and state-based triggers, enabling you to execute defined action sequences automatically based on specific system states or manual service invocations.

Does Home Assistant support parallel processing within a single automation script?

Yes, Home Assistant scripts support parallel execution alongside sequential actions, allowing multiple independent actions within a single sequence to run concurrently for more efficient smart home orchestration.