lllooollpp/clawdbot-cn/mijia-control
Claude Code and agent skill by lllooollpp/clawdbot-cn
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Control and monitor Xiaomi Mijia smart home devices. Use this skill when the user wants to: 1) Switch device status (on/off, brightness, etc.) 2) List available home devices 3) Run automation scenes 4) Check environmental statistics.
Install
npx vskill@latest install lllooollpp/clawdbot-cn/mijia-controlSKILL.md
Mijia Control Skill (Universal AI Agent Skill)
该技能使 AI 代理能够通过本地封装的 mijiaAPI 驱动,接管并控制小米米家智能家居设备。
注意:本技能包内的所有脚本路径均为相对于本文件所在目录。执行时请务必使用绝对路径。
快速开始
- 环境自检:运行
<SKILL_ROOT>/scripts/setup_env.py。 - 安装/登录:
- 安装:
python <SKILL_ROOT>/scripts/setup_env.py --install。 - 登录:运行
mijiaAPI -l。
- 执行控制:所有操作均通过
<SKILL_ROOT>/scripts/下的脚本完成。
决策逻辑 (Decision Logic)
- 设备查询:当用户询问“有哪些设备”、“状态如何”时 -> 执行
scripts/list_devices.py获取实时快照。 - 设备控制:当用户要求开关、调节亮度/温度等 -> 解析意图 -> 查阅
reference/device_catalogs.md-> 执行scripts/control_device.py。 - 场景触发:用户要求运行场景 -> 调用 CLI 命令执行。
约束建议 (Guardrails)
- 对于窗帘、空调、锁等涉及安全和昂贵能耗的设备,操作前需口头确认。
- 绝不向用户泄露
auth.json中的敏感 Token。
更多信息
- 详尽 SOP 请参阅 instructions.md。
Security
- Security scanPassed, 96 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/mijia-control/SKILL.md
Popularity
- Repository stars
- 37
- Repository forks
- 8
- Repository npm downloads, 7 days
- 17
- 7-day trend score
- 28
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 18 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lllooollpp/clawdbot-cn/mijia-control)