← Back to Skills Marketplace
ivangdavila

Tuya Smart

by Iván · GitHub ↗ · v1.0.0
linuxdarwinwin32 ✓ Security Clean
328
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install tuya
Description
Control and automate Tuya Smart devices with official cloud APIs, secure request signing, region-aware routing, and safe command execution.
Usage Guidance
This skill appears coherent and uses only Tuya credentials and standard CLI tools, but before installing: ensure you trust the skill source (homepage/source unknown), set TUYA_ACCESS_ID and TUYA_ACCESS_SECRET as environment variables rather than pasting secrets into chat, use least-privilege/rotatable credentials, confirm you are comfortable with the skill creating ~/tuya (inspect its contents and permissions), and rotate or revoke keys if you stop using the skill.
Capability Analysis
Type: OpenClaw Skill Name: tuya Version: 1.0.0 The Tuya Smart skill bundle is a well-structured integration for managing Tuya IoT devices via official cloud APIs. It includes comprehensive documentation for authentication (HMAC-SHA256 signing), device discovery, and safety-conscious execution workflows (read-before-write, dry-runs, and user confirmation for high-impact actions). The setup process in `setup.md` uses standard shell commands to initialize a local state directory (`~/tuya/`) with restrictive file permissions (chmod 700/600), and the skill explicitly warns against exfiltrating secrets or using unauthorized endpoints.
Capability Assessment
Purpose & Capability
Name/description, required env vars (TUYA_ACCESS_ID, TUYA_ACCESS_SECRET), and required binaries (curl, jq, openssl) match the documented need to sign HMAC requests, call Tuya OpenAPI endpoints, and process JSON responses. Nothing requested appears extraneous to Tuya cloud integration and device control.
Instruction Scope
Instructions are focused on Tuya API auth, signature construction, device discovery, read-before-write control loops, and safe rollout playbooks. The skill directs creation of a local workspace at ~/tuya for notes and short-lived token caching; the docs explicitly advise not to store raw secrets. This behavior is coherent for an integration skill but users should verify local files and token caching policies before use.
Install Mechanism
Instruction-only skill with no install spec or third-party downloads; lowest install risk. It relies on standard CLI utilities (curl, jq, openssl) already expected on target systems.
Credentials
Only TUYA_ACCESS_ID and TUYA_ACCESS_SECRET are required and the primary credential is the access secret — this is proportionate and necessary for Tuya OpenAPI signing. No unrelated secrets or multiple external credentials are requested.
Persistence & Privilege
always:false and normal autonomous invocation allowed. The skill writes/uses its own workspace under the user's home (~ /tuya) and does not request elevated OS-wide privileges or modify other skills. The storage and file-permission recommendations (chmod 700/600) are reasonable.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install tuya
  3. After installation, invoke the skill by name or use /tuya
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release with end-to-end Tuya Smart workflows for authentication, account linking, device control, diagnostics, and safe rollout playbooks.
Metadata
Slug tuya
Version 1.0.0
License
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Tuya Smart?

Control and automate Tuya Smart devices with official cloud APIs, secure request signing, region-aware routing, and safe command execution. It is an AI Agent Skill for Claude Code / OpenClaw, with 328 downloads so far.

How do I install Tuya Smart?

Run "/install tuya" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Tuya Smart free?

Yes, Tuya Smart is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Tuya Smart support?

Tuya Smart is cross-platform and runs anywhere OpenClaw / Claude Code is available (linux, darwin, win32).

Who created Tuya Smart?

It is built and maintained by Iván (@ivangdavila); the current version is v1.0.0.

💬 Comments