Home Assistant CLI

PassAudited by ClawScan on May 10, 2026.

Overview

This skill is a transparent Home Assistant CLI guide, but it uses a long-lived Home Assistant token and can control real smart-home devices, so it should be treated as powerful rather than malicious.

Install this only if you want OpenClaw to help operate your Home Assistant instance. Use a restricted Home Assistant account if possible, protect HASS_TOKEN carefully, and require explicit confirmation before commands that affect security, alarms, climate, locks, appliances, or other safety-sensitive devices.

Findings (4)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

An agent using this skill with a valid token could turn devices on or off, change automations, adjust climate settings, or arm an alarm if the user asks or if the agent misapplies a command.

Why it was flagged

The skill documents Home Assistant service calls that can change home security or device state. This is aligned with the smart-home control purpose, but it is high-impact if invoked incorrectly.

Skill content
hass-cli service call alarm_control_panel.alarm_arm_away --arguments entity_id=alarm_control_panel.home
Recommendation

Use this skill only when you want the agent to control Home Assistant, and require clear confirmation before service calls affecting locks, alarms, climate, appliances, or security automations.

What this means

Anyone or any process with access to the token may be able to read Home Assistant state and control devices according to that Home Assistant user's permissions.

Why it was flagged

The skill requires a Home Assistant access token. That credential is expected for this integration, but it may grant broad control over the user's Home Assistant instance.

Skill content
Generate a long-lived access token ... export HASS_TOKEN=<your-token>
Recommendation

Create the least-privileged Home Assistant user/token practical for this use, store the token securely, rotate it if exposed, and avoid pasting it into chats or logs.

What this means

Home Assistant state or history output could expose private information such as who is home, device usage patterns, or security-related events.

Why it was flagged

The documented queries can retrieve presence, device state, and history information that may reveal household routines or occupancy.

Skill content
Check if Anyone is Home ... hass-cli state list person ... hass-cli state get person.jones
Recommendation

Ask the agent to retrieve only the specific entities needed, and avoid sharing broad state/history outputs unless necessary.

What this means

If the installed hass-cli package or local environment were compromised, shell completion setup could execute unwanted code at shell startup.

Why it was flagged

The autocomplete setup evaluates shell code generated by hass-cli. This is a common CLI completion pattern and is disclosed, but it runs generated code when enabled in shell startup files.

Skill content
eval "$( _HASS_CLI_COMPLETE=bash_source hass-cli)"
Recommendation

Enable autocomplete only after installing hass-cli from a trusted source, and remove the eval line from shell config if you no longer use it.