據 AlphaMoat 統計,截至 2026-10,Mijia 累計下載 5,066 次、獲 4 個星標,按累計下載量在本次參與排名的 10,914 個 AI 技能中排名第 5,753 位,在「AI 智慧體」分類(1,632 個)中排名第 810 位。
列表預設按累計下載量排序,也可按星標排序;詳情頁排名按累計下載量計算。
| 平台 | 累計下載 | 星標 | 評論 |
|---|---|---|---|
| ClawHub ↗ | 3736 | 3 | - |
| SkillHub ↗ | 5066 | 4 | — |
各平台的計數口徑不同,統計時間不一致。
支援查看燈具狀態、開關燈、調節亮度與色溫以及切換照明模式。執行需設定裝置 ID,並透過小米帳號登入。命令會實際改變裝置狀態;執行開關、亮度或模式操作前,應逐項確認使用者授權和目標裝置。 文件設定需要 uv、Python >=3.13 與 mijiaapi;核實實際技能路徑及相依套件鎖定檔,設定 MIJIA_LAMP_DID,並完成首次小米掃碼登入。
資料釋出於 2026-10-27
以下是根據技能文件生成的示例,不代表實際執行結果。
2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。
| 月份 | 累計下載 | 環比 | 星標 |
|---|---|---|---|
| 2026-10 | 5066 | — | 4 |
| 2026-09 | 3729 | — | 4 |
| 2026-08 | 3478 | +4.4% | 4 |
| 2026-07 | 3331 | +8.8% | 4 |
| 2026-06 | 3062 | +4.8% | 3 |
| 2026-05 | 2921 | — | 4 |
| 2026-03 | 2514 | — | 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),按月更新。口徑說明見資料方法。