据 AlphaMoat 统计,截至 2026-10,Mijia 累计下载 5,066 次、获 4 个星标,按累计下载量在本次参与排名的 10,914 个 AI 技能中排名第 5,753 位,在「AI 智能体」分类(1,632 个)中排名第 810 位。
列表默认按累计下载量排序,也可按星标排序;详情页排名按累计下载量计算。
| 平台 | 累计下载 | 星标 | 评论 |
|---|---|---|---|
| ClawHub ↗ | 3,736 | 3 | - |
| SkillHub ↗ | 5,066 | 4 | — |
各平台的计数口径不同,统计时间不一致。
支持查看灯具状态、开关灯、调节亮度与色温以及切换照明模式。运行需配置设备 ID,并通过小米账号登录。命令会实际改变设备状态;执行开关、亮度或模式操作前,应逐项确认用户授权和目标设备。 文档配置需要 uv、Python >=3.13 与 mijiaapi;核实实际技能路径及依赖锁文件,配置 MIJIA_LAMP_DID,并完成首次小米扫码登录。
资料发布于 2026-10-27
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-10 | 5,066 | — | 4 |
| 2026-09 | 3,729 | — | 4 |
| 2026-08 | 3,478 | +4.4% | 4 |
| 2026-07 | 3,331 | +8.8% | 4 |
| 2026-06 | 3,062 | +4.8% | 3 |
| 2026-05 | 2,921 | — | 4 |
| 2026-03 | 2,514 | — | 3 |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
--- name: mijia description: Control Xiaomi Mijia smart home devices. Use this skill when the user wants to control desk lamps, smart plugs, or other Mijia devices. Supports turning lights on/off, adjusting brightness, setting color temperature, switching modes, and more. invocable: true --- # Mijia Smart Home Control Control Xiaomi Mijia smart devices via the mijiaAPI.
## Setup
Before using this skill, you need to:
1. Install dependencies:
```bash
cd /path/to/mijia-skill
uv sync
```
2. Set your device ID as an environment variable:
```bash
export MIJIA_LAMP_DID="your_device_id"
```
3. First run will prompt for Xiaomi account login via QR code.
## Finding Device IDs
To find your device IDs, use the mijia-api library:
```python
from mijiaAPI import mijiaAPI
api = mijiaAPI()
api.login()
devices = api.get_device_list()
for d in devices:
print(f"{d['name']}: {d['did']}")
```
## How to Use
Skill path: `~/.clawdbot/skills/mijia`
### Lamp Control Commands
```bash
# Navigate to skill directory
cd ~/.claude/skills/mijia
# Check status
uv run python scripts/lamp_cli.py status
# Turn on/off
uv run python scripts/lamp_cli.py on
uv run python scripts/lamp_cli.py off
uv run python scripts/lamp_cli.py toggle
# Adjust brightness (1-100%)
uv run python scripts/lamp_cli.py brightness 50
# Adjust color temperature (2700-6500K)
uv run python scripts/lamp_cli.py temp 4000
# Set mode
uv run python scripts/lamp_cli.py mode reading # Reading mode
uv run python scripts/lamp_cli.py mode computer # Computer mode
uv run python scripts/lamp_cli.py mode night # Night reading
uv run python scripts/lamp_cli.py mode antiblue # Anti-blue light
uv run python scripts/lamp_cli.py mode work # Work mode
uv run python scripts/lamp_cli.py mode candle # Candle effect
uv run python scripts/lamp_cli.py mode twinkle # Twinkle alert
```
## Natural Language Understanding
When the user says the following, execute the corresponding command:
| User Says | Command |
|-----------|---------|
| Turn on the light / open lamp | `scripts/lamp_cli.py on` |
| Turn off the light / close lamp | `scripts/lamp_cli.py off` |
| Toggle the light | `scripts/lamp_cli.py toggle` |
| Brighter / more bright | Check status first, then increase by 20-30% |
| Dimmer / less bright | Check status first, then decrease by 20-30% |
| Full brightness / maximum | `scripts/lamp_cli.py brightness 100` |
| Minimum brightness | `scripts/lamp_cli.py brightness 1` |
| Warm light | `scripts/lamp_cli.py temp 2700` |
| Cool light / white light | `scripts/lamp_cli.py temp 6500` |
| Reading mode | `scripts/lamp_cli.py mode reading` |
| Computer mode | `scripts/lamp_cli.py mode computer` |
| Night mode | `scripts/lamp_cli.py mode night` |
| Lamp status / what's the light status | `scripts/lamp_cli.py status` |
## Before Executing
1. Navigate to skill directory: `cd ~/.clawdbot/skills/mijia`
2. Ensure `MIJIA_LAMP_DID` environment variable is set
3. Run with uv: `uv run python scripts/lamp_cli.py <command>`
4. Report the result to the user after execution
把开发过程中的经验、错误与纠正记录为 Markdown 文件,供后续复用并晋升为工作区记忆。
用自然语言描述需求,在本地与远程技能市场里找技能并给出推荐的技能。
给 AI agent 用的浏览器自动化命令行技能。
把用户纠正与自我复盘沉淀成分层记忆、并按使用情况升降级的技能。
一份为 AI 代理规划主动跟进、工作记忆与复盘流程的工作区配置指南。
指导如何创建与更新有效 Claude 技能的写作指南。
在安装第三方技能之前,按清单审查来源、权限与危险模式的技能。
把盛唐诗人李白的诗学观、意象系统与口吻,蒸馏成 AI 可调用的角色包。
数据月份:2026-10 · 下载/星标数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。