ha-scripts

ha-scripts is a skill for Claude Code from Benny-Lewis/home-assistant-assistant. It costs 37 tokens per session (92 once invoked), scanned A, original, MPL-2.0.

A compatibility wrapper for Home Assistant scripts, which are reusable sequences of actions that can be run manually or from automations.

In plain words
What is it for?
Creating or modifying reusable action sequences, manual scripts, and scripts triggered by Home Assistant automations.
Why use it?
It directs the agent to the main script instructions for organizing chained actions correctly.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Part of the home-assistant-assistant plugin — 15 skills, 6 agents, 3 hooks shipped together

Good fit Creating or modifying reusable action sequences, manual scripts, and scripts triggered by Home Assistant automations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/benny-lewis/home-assistant-assistant/ha-scripts
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Benny-Lewis/home-assistant-assistant --skill ha-scripts
Clone the repo
git clone --depth 1 https://github.com/Benny-Lewis/home-assistant-assistant

Made for: Claude Code.

Or install home-assistant-assistant, the plugin that ships this one along with the rest of its 15 skills, 6 agents, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ha-scripts

README.md
[![agentmods](https://agentmods.dev/badge/skills/benny-lewis/home-assistant-assistant/ha-scripts/github.svg)](https://agentmods.dev/skills/benny-lewis/home-assistant-assistant/ha-scripts)
Your own site
<a href="https://agentmods.dev/skills/benny-lewis/home-assistant-assistant/ha-scripts"><img src="https://agentmods.dev/badge/skills/benny-lewis/home-assistant-assistant/ha-scripts/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ha-scripts

Your own site · 80×15
<a href="https://agentmods.dev/skills/benny-lewis/home-assistant-assistant/ha-scripts"><img src="https://agentmods.dev/badge/skills/benny-lewis/home-assistant-assistant/ha-scripts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 92 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.00092
Opus 5 $0.00018 $0.00046
Sonnet 5 $0.00007 $0.00018
Haiku 4.5 $0.00004 $0.00009

Measured 10d ago against content hash 22c20f24a7ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

ha-scripts scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

codex-skills/ha-scripts/SKILL.md · 11 lines

What it actually says

ha-scripts

Codex compatibility wrapper.

First read ../../codex/references/skill-adapter.md, then read and follow ../../skills/ha-scripts/SKILL.md as the source of truth for this workflow.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 11 lines · 37 tokens per session scan A 22c20f24a7ed

Subscribe to this mod's changes

ha-scripts is a skill published in the GitHub repository Benny-Lewis/home-assistant-assistant (57 stars, last pushed 3mo ago), licensed MPL-2.0. It adds 37 tokens to every session and 92 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

intent-recognition

Classifies automation requests using two decisions: anchor (which primitive owns the top-level control flow — workflow-anchored, agent-anchored, needs-clarification, or out-of-scope) and embedsother (whether the other primitive appears embedded inside — an agent step inside a workflow, or a workflow invoked as an…

n8n-io/n8n · 146 tokens

workflow

A workflow skill for embedded-device projects that plans and runs building, flashing, debugging, observing, and diagnosis tasks.

zhinkgit/embeddedskills · 88 tokens

todoocard

A skill family for sending content to TodooCard, a six-colour electronic-paper display. It includes shared device setup and Bluetooth transfer, plus a route for the included nearby-food suggestion feature.

OpenMinis/MinisSkills · 83 tokens

bee-actions

Act back on the owner's Bee wearable — the TOOL half of the Bee integration (channels-vs-tools split). The Bee CHANNEL (ag2-sparrow's sources/bee.py watcher) pushes captured events AT the agent as ambient tasks; this skill is what the agent CALLS to read Bee's data surfaces and mutate them.

sonichi/sutando · 0 tokens

Workday 8AM Smart Speaker Wakeup

A recurring automated skill that triggers a wake-up alarm via connected smart speaker at 8 AM local time on workdays and skips alarms on holidays.

Fullive-AI/Anima · 38 tokens

triage-nda

Ten-minute NDA triage — classifies an incoming NDA as GREEN (sign under standard delegation), YELLOW (targeted fixes, listed), or RED (full review). Screens mutuality, term and survival, definition breadth, embedded non-solicits or non-competes, missing standard carve-outs, residuals clauses, and IP assignment…

alebgl77/claude-inc · 100 tokens