← 返回 Skills 市场
216
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install smartpi-iot
功能描述
智能公元 IoT 设备控制插件。可控制灯光、加湿器、窗帘等设备,支持查询设备状态。
安全使用建议
Before installing: 1) Note the mismatch between the registry summary (which declared no required env vars) and the SKILL.md (which requires SMARTPI_TOKEN and SMARTPI_DEVICE_KEY). Confirm the platform will store those secrets in a secure secret store rather than exposing them in logs or shell history. 2) Verify the API hostname (https://mcp.aimachip.com) is legitimate and intended for your SmartPi devices — the skill homepage is smartpi.cn but the API uses aimachip.com, which could be legitimate (third‑party backend) but should be confirmed. 3) Prefer creating a short-lived or least-privilege token for this skill and avoid reusing high‑privilege tokens (e.g., admin keys). 4) Because the SKILL.md suggests writing a script to ~/.openclaw/workspace, review that file after creation and ensure it has appropriate permissions (no world-readable tokens). 5) If you allow autonomous invocation, be aware the agent could call the API whenever triggered; consider limiting invocation or testing first with a non-critical device. If anything about the origin or endpoints cannot be verified, treat the skill as untrusted and do not provide real credentials.
功能分析
Type: OpenClaw Skill
Name: smartpi-iot
Version: 1.0.0
The smartpi-iot skill provides standard IoT device control functionality for SmartPi devices. It uses curl to interact with the mcp.aimachip.com API, requiring a user-provided token and device key. The code and instructions in SKILL.md are consistent with the stated purpose and do not exhibit any signs of data exfiltration, malicious execution, or prompt injection.
能力评估
Purpose & Capability
The SKILL.md describes an IoT control skill (lights, humidifier, curtains) and only needs curl plus two credentials (SMARTPI_TOKEN and SMARTPI_DEVICE_KEY), which is coherent with the stated purpose. However, the registry metadata at the top of the submission listed 'Required env vars: none' while the embedded SKILL.md metadata and instructions require two environment variables — this mismatch is inconsistent.
Instruction Scope
Instructions only show curl POSTs to the documented API and provide an optional helper script to write under ~/.openclaw/workspace/skills/smartpi-iot/scripts/iot-control.sh. The skill does not instruct reading unrelated system files or exfiltrating data to unexpected endpoints. The script does persist a file under the user's OpenClaw workspace (which is normal for a skill), but that write location was not listed in the top-level registry 'required config paths', another small inconsistency.
Install Mechanism
This is an instruction-only skill with no install spec or remote downloads; required binary is curl. That is low-risk from an install/execution perspective.
Credentials
The two environment variables requested by SKILL.md (SMARTPI_TOKEN, SMARTPI_DEVICE_KEY) are appropriate for IoT API access and are proportionate. The concern is that the skill registry summary omitted these requirements (listed 'none'), so the platform-level metadata does not match the runtime instructions. Also the SKILL.md uses plaintext environment interpolation in curl commands; users should avoid exposing tokens in logs/command history and use platform secret storage where available.
Persistence & Privilege
The skill does not request always:true and uses normal user-invocable/default autonomous invocation. It does suggest creating a helper script in the user's OpenClaw workspace (local to the agent), which is reasonable and limited in scope. The skill does not ask to modify other skills or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install smartpi-iot - 安装完成后,直接呼叫该 Skill 的名称或使用
/smartpi-iot触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
smartpi-iot 1.0.0
- 首个版本,支持智能公元(SmartPi)IoT 设备控制。
- 增加对灯光、加湿器、窗帘的开关与状态查询命令。
- 支持灯光亮度调节。
- 提供 curl 示例和快捷脚本,方便命令行调用。
- 完善参数说明、响应格式和使用示例。
- 明确所需环境变量和安全注意事项。
元数据
常见问题
smartpi-iot 是什么?
智能公元 IoT 设备控制插件。可控制灯光、加湿器、窗帘等设备,支持查询设备状态。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 216 次。
如何安装 smartpi-iot?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install smartpi-iot」即可一键安装,无需额外配置。
smartpi-iot 是免费的吗?
是的,smartpi-iot 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
smartpi-iot 支持哪些平台?
smartpi-iot 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 smartpi-iot?
由 namishisu(@namishisu)开发并维护,当前版本 v1.0.0。
推荐 Skills