/adb-ops:app-auditfrom adb-ops
Exports Android app inventory over ADB (name, version, installer, install date, last used, size, special access) and identifies unused apps. Lets user pick which to uninstall via feedback form, remembering decisions for future audits.
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.
Read when SKILL.md points to them; scripts run unread.
OUT=$(mktemp -d)
uv run --no-project python -I <skill-dir>/scripts/app-probe.py "$OUT" --serial "$S" [--days 90] [--labels-text names.txt]
Output: inventory.json + inventory.md (the app export: every user-installed app), and a
form items.json + suggestions.json of apps not opened for --days.
App names. adb can't read app labels (cmd package query-activities gives only resource ids,
nonLocalizedLabel=null). Names come from the cache <workspace>/apps/labels.json. When the
probe reports many unlabelled, get names from mobile-mcp mobile_list_apps (format
Name (package), Name (package), ...), write that text to a file and pass --labels-text FILE;
it is merged into the cache.
"Not opened" has a floor. Last-used comes from dumpsys usagestats, whose yearly bucket only
goes back so far; the probe prints usage_window_start. An app with no entry was not opened since
then, not necessarily never. Compare first_install: when most apps share one install date (phone
restored from backup), "not opened since" that date means never opened on this phone.
Background apps (Tasker plugins, widgets, licence keys, backup, screen filters, notification
tools) work without ever being opened. Don't suggest removing them: record them under
background in rules.json.
Add your own judgement to suggestions.json before opening (factual reasons: "never opened, 559 MB",
"Lite duplicate: the paid version is installed", "remote-access app never opened: attack surface").
Unused apps that still hold accessibility, device-admin or install-unknown-apps access are
suggested Ask me automatically.
feedback-panel new "$OUT/items.json" --template remove-keep-ask --suggest "$OUT/suggestions.json" --name android-unused-apps
adb -s $S shell pm uninstall --user 0 <pkg> (the item's meta._remove), outcome per
item, and a line in <workspace>/bloatware-log.jsonl (format in skill remove-bloatware;
restore with cmd package install-existing <pkg>). Uninstalling a device-admin app needs its
admin removed first (Settings > Security > Device admin apps).<workspace>/apps/rules.json, so the next audit only shows new
candidates:{"keep": {"com.example.app": "2026-12-01: use it on trips"},
"remove": {"com.example.junk": "2026-12-01: reinstalled by OEM update, remove again"},
"background": {"com.joaomgcd.autotools": "Tasker plugin"}}
Keep for now → keep (with the date and the user's note); background helpers the user confirmed
→ background; Remove → nothing to remember unless it can come back (OEM reinstall), then
remove. Ask me: explain in chat, then record the answer the same way.
feedback done <session>), commit <workspace> if it is a git repo.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
android, adb, app-inventory, unused-apps, app-audit, uninstall
Other plugins' skills for the same job
15 skills in this plugin
/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"./onboardFirst-run onboarding for the adb-ops plugin. Interview the user about the Android device connected via ADB — model, Android version, rooted status — then collect folder mappings (phone path to local path, with labels and use cases). Writes profile and mappings to the adb-ops workspace at <workspace>/. Use this before any other adb-ops skill, or whenever the user wants to add a new phone folder mapping.adb-ops@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin adb-ops