← 返回 Skills 市场
120
总下载
0
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install tradfri-lights
功能描述
Control IKEA TRÅDFRI lights and groups through a local TRÅDFRI gateway using the native gateway API via node-tradfri-client. Use when the user wants to list...
安全使用建议
This skill appears to do what it says: control a local IKEA TRÅDFRI gateway. Before installing/run it: 1) Ensure Node.js is available and run `npm install` in the skill folder as instructed. 2) Provide gateway credentials only via config.json or the env vars TRADFRI_HOST / TRADFRI_IDENTITY / TRADFRI_PSK — do not publish these values. 3) Be aware the script must be able to reach the gateway on your local network; run it from a host with network access to the gateway. 4) Review scripts/tradfri.js yourself (it is included) if you have concerns — it operates locally and does not contact external services. 5) Note minor metadata omissions: the registry did not declare the env vars or the Node binary requirement; treat that as a packaging/documentation issue rather than a security red flag. If you want higher assurance, run the script in a controlled environment (or inspect and run it manually) before allowing autonomous agent invocation.
功能分析
Type: OpenClaw Skill
Name: tradfri-lights
Version: 0.2.0
The skill provides a legitimate interface for controlling IKEA TRÅDFRI smart lights via a local gateway using the node-tradfri-client library. The implementation in scripts/tradfri.js includes standard features for IoT automation such as device discovery, group management, and state verification. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found; the skill correctly advises the agent to keep credentials private and seek confirmation for large-scale actions.
能力评估
Purpose & Capability
The name/description (local TRÅDFRI gateway control) align with the provided scripts and instructions: the script uses node-tradfri-client and operates only against a locally reachable gateway host. Minor metadata mismatch: the registry lists no required env vars or binaries, while the SKILL.md and script require Node.js and allow TRADFRI_HOST/TRADFRI_IDENTITY/TRADFRI_PSK (and a few tuning env vars). This appears to be an omission in metadata rather than malicious intent.
Instruction Scope
SKILL.md instructs running the included script and installing dependencies (npm install). The runtime instructions and operating rules limit actions to the local TRÅDFRI gateway and ask for confirmation on bulk/house actions; the script reads local config.json and environment variables. The instructions do not direct data to external endpoints beyond the gateway, nor do they ask to read unrelated system files.
Install Mechanism
This is instruction-only (no autoinstall spec). The user is told to run `npm install` in the skill folder to install node-tradfri-client. No downloads from untrusted URLs or remote extract/install steps are present. The lack of an install spec and the requirement to run npm manually is normal but should be noted by the user.
Credentials
The script legitimately needs only local gateway credentials (identity/psk) and the gateway host. Those are the only sensitive values used. However, the registry metadata did not declare these environment variables or the implicit Node requirement; additionally the script accepts extra tuning env vars (TRADFRI_SETTLE_MS, TRADFRI_RETRIES, TRADFRI_RETRY_DELAY_MS) that are not documented in the registry metadata. This is a proportional but partly undocumented set of env vars.
Persistence & Privilege
The skill is not always-enabled, does not request elevated platform privileges, and does not modify other skills or global agent configuration. It runs as a local script when invoked and therefore has only the privileges of the process that executes it.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install tradfri-lights - 安装完成后,直接呼叫该 Skill 的名称或使用
/tradfri-lights触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.2.0
Add retries, settle-delay verification, floor commands, and layout presets with device-level checks.
v0.1.2
Clarify npm dependency installation, runtime requirements, and local gateway setup.
v0.1.1
Add group brightness support, expose lamp group mapping, and document post-action verification.
v1.0.1
Repository polish: add license and repo metadata
v1.0.0
Initial public release
元数据
常见问题
TRÅDFRI Lights 是什么?
Control IKEA TRÅDFRI lights and groups through a local TRÅDFRI gateway using the native gateway API via node-tradfri-client. Use when the user wants to list... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 120 次。
如何安装 TRÅDFRI Lights?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install tradfri-lights」即可一键安装,无需额外配置。
TRÅDFRI Lights 是免费的吗?
是的,TRÅDFRI Lights 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
TRÅDFRI Lights 支持哪些平台?
TRÅDFRI Lights 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 TRÅDFRI Lights?
由 ymebosma(@ymebosma)开发并维护,当前版本 v0.2.0。
推荐 Skills