/adb-ops:remove-bloatwarefrom adb-ops
Removes or disables Android bloatware via ADB with `pm uninstall --user 0` or `pm disable-user`. Logs all operations for audit and reversal. Includes safety rules to avoid bricking the device.
Ships in adb-ops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
15 skills in this plugin
/app-auditExport the full list of apps on an Android phone over ADB (name, version, installer, install date, last used, size, special access such as accessibility, device admin or install-unknown-apps) and find apps not opened in a long time, then let the user pick which to uninstall in a feedback form (Remove / Keep for now / Ask me). Keep and remove answers are remembered, so the next audit only asks about new candidates. Use on "unused apps", "what apps haven't I used", "export my app list", "app inventory", "which apps can I delete"./bloatware-logView, search, and summarise the bloatware operations log at <workspace>/bloatware-log.jsonl. Use when the user asks "what bloatware did I remove", "show my debloat history", "what did I disable on this phone", or wants to audit past package operations before restoring something./complementary-pluginsList and install plugins that complement adb-ops: digital-evidence, tasker-adb. Use on "what goes with this plugin", "related plugins"./device-statusReport the status of Android devices connected via ADB — serial, manufacturer, model, Android version, battery, storage, and whether the device matches the onboarded profile in <workspace>/profile.yaml. Use when the user asks "is my phone connected", "what phone is this", or before any other adb-ops operation to confirm the right device is in scope./free-spaceFree up storage on an Android phone over ADB - scan what is using the space (apps and their data, app caches, app files under /sdcard/Android such as Telegram or podcast downloads, user folders, large files, old downloads), suggest what to delete with reasons, let the user pick in a feedback form (Remove / Keep for now / Ask me), then delete only what they chose and report the space recovered. Use on "free up space on my phone", "my phone is full", "what's taking up storage", "clean up my Android"./import-mediaImport media (photos, videos, voice memos, downloads) from the connected Android device to the local computer using saved mappings from <workspace>/mappings.yaml. Supports "import new since last run" (incremental) or full sync. Use when the user says "import my photos", "pull new videos from my phone", or references a mapping label like "import camera-photos".adb-ops@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin adb-ops