From adb-ops
Remove or disable Android bloatware (carrier apps, OEM pre-installed apps) via ADB using `pm uninstall --user 0` or `pm disable-user`. Logs every operation to <workspace>/bloatware-log.jsonl so the history is auditable and reversible. Use when the user wants to "remove bloatware", "uninstall carrier apps", "disable pre-installed apps", or "debloat my phone".
npx claudepluginhub danielrosehill/claude-code-plugins --plugin adb-opsThis skill uses the workspace's default tool permissions.
Remove or disable unwanted packages on the device.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Remove or disable unwanted packages on the device.
com.android., com.google.android.gms, com.google.android.gsf, com.qualcomm., com.mediatek., kernel/telephony/system UI packages. Breaking these can brick the device.pm disable-user over pm uninstall --user 0 when unsure — it's reversible with pm enable and doesn't require a factory reset to restore.--user 0). Never run as system-wide uninstall without root.List candidates:
adb shell pm list packages -3 # third-party / user-installed
adb shell pm list packages -s # system packages (debloat usually here)
adb shell pm list packages -d # already disabled
Offer a categorised view. If the user names a vendor ("Samsung bloat", "Xiaomi apps"), filter by common prefixes (com.samsung., com.miui., com.xiaomi.).
Propose a shortlist with one-line descriptions (look up unfamiliar packages — ask the user if unknown). Require explicit per-package or batch confirmation before acting.
Act on each confirmed package:
# Preferred: reversible
adb shell pm disable-user --user 0 <package>
# Or permanent for this user:
adb shell pm uninstall --user 0 <package>
Log every attempt (success or failure) by appending one JSON line to <workspace>/bloatware-log.jsonl:
{"ts":"<ISO-8601>","device":"<serial>","action":"disable|uninstall","package":"<pkg>","user":0,"method":"<cmd>","result":"success|failure","error":"<stderr if any>","notes":"<free text>"}
Append only — never rewrite the file.
Summary: table of package / action / result. Remind the user how to restore: adb shell pm enable <pkg> (for disable-user) or adb shell cmd package install-existing <pkg> (for --user 0 uninstalls).
If the user asks to "undo", "restore", or "bring back" a removed package, read bloatware-log.jsonl, filter to that package's most recent successful action, and run the inverse command. Append a new log entry with action restore / enable.