← 返回 Skills 市场
718
总下载
0
收藏
2
当前安装
2
版本数
在 OpenClaw 中安装
/install philips-hue
功能描述
Local control of Philips Hue lights via API v1.
安全使用建议
This skill appears to do exactly what it says: control a local Philips Hue Bridge using a small shell script. Before installing: (1) review hue.sh (it’s short and readable) and confirm it will call only your local BRIDGE_IP; (2) understand the script expects a .env file in the skill directory with BRIDGE_IP and USERNAME (Hue API key) — do not put other secrets there; (3) the SKILL.md/metadata mention jq but the script doesn't use it (safe but unnecessary); (4) pair your bridge by pressing its physical button as documented; (5) run the script with minimal privileges (don’t run as root) and ensure your Hue Bridge is on a trusted LAN segment (don’t expose it to the Internet). If you want extra assurance, run the script in a controlled environment and monitor network calls to ensure no unexpected external endpoints are contacted.
功能分析
Type: OpenClaw Skill
Name: philips-hue
Version: 1.0.1
The `hue.sh` script contains a critical Python code injection vulnerability. User-supplied hex color values are directly interpolated into a `python3` script within the `hex_to_hsb` function without proper sanitization. This allows an attacker to inject and execute arbitrary Python code on the host system, leading to Remote Code Execution (RCE). While the skill's stated purpose is benign, this severe input sanitization flaw makes it suspicious due to the potential for exploitation.
能力评估
Purpose & Capability
The name/description match the provided code: hue.sh implements local Philips Hue API v1 calls. Minor inconsistency: SKILL metadata and SKILL.md list 'jq' as a required binary, but the script does not call jq. Also, registry 'required env vars' is empty while SKILL.md instructs the user to create a local .env with BRIDGE_IP and USERNAME (this is a local config file, not platform-level env vars).
Instruction Scope
SKILL.md instructs only local setup (press bridge button, create .env) and use of hue.sh. The script sources .env from its own directory and performs HTTP calls to the local bridge IP only. There are no instructions to read unrelated files, access other system configs, or transmit data to external endpoints.
Install Mechanism
No install spec (instruction-only skill) and the included hue.sh is bundled with the skill. Nothing is downloaded or extracted from external URLs; risk from install mechanism is low.
Credentials
The skill requires BRIDGE_IP and USERNAME (Hue API key) stored in a local .env file — appropriate and proportionate for local Hue control. The registry declares no required platform env vars, which matches that secrets are stored in a local .env rather than requested from the platform. Minor mismatch: SKILL.md/metadata lists 'jq' as required though it's unused.
Persistence & Privilege
The skill does not request persistent platform privileges (always: false). It doesn't modify other skills or system-wide settings and only reads a .env from its own directory. Autonomous invocation is allowed by default (normal) but not combined with other concerning behavior.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install philips-hue - 安装完成后,直接呼叫该 Skill 的名称或使用
/philips-hue触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added support for controlling lights using HTML hex color codes (e.g., "#3399FF").
- Updated prerequisites to include `python3` alongside `curl` and `jq`.
- Expanded documentation to clarify usage of named and hex color codes.
- Minor clarifications in installation and usage instructions.
v1.0.0
Initial release of the Philips Hue Skill.
- Provides local control of Philips Hue lights using the Bridge and API v1.
- Supports turning lights on/off, adjusting brightness, changing colors, and chaining multiple actions in one command.
- Easy setup with `.env` configuration and pairing instructions.
- Includes a shell script (`hue.sh`) for fast and flexible command-line control.
- Documentation details supported features and usage examples.
元数据
常见问题
Philips Hue 是什么?
Local control of Philips Hue lights via API v1. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 718 次。
如何安装 Philips Hue?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install philips-hue」即可一键安装,无需额外配置。
Philips Hue 是免费的吗?
是的,Philips Hue 完全免费(开源免费),可自由下载、安装和使用。
Philips Hue 支持哪些平台?
Philips Hue 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Philips Hue?
由 Aprilox(@aprilox)开发并维护,当前版本 v1.0.1。
推荐 Skills