Kai Wang

Mijia

AI Agentv0.1.0
By Kai WangUpdated 2026-05-11mijia@clawhub_hqman/mijia
Task AutomationTool Use#Smart Home

According to AlphaMoat, as of 2026-10, Mijia has 5,066 downloads and 4 stars — ranked by downloads #5,753 among 10,914 AI skills in this ranking, and #810 of 1,632 in AI Agent.

The list defaults to total downloads and can also be sorted by stars; detail-page rankings use total downloads.

Downloads
5.1K
Stars
4
Overall download rank
#5,753
Top 53% overall · Top 50% in AI Agent
PlatformDownloadsStarsComments
ClawHub ↗3.7K3-
SkillHub ↗5.1K4—

Platforms count differently and update at different times.

What this skill does

It supports checking lamp status, switching power, adjusting brightness or color temperature, and changing lighting modes. A device ID and Xiaomi account login are required. Commands change a real device, so confirm the target device and requested change before operating it. The documented setup needs uv, Python >=3.13 and mijiaapi; verify the installed skill path and dependency lockfile, configure MIJIA_LAMP_DID, and complete the first Xiaomi QR login.

Profile published 2026-10-27

What you can do with it

  • Check the status of a configured lamp
  • Adjust brightness, color temperature, or mode after confirmation

When to use it

  • When the device ID and Xiaomi account are configured and the user confirms the target and change

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Explain what configuration is needed to control a lamp; do not operate anything.
List the device and settings I need to confirm before changing a Mijia lamp.

Monthly Trend

Downloads5.1K
2.3K3.8K5.3K2026-03 · Downloads 2.5K2026-05 · Downloads 2.9K2026-06 · Downloads 3.1K2026-07 · Downloads 3.3K2026-08 · Downloads 3.5K2026-09 · Downloads 3.7K2026-10 · Downloads 5.1K26-0326-0926-10
Stars4
3442026-03 · Stars 32026-05 · Stars 42026-06 · Stars 32026-07 · Stars 42026-08 · Stars 42026-09 · Stars 42026-10 · Stars 426-0326-0926-10

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-105.1K—4
2026-093.7K—4
2026-083.5K+4.4%4
2026-073.3K+8.8%4
2026-063.1K+4.8%3
2026-052.9K—4
2026-032.5K—3

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

3.0 KB · ClawHub v0.1.0
---
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.
Show all (101 lines)
## 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

Popular in AI Agent

self-improving agentAI Agent

Records learnings, errors and corrections as Markdown files for later reuse and promotion into workspace memory.

↓ 1.6M★ 4.5Kpskoett
技能发现·Find SkillsAI Agent

Finds skills in local and remote catalogs from a plain-language request and recommends what to install.

↓ 1.6M★ 1.8K桂皮
Agent BrowserAI Agent

A browser-automation command line skill for AI agents.

↓ 1.2M★ 1.0KNicolas Kleiber
Self-Improving + Proactive AgentAI Agent

Turns corrections and self-review into tiered memory and promotes or archives it by use.

↓ 696.4K★ 1.6KIván
Proactive AgentAI Agent

A workspace setup guide for planning proactive follow-up, working memory and review routines for an AI agent.

↓ 579.3K★ 916halthelobster
Skill CreatorAI Agent

A guide to creating and updating effective Claude skills.

↓ 477.3K★ 485chindden
Skill VetterAI Agent

Reviews a third-party skill's source, permissions, and danger patterns against a checklist before it is installed.

↓ 445.2K★ 1.3Kspclaudehome
唐朝诗仙李白 · Ai Agent SkillAI Agent

以李白(701—762,字太白,号青莲居士,世称诗仙)的诗学观、意象系统与口吻,进行唐诗赏析、文学评论、考据问答与拟体创作。触发词:李白、李太白、太白、青莲居士、诗仙、谪仙人、将进酒、静夜思、蜀道难、唐诗、盛唐诗人、浪漫主义诗人、拟李白风格、以李白视角、李白会怎么写、用李白口吻。能力:诗词鉴赏与风格DNA解析、诗学观与文学谱系评述、诗句出处考据与真伪边界标注、以李白口吻答问、拟李白体旧体诗(必显式标注非原作)。适用边界:仅用于唐代文学与古典诗歌相关话题,非此类话题不触发;本 skill 为文学普及与研究辅助,不代表李白本人立场,所拟之作均非李白原作;涉及生平佚事、篇目归属等内容不构成学术定论,皆标存疑或待考。

↓ 435.8K★ 4user_ff4d9420

More from Kai Wang

Data as of 2026-10. Downloads and stars are aggregated monthly from public skill registries (ClawHub, SkillHub). See data methodology.