tuya-smart-control SKILL.md skillA

tuya-smart-control from tuya/tuya-openclaw-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add tuya/tuya-openclaw-skills/tuya-smart-control@git:20261030.5be0835

Pins git:20261030.5be0835 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
tuya/tuya-openclaw-skills
Path
tuya-smart-control/SKILL.md
Versions recorded
5
Latest version
git:20261030.5be0835, committed Oct 30, 2026
First version recorded
Apr 2, 2026
Size
21,439 bytes
Repository stars
483
License
MIT

Control Tuya smart home devices via natural language. Use when the user asks to control smart devices (turn on/off lights, AC, plugs, adjust brightness/temperature/mode), query device status or list devices, manage homes and rooms, rename devices, check weather by location, send notifications (SMS, voice call, email, or App push), view device data statistics (e.g. energy/power consumption), capture snapshots/short videos from IPC cameras, or subscribe to real-time device events…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Tuya Smart Home Device Control Skill

## Basic Information

- **Official Website**: https://www.tuya.com/
- **Source Code**: https://github.com/tuya/tuya-openclaw-skills
- **Authentication**: Via Header `Authorization: Bearer {Api-key}`
- **Credentials**: Read from environment variable `TUYA_API_KEY` — obtain it at [tuyasmart.com](https://tuyasmart.com/) (China Mainland) or [tuya.ai](https://tuya.ai/) (International). Base URL is auto-detected from API key prefix. See `references/api-conventions.md` for the prefix-to-region mapping table. You can override by setting `TUYA_BASE_URL`.
- **API Reference**: See individual files under `references/`
- **Python SDK**: See `scripts/tuya_api.py`
- **Device Message Client**: See `scripts/tuya_device_mq_client.py` (real-time WebSocket subscription)

## Environment Variable Configuration

Set the following environment variable before use:

```bash
export TUYA_API_KEY="your-tuya-api-key"
# TUYA_BASE_URL is optional — auto-detected from API key prefix
# Override only if needed: export TUYA_BASE_URL="https://openapi.tuyaus.com"
```

Where to get an API Key:

| User Type | Where to Get |
|-----------|-------------|
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add tuya/tuya-openclaw-skills/tuya-smart-control@sha256:8cf078de1a7a7244

The line at the top of this page pins the label git:20261030.5be0835, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_xt77nnbrfb5wzuep.svg)](https://markdownregistry.com/a/art_xt77nnbrfb5wzuep)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Apr 2, 2026 and Oct 30, 2026, about one every 53 days.

versioncommittedcommitsizeaudit
git:20261030.5be0835 latest2026-10-30 5be0835 21,439 BA view · diff
git:20260428.a4b45eb2026-04-28 a4b45eb 20,937 BA view · diff
git:20260416.17fe45c2026-04-16 17fe45c 21,275 BA view · diff
git:20260402.266add22026-04-02 266add2 17,021 BA view · diff
git:20260402.ed459702026-04-02 ed45970 15,997 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (21439 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

tuya/tuya-openclaw-skills · 483 stars · license MIT · pushed 2026-10-30 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_xt77nnbrfb5wzuep
GET https://markdownregistry.com/api/v1/resolve?ref=tuya/tuya-openclaw-skills/tuya-smart-control
GET https://markdownregistry.com/api/v1/blob/8cf078de1a7a7244b2ea2ff267c99eca762026950f2b0a6e4446873d685c4312

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from tuya/tuya-openclaw-skills

gadget-tuya-cloud-devices SKILL.md skill
tuya/tuya-openclaw-skills · platforms/muse/SKILL.md · Read status and control the user's Tuya app devices through Tuya's cloud end-user API with a user-supplied API key…
git:20261010.9f3c3bd · audit A · 483 stars

Every file in tuya/tuya-openclaw-skills

Browse by kind, by grade A, or by owner.