← 返回 Skills 市场
joneschi

Home Assistant CLI

作者 JonesChi · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
6273
总下载
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 only if you are comfortable giving a CLI broad Home Assistant access. Use HTTPS with certificate verification, avoid storing long-lived tokens in shell startup files, never print or paste the token, prefer a secret manager or restricted config, and test state-changing commands only on verified non-critical entities with explicit user confirmation.
功能分析
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.
能力评估
⚠ Credentials
The skill needs a Home Assistant server URL and long-lived token, which is expected, but the docs recommend persistent shell exports, include an HTTP example, and suggest --insecure troubleshooting without adequate credential and transport warnings.
ℹ Install Mechanism
The OpenClaw metadata offers pip and Homebrew installation of homeassistant-cli by mutable package/formula name, which is purpose-aligned but unpinned and relies on the upstream package supply chain.
⚠ Instruction Scope
The skill gives direct service-call and scripting examples for lights, switches, climate, covers, automations, notifications, media players, and alarms, but does not clearly separate read-only discovery from state-changing actions or warn about physical impact.
⚠ Persistence & Privilege
The skill does not install a backdoor or background service, but it tells users to persist HASS_TOKEN in shell configuration and add eval-based shell completion to rc files, creating persistent credential and shell-startup exposure.
⚠ Purpose & Capability
The stated purpose matches the artifacts: installing and using hass-cli to query and control Home Assistant. The concern is that examples include real physical-device and security-relevant actions without clear cautions or confirmation guidance.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install homeassistant-cli
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /homeassistant-cli 触发
  4. 根据 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.
元数据
Slug homeassistant-cli
版本 1.0.0
许可证 —
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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 插件,目前累计下载 6273 次。

如何安装 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。

💬 留言讨论