mijia-control

Solid

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.

AI & Automation 30 stars 3 forks Updated 3 months ago MIT

Install

View on GitHub

Quality Score: 71/100

Stars 20%
50
Recency 20%
50
Frontmatter 20%
70
Documentation 15%
38
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Mijia Control Skill (Universal AI Agent Skill) 该技能使 AI 代理能够通过本地封装的 `mijiaAPI` 驱动,接管并控制小米米家智能家居设备。 > **注意**:本技能包内的所有脚本路径均为相对于本文件所在目录。执行时请务必使用**绝对路径**。 ## 快速开始 1. **环境自检**:运行 `<SKILL_ROOT>/scripts/setup_env.py`。 2. **安装/登录**: - 安装:`python <SKILL_ROOT>/scripts/setup_env.py --install`。 - 登录:运行 `mijiaAPI -l`。 3. **执行控制**:所有操作均通过 `<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](./instructions.md)。

Details

Author
lllooollpp
Repository
lllooollpp/clawdbot-cn
Created
3 months ago
Last Updated
3 months ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

-agent-skills

如何编写 Agent Skills - 完整指南

42 Updated 1 months ago
Lionad-Morotar
AI & Automation Solid

mckinsey-consultant

McKinsey顾问式问题解决系统。从商业问题出发,通过假设驱动的结构化分析方法,生成McKinsey风格研究报告和PPT。融合Problem Solving方法论、MECE原则、Issue Tree拆解、Hypotheses形成、Dummy Page设计、智能数据收集和专业PPT生成能力。

59 Updated today
Mann1988
AI & Automation Featured

deepchat-settings

DeepChat app settings modification (DeepChat 设置/偏好) skill. Activate ONLY when the user explicitly asks to change DeepChat's own settings/preferences (e.g., theme, language, font size...). Do NOT activate for OS/system settings, editor settings, or other apps.

5,830 Updated today
ThinkInAIXYZ
AI & Automation Solid

ai-search-hub

Run the AI Search Hub browser automation scripts for Yuanbao, LongCat, Doubao, Qwen, Gemini, Grok, and MiniMax. Use this skill when the user wants to ask one of those sites a prompt, auto-start or attach to a Chrome DevTools session on port 9222, seed an isolated debug browser profile from the user's local browser data, detect whether login is required, wait for the user to finish logging in if needed, and then continue automatically.

1,127 Updated 4 weeks ago
minsight-ai-info
AI & Automation Solid

agent-skills-authoring

Guides agents through creating, validating, and optimizing Agent Skills (SKILL.md files) from user requests. Covers all YAML frontmatter fields, directory layout, progressive disclosure, scripts, quality patterns, and evaluation workflows. Use when a user asks you to create, edit, audit, or improve an Agent Skill, even if they don't use the word "skill" — any request about reusable agent instructions, workflow packaging, or capability extension should trigger this skill.

22 Updated 2 months ago
zebbern