Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Controls a Xiaomi Robot Vacuum X20+ through the xiao CLI, covering cleaning, rooms, status, and consumables via Xiaomi Cloud.
23% 100%+77 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 5 of 22 without it.
The robot vacuum is making noise in the hallway. Can you pause it temporarily with the pause command so it waits in place until we tell it to proceed?
Explains that xiao pause stops the cleaning job completely on the X20+ rather than temporarily pausing
3 of 3 safety checks passed
The xiao CLI controls a Xiaomi Robot Vacuum X20+ via Xiaomi Cloud. Full
reference lives in AGENTS.md at the repo root — read
that first for canonical commands, intent mapping, and error recovery.
Before any command will succeed:
pip install xiao-cli && playwright install chromium (once per machine).xiao setup cloud completed — produces config.toml.xiao setup browser-login run once — the user logs into
account.xiaomi.com in the Chromium window it opens; xiao keeps that
session in a private profile so token refresh is silent afterwards.AGENTS.md.xiao map rooms before any xiao clean -r <id>.
Never guess. IDs are per-vacuum and regenerate when the Xiaomi Home app
re-maps the house.--json for status-type commands so you can
parse deterministically:
xiao status --json
xiao consumables --json
AGENTS.md#error-recovery
before asking the user:
77 or stderr contains token/401 → retry once; if still bad,
xiao cloud-login and retry.2 or stderr says "Cloud mode enabled but not configured" → guide
user through xiao setup cloud.77 again after cloud-login → ask the user to run
xiao setup browser-login and log in once.1 + "rejected by the vacuum (code N)" → check xiao status
(docked? error? state 21?) before retrying.80 → the room clean was accepted but the robot stayed docked;
re-check room IDs, then offer xiao start.Next to this one in the catalogue, plus more from the same author.