plugins/home-assistant-dev/skills/ha-scripts/SKILL.md
Home Assistant YAML scripts — callable, reusable action sequences with optional parameters. Use when creating a script, defining a reusable sequence, or adding parameterized fields to a script.
npx skillsauth add l3digitalnet/claude-code-plugins ha-scriptsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Scripts are reusable, callable action sequences — unlike automations they have no trigger and must be called explicitly.
true / falsedomain.entity_name (lowercase, underscores)script:
morning_routine:
alias: "Morning Routine"
mode: single # single | restart | queued | parallel
fields:
brightness:
description: "Light brightness percentage"
default: 100
selector:
number:
min: 0
max: 100
sequence:
- action: light.turn_on
target:
area_id: kitchen
data:
brightness_pct: "{{ brightness }}"
- delay:
seconds: 2
- action: media_player.play_media
target:
entity_id: media_player.kitchen_speaker
data:
media_content_id: "good_morning_playlist"
media_content_type: "playlist"
# From an automation
- action: script.morning_routine
data:
brightness: 80
# From the UI: Developer Tools → Actions → script.morning_routine
| Use Case | Choose | |----------|--------| | Triggered by an event or state change | Automation | | Called by multiple automations | Script | | Complex reusable logic | Script | | One-off response to a trigger | Automation |
ha-yaml-automationsha-blueprintsdevelopment
Use when you're stuck or missing current information mid-task - the same command/API/approach failed twice, an error looks like a changed or deprecated API, or you need the current version of something, a fact from after your training cutoff, or to verify something you cannot confirm from the code in context. Starts with a cheap inline lookup and only escalates to a full research sweep if that fails. Do not use for routine pre-emptive checks before ordinary library work - for deliberate research, use /qdev:research.
documentation
Update Outline wiki documentation with implementation-level details from the current session by dispatching the up-docs-propagate-wiki sub-agent. This skill should be used when the user runs /up-docs:wiki.
documentation
Update repository documentation (README.md, docs/, CLAUDE.md) based on session changes by dispatching the up-docs-propagate-repo sub-agent. This skill should be used when the user runs /up-docs:repo.
documentation
Update Notion pages with strategic and organizational context from the current session by dispatching the up-docs-propagate-notion sub-agent. This skill should be used when the user runs /up-docs:notion.