ha-blueprintlisted
Install: claude install-skill LayerTM/ClaudeInHA
A **blueprint** is a reusable automation or script template: someone defines the logic once with named **inputs** (which sensor, which light, which delay), and you create concrete automations from it by filling those inputs — no copy-pasting YAML.
Blueprints live as YAML files under, by domain:
| Path | For |
|---|---|
| `/homeassistant/blueprints/automation/<author>/<name>.yaml` | automation blueprints |
| `/homeassistant/blueprints/script/<author>/<name>.yaml` | script blueprints |
Shorthand for the Supervisor-proxied Core API (token is always present):
```bash
API=http://supervisor/core/api
AUTH="Authorization: Bearer $SUPERVISOR_TOKEN"
```
## 1. Import a blueprint from a URL
There is no REST import service (the UI's "Import Blueprint" is a WebSocket/frontend action). The CLI-native, always-works path is: fetch the **raw** blueprint YAML and drop it into the right directory.
```bash
# author = a folder slug you choose to keep sources tidy
mkdir -p /homeassistant/blueprints/automation/community
curl -sSL "https://raw.githubusercontent.com/<user>/<repo>/main/motion_light.yaml" \
-o /homeassistant/blueprints/automation/community/motion_light.yaml
```
- A GitHub **blob** URL (`.../blob/main/x.yaml`) is an HTML page, not YAML — convert it to raw: `.../blob/` → `raw.githubusercontent.com/.../` (drop `/blob`). Or just click **Raw** on GitHub and copy that URL.
- A **community.home-assistant.io** forum URL isn't raw YAML (it's a page with a code block). Easiest there: pa