/tasker-adb:adb-wifi-watchdogfrom tasker-adb
Make a phone switch wireless debugging back on by itself (after a reboot, a Wi-Fi drop, or Android turning it off) with a Tasker profile that checks it's on the home network without needing Location. Use on "wireless debugging keeps turning off", "I keep losing ADB to my phone", "auto-enable wireless debugging", "keep adb wifi on".
Ships in tasker-adb. 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.
Android turns wireless debugging off when Wi-Fi drops, and after a reboot, so a host that manages the
phone over wireless ADB loses it until someone flips the switch. This skill sets up Tasker on the
phone to flip it back on when it's at home. Build it with skill drive-tasker.
WRITE_SECURE_SETTINGS granted over adb (once, survives reboots):
adb shell pm grant net.dinglisch.android.taskerm android.permission.WRITE_SECURE_SETTINGS10.0.0.x and 192.168.1.x.Wifi Connected state: needs Location on, and never fired with Location off, with or
without an SSID/IP filter (Android 16, Tasker 6.7.9).identity_unavailable).Profile: Time context, Every 10 minutes, From/To unticked. Task (in this order):
Global, Name adb_wifi_enabled, Value empty, Read Setting To %adbw%adbw ~ 1 (already on: costs one settings read)<home URL>, timeout 10 s, Continue Task After Error tickedGlobal, Name adb_wifi_enabled, Value 1, If %http_data ~ *<marker>*Battery cost: one settings read every 10 minutes, plus the HTTP request only when debugging is off.
Wireless debugging comes back on a new random port. The host has to find it: scan the phone's
30000-49999 range for the adb port (nmap), or use an autoconnect timer such as adb-autoconnect in
the adb-ops plugin. Optional: once connected, adb tcpip 5555 pins a fixed port that survives
further toggles until reboot. That worked over wireless on one Android 16 phone and failed on the same
model a month earlier, so only do it where tested. With the watchdog in place, a failed pin recovers
on its own.
adb shell settings put global adb_wifi_enabled 0 (a tcpip 5555 connection survives this).settings get global adb_wifi_enabled should read 1.Validated 2026-11-18 on an Android 16 phone with Tasker 6.7.9: Play restored the setting in under 15 s; with Tasker closed, the timer restored it about 8 minutes after it was switched off.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
3 skills in this plugin
/complementary-pluginsList and install plugins that complement tasker-adb: adb-ops. Use on "what goes with this plugin", "related plugins"./drive-taskerBuild or edit Tasker profiles, tasks and actions on an Android phone by driving Tasker's own editor (mobile-mcp element list and taps, ADB fallback), and test them. Use on "make a Tasker profile", "add a Tasker task", "change my Tasker action", "set up Tasker to do X", or when an automation needs Tasker and the user isn't at the phone.tasker-adb@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin tasker-adb