← Back to Skills Marketplace
vividlife

xiaodu-iot

by vividlife · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
251
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install xiaodu-iot
Description
小度智能设备控制技能。用于控制小度音箱、IoT设备、查看设备列表、语音播报等。当用户需要控制小度智能设备、查询设备状态、发送语音指令或管理智能家居时使用此技能。
Usage Guidance
Before installing or running this skill: - Inspect and verify credentials: the skill requires a Baidu/DuerOS ACCESS_TOKEN but the metadata doesn't declare it. Do not paste tokens into scripts; store them securely and confirm where the token is read from (mcporter config or env). - Check required tooling: ensure mcporter, jq, and npx are present and trusted. npx will fetch the 'dueros-iot-mcp' package at runtime — review that package's source before allowing it to be fetched/executed. - Review file writes: the scripts create/overwrite files under your home workspace (logs, device lists, and MEMORY.md). If you do not want device identifiers or control logs persisted, do not run the update scripts or run them in a sandboxed environment. - Confirm paths and portability: files reference inconsistent paths (~/openclaw/workspace vs $HOME/.openclaw/workspace) and use sed -i '' (macOS style) which may behave unexpectedly on Linux — test in a safe environment first. - Camera/resource capabilities: reference docs mention xiaodu_take_photo and push_resource_to_xiaodu (push images/audio/video). If your devices have cameras or can render resources, consider the privacy implications and ensure you trust the endpoints and tokens used. Recommendations for the author or maintainer before you trust this skill: - Add requires.env entries (e.g., ACCESS_TOKEN) and declare required binaries (mcporter, jq, npx). - Provide an explicit install spec or a list of runtime dependencies and the exact npm package to be installed, plus a checksum or source link for the package. - Make persistence explicit and optionally configurable (e.g., allow choosing workspace directory or a dry-run mode; do not silently update MEMORY.md). If you are unsure or cannot verify the external npm package and token handling, run the skill only in an isolated environment (VM/container) and do not provide long-lived credentials.
Capability Analysis
Type: OpenClaw Skill Name: xiaodu-iot Version: 1.0.0 The skill bundle is a well-structured integration for controlling Xiaodu (Baidu) smart home devices and speakers via the Model Context Protocol (MCP). It provides utility scripts for device discovery (update_devices.sh), batch IoT control (batch_control.sh), and voice broadcasting (speak_message.sh), all of which use standard tools like mcporter and jq. While the skill requires shell and network access to interact with the Xiaodu ecosystem, its behavior is strictly aligned with its stated purpose, and no evidence of data exfiltration, credential theft, or malicious intent was found.
Capability Assessment
Purpose & Capability
The skill claims to control Xiaodu speakers and IoT devices (requires an ACCESS_TOKEN and MCP configuration), which is coherent with the included scripts. However the declared metadata lists no required environment variables or binaries while the code clearly expects an Access Token, the mcporter CLI, jq, and npx (for dueros-iot-mcp). This mismatch (missing declarations) is disproportionate and confusing.
Instruction Scope
SKILL.md and the scripts instruct the agent to run mcporter commands and to read/write files under the user's home workspace (e.g., ~/openclaw/workspace and $HOME/.openclaw/workspace). The scripts update log files and edit a MEMORY.md file (agent memory) which could persist device information. Paths are inconsistent across files (~/openclaw/workspace vs $HOME/.openclaw/workspace). The instructions do not declare or warn about persisting potentially sensitive device identifiers or tokens.
Install Mechanism
There is no install spec (instruction-only), which lowers install-time risk. However runtime commands (scripts and config_template.json) rely on npx to fetch the 'dueros-iot-mcp' npm package and on mcporter being present; npx will download code from npm at runtime if not already installed, which is a moderate risk and should be declared. No external archive downloads or obscure URLs were found.
Credentials
The skill metadata declares no required env vars, but config_template.json and SKILL.md assume an ACCESS_TOKEN (DuerOS token) and scripts expect to use it via mcporter/npx. The primary credential is not declared. Requesting an Access Token is appropriate for the stated purpose, but the omission from requires.env is an incoherence and may lead to accidental misconfiguration or token leakage.
Persistence & Privilege
always:false (good). The skill writes device lists, logs, and updates a MEMORY.md file in the user's workspace. Writing these files is plausible for a device-management skill, but the behavior is significant (persists device identifiers and logs). The skill does not ask to modify other skills or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install xiaodu-iot
  3. After installation, invoke the skill by name or use /xiaodu-iot
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
xiaodu-iot 1.0.0 — Initial Release - Introduces a comprehensive skill for controlling Xiaodu smart speakers and IoT devices. - Supports device discovery, status query, voice commands, broadcast, and batch device control. - Includes scene management (listing and triggering smart home scenes). - Provides example scripts for device list updates, batch control, and voice broadcasting. - Features automatic daily device list updates and troubleshooting guidance.
Metadata
Slug xiaodu-iot
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is xiaodu-iot?

小度智能设备控制技能。用于控制小度音箱、IoT设备、查看设备列表、语音播报等。当用户需要控制小度智能设备、查询设备状态、发送语音指令或管理智能家居时使用此技能。 It is an AI Agent Skill for Claude Code / OpenClaw, with 251 downloads so far.

How do I install xiaodu-iot?

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

Is xiaodu-iot free?

Yes, xiaodu-iot is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does xiaodu-iot support?

xiaodu-iot is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created xiaodu-iot?

It is built and maintained by vividlife (@vividlife); the current version is v1.0.0.

💬 Comments