← 返回 Skills 市场
4797
总下载
13
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install homeassistant-cli
功能描述
Advanced Home Assistant control using the official hass-cli tool. Features auto-completion, event monitoring, history queries, and rich output formatting. Alternative to the curl-based homeassistant skill - choose this if you want a more interactive CLI experience with better discovery and formatting.
安全使用建议
Install this only if you want OpenClaw to help operate your Home Assistant instance. Use a restricted Home Assistant account if possible, keep HASS_TOKEN out of logs, screenshots, shell history, and version-controlled dotfiles, and require explicit confirmation before commands that affect alarms, locks, covers, climate, appliances, or security-related automations.
功能分析
Type: OpenClaw Skill
Name: homeassistant-cli
Version: 1.0.0
The skill bundle is a legitimate wrapper for the `hass-cli` tool, providing documentation and examples for Home Assistant control. It instructs the user to configure sensitive `HASS_TOKEN` and `HASS_SERVER` environment variables, which is standard for `hass-cli`. The use of `eval` for shell auto-completion in `references/autocomplete.md` is a common and expected pattern for CLI tools, not indicative of malicious execution. All commands and instructions are focused on interacting with Home Assistant and lack any evidence of data exfiltration, malicious execution, persistence, or prompt injection attempts against the agent.
能力评估
Purpose & Capability
The documented capabilities match the stated purpose: using hass-cli to list entities, monitor events, query history, and call Home Assistant services. Those capabilities can affect real devices, alarms, climate, automations, and household privacy, but that is inherent to the skill's purpose.
Instruction Scope
The artifacts are command documentation and examples, not hidden automatic execution. Some examples are state-changing and safety-sensitive, so user confirmation and careful entity selection are important.
Install Mechanism
The skill installs or requires the external homeassistant-cli package through pip or Homebrew and contains only markdown files itself. The external dependency is purpose-aligned, but users are relying on that package supply chain.
Credentials
HASS_SERVER and HASS_TOKEN are expected for hass-cli access. The token requirement is disclosed, but the docs give limited warning that the token may grant broad smart-home read/control access.
Persistence & Privilege
The README and SKILL.md suggest storing the token in shell startup files, and autocomplete setup uses a standard shell eval pattern. These are disclosed and common for CLI tooling, but users should protect the token and only enable completion from a trusted install.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install homeassistant-cli - 安装完成后,直接呼叫该 Skill 的名称或使用
/homeassistant-cli触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the homeassistant-cli skill.
- Provides advanced Home Assistant control using the official hass-cli tool.
- Features include auto-completion, real-time event monitoring, history queries, and rich output formatting (table/YAML/JSON).
- Offers enhanced interactivity and discoverability compared to curl-based alternatives.
- Includes setup instructions, common commands, and usage tips for a richer CLI experience.
元数据
常见问题
Home Assistant CLI 是什么?
Advanced Home Assistant control using the official hass-cli tool. Features auto-completion, event monitoring, history queries, and rich output formatting. Alternative to the curl-based homeassistant skill - choose this if you want a more interactive CLI experience with better discovery and formatting. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 4797 次。
如何安装 Home Assistant CLI?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install homeassistant-cli」即可一键安装,无需额外配置。
Home Assistant CLI 是免费的吗?
是的,Home Assistant CLI 完全免费(开源免费),可自由下载、安装和使用。
Home Assistant CLI 支持哪些平台?
Home Assistant CLI 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Home Assistant CLI?
由 JonesChi(@joneschi)开发并维护,当前版本 v1.0.0。
推荐 Skills