← 返回 Skills 市场
Tuya Cloud
作者
minshi-veyt
· GitHub ↗
· v1.0.5
· MIT-0
513
总下载
0
收藏
2
当前安装
6
版本数
在 OpenClaw 中安装
/install tuya-cloud
功能描述
Read sensor data and control Tuya IoT devices via Tuya Cloud API or local LAN. Use when the user wants to list devices, read temperature, humidity, soil mois...
安全使用建议
This skill appears coherent and implements the documented Tuya Cloud + LAN functionality. Before installing: (1) Only supply TUYA_ACCESS_ID/TUYA_ACCESS_SECRET from a dedicated Tuya Cloud project you control (preferably scoped to only the devices you want the agent to manage). These keys allow remote control of devices—treat them like secrets. (2) Be aware local LAN scanning uses UDP broadcasts and control_local/read_local requires device IPs and local_keys; this is expected for LAN control. (3) The code depends on PyPI packages (tinytuya, python-dotenv); verify/upstream trust if supply-chain risk is a concern. (4) Review scripts/config.py for any hard-coded device IDs you don’t want exposed, and provide test_data.env or .env only with non-sensitive test values. (5) If you will allow the agent to invoke skills autonomously, understand it could send commands to your devices; disable autonomous invocation if you don’t want that capability.
功能分析
Type: OpenClaw Skill
Name: tuya-cloud
Version: 1.0.5
The tuya-cloud skill bundle is a legitimate tool for managing Tuya/Smart Life IoT devices via the Tuya Cloud API and local LAN. The core logic in scripts/tuya_controller.py utilizes the reputable tinytuya library to perform standard operations such as listing devices, reading sensor data, and sending commands to switches or valves. The SKILL.md file provides clear, functional instructions for an AI agent without any evidence of prompt injection or malicious intent. While the skill requires sensitive API credentials (TUYA_ACCESS_SECRET), they are used exclusively for authenticating with official Tuya endpoints, and there are no indicators of data exfiltration, unauthorized execution, or persistence mechanisms.
能力评估
Purpose & Capability
Name/description, required binaries (python3), required env vars (TUYA_ACCESS_ID, TUYA_ACCESS_SECRET) and the included Python code (scripts/tuya_controller.py) are consistent with a Tuya Cloud + local-LAN controller. The skill depends on tinytuya and uses Tuya OpenAPI endpoints and local UDP scanning as expected.
Instruction Scope
SKILL.md only instructs reading credentials from .env, calling listed cloud endpoints, and performing local LAN UDP scans and LAN device commands. It does not instruct the agent to read unrelated files or exfiltrate data to non-Tuya endpoints. It does advise consulting scripts/config.py for known device IDs (which is reasonable).
Install Mechanism
This is an instruction-only skill (no binary installer). It relies on pip-installable packages (tinytuya, python-dotenv) listed in requirements.txt — a normal choice but carries normal PyPI supply-chain risk. No downloads from arbitrary URLs or archive extraction are present.
Credentials
Only TUYA_ACCESS_ID and TUYA_ACCESS_SECRET (plus optional TUYA_API_ENDPOINT) are required; these are the correct credentials for the Tuya OpenAPI and are proportional to a controller that can list and command devices. Note: those credentials grant programmatic control of everything in the Tuya cloud project, so scope and trust of the project matter.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system settings, and has no install script that writes system-wide files. Autonomous invocation is enabled by default on the platform (disable-model-invocation=false) but that is the platform default and not a unique escalation from this skill.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install tuya-cloud - 安装完成后,直接呼叫该 Skill 的名称或使用
/tuya-cloud触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.5
- Added support for direct local LAN control of Tuya devices (scan, read, control without cloud).
- Expanded documentation for dual-channel valve devices and channel-specific control.
- Documented new CLI tools: scan_local, read_local, control_local.
- Updated API endpoints to match current Tuya recommendations.
- Improved troubleshooting tips for local network and Zigbee sub-device scenarios.
v1.0.4
- Added Openclaw integration metadata to SKILL.md, specifying required environment variables and binaries.
- No code or functionality changes; documentation and metadata update only.
v1.0.3
Add installation guide in README.md
v1.0.2
- Added sample environment file: tests/test_data.env.example
- Changed skill name format from tuya_cloud to tuya-cloud and added an explicit MIT license in SKILL.md
- Updated and reorganized documentation to clarify usage of all tools, parameters, and environment setup
- Enhanced documentation for tool arguments, especially for countdown timer values and device control commands
- No code changes to scripts or core functionality; update is documentation and example-focused
v1.0.1
Update Skill file
v1.0.0
Initial release
元数据
常见问题
Tuya Cloud 是什么?
Read sensor data and control Tuya IoT devices via Tuya Cloud API or local LAN. Use when the user wants to list devices, read temperature, humidity, soil mois... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 513 次。
如何安装 Tuya Cloud?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install tuya-cloud」即可一键安装,无需额外配置。
Tuya Cloud 是免费的吗?
是的,Tuya Cloud 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Tuya Cloud 支持哪些平台?
Tuya Cloud 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Tuya Cloud?
由 minshi-veyt(@minshi-veyt)开发并维护,当前版本 v1.0.5。
推荐 Skills