homescript
Skill by rusty4444
Homescript is an agent skill that turns natural-language home automation requests into scripts run against Home Assistant. It is for users who want Hermes to control their Home Assistant devices. The source says scripts are audited via the HA security layer before execution.
Install homescript
Built from the published package, never by AI.
git clone --depth 1 https://github.com/rusty4444/hermes-voice-ha-integration /tmp/hermes-voice-ha-integration && mkdir -p ~/.claude/skills && cp -r /tmp/hermes-voice-ha-integration/skills/homescript ~/.claude/skills/homescriptRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/rusty4444/hermes-voice-ha-integration /tmp/hermes-voice-ha-integration && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/hermes-voice-ha-integration/skills/homescript ~/.gemini/antigravity-cli/skills/homescriptAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Homescript is an agent skill that turns natural-language descriptions of home automations into execution plans. The user describes what they want, for example turning off all lights at 11 PM and setting the thermostat to 18°C. The assistant then runs the plan against a Home Assistant instance using the HA tools listed in the skill, including ha_search_entities, ha_get_state and ha_call_service.
Per the skill's execution rules, the assistant searches for exact entity IDs before scripting and verifies state before changing entities. Service calls go through ha_call_service, which enforces the HA allow-list and block-list. The skill describes scripts as workspace-safe and audited via the HA security layer before execution. It suits Home Assistant users who want to write automations in plain language and have the assistant run them.
Written from the project's SKILL.md and checked against it.
What it can do
- ha_search_entitiesFinds devices, scenes and automations to get exact entity_ids.
- ha_get_stateReads the current state of entities before they are changed.
- ha_call_serviceExecutes Home Assistant services, enforcing the HA allow-list and block-list.
- ha_bulk_controlRuns multiple operations in parallel.
- control_light_and_set_sceneRuns a compound light and scene operation.
- turn_off_all_exceptTurns off a domain as a whole, with listed exclusions.
What you need
- A Home Assistant instance
- Hermes to execute the scripts
- Terminal and file toolsets
Try asking
- Turn off all lights except the hallway at 22:00
- Set the thermostat to 18°C and turn off all lights at 11 PM
- Find all light entities in my Home Assistant and report their state
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/homescript/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md2 KB
Alternatives to homescript
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
homescript: common questions
Does Homescript check entity IDs before running a script?
Yes. The skill tells the assistant to run ha_search_entities first and never assume an entity_id exists.
How are service calls restricted?
Service calls go through ha_call_service, which enforces the HA allow-list and block-list.
What happens if a service call fails?
The assistant reports the exact error from the HA response.
How do I install homescript?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is homescript free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is homescript safe to use?
It scores 70 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to homescript?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
