xiaomi-poco-otimizador
A Claude Code skill (Portuguese) that diagnoses, optimizes and safely cleans Android phones over ADB, with a focus on Xiaomi/POCO/Redmi. It covers thermal throttling, battery, RAM, crypto-miner detection, reversible debloat, background restriction, and verified media backup before freeing space.
Worth knowing: Downloads a script and runs it straight away. Both Claude reviews found this fine for what it does.
What it can touch
| files | write |
|---|---|
| network | claude.ai, developer.android.com |
| shell | runs commands |
| secrets | none found |
What it actually does
The agent runs local Python scripts that call the user's adb binary over USB. **Read-only phase (default):** - Collects device properties, settings, dumpsys output, sysfs, logcat, dmesg and an optional bugreport into a local work folder. - Analyzes the Xiaomi thermal log, unused apps, APKs (pulls sideloaded ones for static string scanning) and camera info. **Write phase, only with --aplicar after explicit user approval:** - Removes packages with `pm uninstall -k --user 0`, falling back to `pm disable-user`. - Sets appops background restrictions and optionally removes Doze exemptions. - Runs `pm trim-caches` and changes animation scales. - Deletes phone media with `rm -f` only after each file matches a local backup copy (size+mtime or MD5). - Writes RESTAURAR undo files. `restaurar.py` executes only whitelisted undo commands from them. The scripts make no network calls. All collected data stays on the user's computer.
What the check found
highDownloads a script and runs it straight away
Piping a download into a shell runs code nobody reviewed, and the download can change after this check.
TUTORIAL.md:45 irm https://claude.ai/install.ps1 | iex
TUTORIAL.md:59 curl -fsSL https://claude.ai/install.sh | bash
TUTORIAL.md:66 curl -fsSL https://claude.ai/install.sh | bash
mediumDeletes user media on the phone
`limpar_verificado.py` runs `rm -f` on phone files. The script has several safeguards: - It runs only with --aplicar. - Each file must match the backup copy by size+mtime, or by MD5 with --hash. - It keeps the last N days. - It refuses WhatsApp Databases/Backups and Android/data/obb. - SKILL.md requires a separate user approval. This is expected for the 'free space' feature, but a mistaken backup destination or a corrupted backup could still lose data. Users should know this.
plugins/xiaomi-poco-otimizador/skills/xiaomi-poco-otimizador/scripts/limpar_verificado.py:165 _adb.adb("shell", "rm -f " + " ".join(_adb.q(p) for p in lote), timeout=600)
mediumCollects extensive personal device data locally
The full scan dumps logcat, dropbox entries, usage stats and a full bugreport into the work folder. These contain personal data. The scripts skip privacy-sensitive dumpsys services, warn the user, and never transmit anything. The data is still sensitive if the folder is shared.
plugins/xiaomi-poco-otimizador/skills/xiaomi-poco-otimizador/scripts/coletar.py:257 dsh(f"{L}/logcat_main_system_crash.txt", 240, "logcat -d -b main,system,crash -v threadtime 2>&1")
plugins/xiaomi-poco-otimizador/skills/xiaomi-poco-otimizador/scripts/coletar.py:268 rc, out, err = _adb.adb("bugreport", bdir, timeout=1800)
Keep an eye on it
This check is of one commit. Watch xiaomi-poco-otimizador and we'll email you if a later commit changes what it can touch.
Made this? Add the badge
[](https://plugsday.com/tools/cavaleiro-ai-xiaomi-poco-otimizador)About this check
Checked November 16, 2026 at commit 1394a7d2d354, 27 files. Rules for known red flags, then two Claude reviews, one of them told to assume the author is malicious. A later commit hasn't been checked. How checks work.