/adb-ops:security-posturefrom adb-ops
Audits Android phone security and anti-theft settings over ADB: encryption, bootloader, patch level, screen lock, Theft Detection Lock, Remote Lock, accessibility/device-admin apps, and more. Presents a feedback form to apply fixes.
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/security-probe.py "$OUT" --serial "$S"
report.json holds every check with its raw evidence and fix; items.json is the form (only checks
that aren't ok); suggestions.json the suggested answers. App names come from the label cache
shared with skill app-audit (<workspace>/apps/labels.json).
What adb can and can't see (Android 16, OnePlus, 2026-12-01):
| Check | Source |
|---|---|
| Theft Detection Lock, Remote Lock | settings get secure theft_detection_lock_setting / remote_lock_setting (1 = on). Read-only in practice: GMS owns them, switch them in Settings > Google > All services > Theft protection |
| Find Hub on? | not readable over adb: check on screen (mobile-mcp) |
Lock Screen Protector (com.lsdroid.lsp, from the Cerberus developer) | active only if com.lsdroid.lsp/.AccessibilityService is in enabled_accessibility_services |
| Cerberus | package com.lsdroid.cerberus |
| Patch age | ro.build.version.security_patch |
| Exposure | screen_off_timeout, stay_on_while_plugged_in, lock_screen_lock_after_timeout, lock_screen_allow_private_notifications |
| Powerful access | enabled_accessibility_services, appops query-op REQUEST_INSTALL_PACKAGES allow, dumpsys device_policy |
feedback-panel new "$OUT/items.json" --template remove-keep-ask --suggest "$OUT/suggestions.json" --name android-security
The form's own per-group choices (Do it / Leave as is / Ask me) replace the template's.
Can be combined with skill app-audit's unused-apps group in one form: append its group to groups.
adb-settable (do directly):
adb -s $S shell settings put system screen_off_timeout 60000
adb -s $S shell settings put global stay_on_while_plugged_in 0
adb -s $S shell settings put secure lock_screen_allow_private_notifications 0
adb -s $S shell appops set <pkg> REQUEST_INSTALL_PACKAGES deny
UI-only (drive with mobile-mcp, skill endpoint-management:android-connect or the user's own
mobile-mcp; the phone must be unlocked): Theft Detection Lock, Offline Device Lock, Remote Lock
(Settings > Google > All services > Theft protection), Find Hub, accessibility toggles, system
update. Some of these ask for the screen lock or the Google password: hand those to the user.
Re-run the probe afterwards and confirm each check is now ok; don't trust the tap alone.
Write every "Leave as is" to <workspace>/security/decisions.json so it isn't re-asked:
{"location": {"decision": "skip", "reason": "kept off by choice", "date": "2026-12-01",
"evidence": {"location_mode": "0"}}}
Include evidence (copy it from report.json): if the evidence changes later (e.g. more apps get
install-unknown-apps access), the check comes back to the top. Record "Do it" items that were done
as {"decision": "do", ...} for the history. 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-security, adb, anti-theft, device-audit, mobile-security
Other plugins' skills for the same job
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