adb
Use this skill when working with the Android Debug Bridge (`adb`) — connecting to devices, enabling USB or wireless debugging, pushing/pulling files, running…
Skill by jason-riddle
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jason-riddle-adb
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/adb
What's inside
- Skill name
adb- Description
- Use this skill when working with the Android Debug Bridge (`adb`) — connecting to devices, enabling USB or wireless debugging, pushing/pulling files, running shell commands, installing apps, taking screenshots, reading device settings, or troubleshooting ADB connectivity. Triggers on requests like "connect to my Android phone via ADB", "enable USB debugging", "set up wireless ADB", "check if ADB is enabled", "push a file to the device", "install an APK", "run a command on the phone", "read device settings via adb", or any task involving `adb` and an Android device.
- License
- MIT
- Instructions
- 452 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# adb Connect to and control Android devices via the Android Debug Bridge (`adb`). ## Orientation ```bash which -a adb adb version adb devices adb devices -l # long output with device details ``` ## Key concepts - **Device state**: `device` (ready), `offline` (unreachable), `unauthorized` (connected but not approved — a popup appears on the device asking to allow debugging; the user must accept) - **Serial**: USB devices use a serial number; emulators use `emulator-NNNN`; wireless connections use `IP:PORT` - **Multiple devices**: when more than one device is connected, ALL `adb` commands require `-s <serial>` to specify the target. Without it, commands fail with `error: more than one device/emulator`. - **$ANDROID_SERIAL**: set this env var to target a device without `-s`. ## Device authorization On first connection, the device shows an "Allow USB debugging?" popup with the host's RSA key fingerprint. The user must tap "Allow" (or "OK"). Until then, the device shows as `unauthorized` and all `adb shell` commands fail. ``` adb devices # emulator-5554 unauthorized ← user needs to accept popup on device # ...after accepting... # emulator-5554 device ``` To re-trigger the authorization popup: ```bash adb kill-server adb start-server adb devices ``` "Always allow from this computer" checkbox prevents future prompts for that key. To revoke all authorizations on the device: ```bash adb -s <serial> shell settings put global adb_enabled 0 adb -s <serial> shell settings put global adb_enabled 1 # Or via Developer Options → "Revoke USB debugging authorizations" ``` ## Checking and enabling USB debugging ### Read state ```bash adb -s <serial> shell settings get global adb_enabled # 1 = enabled, 0 = disabled ``` ### Enable/disable via settings provider ```bash adb -s <serial> shell settings put global adb_enabled 1 # enable adb -s <serial> shell settings put global adb_enabled 0 # disable ``` Note: changing the setting via `settings put` may not flip the UI toggle in Developer Options, but it affects the ADB daemon behavior. The UI toggle is the canonical way to enable/disable; the settings command is a programmatic alternative. ## Wireless debugging (Android 11+) ### Check state ```bash adb -s <serial> shell settings get global adb_wifi_enabled # 1 = enabled, 0 = disabled adb -s <serial> shell settings get global adb_wifi_port # port number, or null if not active ``` ### Enable via settings provider ```bash adb -s <serial> shell settings put global adb_wifi_enabled 1 ``` This sets the flag but does NOT start the wireless ADB daemon or assign a port on all devices. To reliably start wireless ADB: ### Classic method (`adb tcpip`) — works on all Android versions ```bash # 1. Device must be connected via USB first # 2. Switch ADB to TCP/IP mode on a specific port adb -s <serial> tcpip 5555 # "restarting in TCP mode port: 5555" # 3. Get the device's IP address adb -s <serial> shell ip addr show wlan0 | grep "inet " # Or for emulators: adb -s <serial> shell ip addr show eth0 | grep "inet " # 4. Connect wirelessly adb connect <device_ip>:5555 # 5. Verify — now shows both USB and wireless connections adb devices ``` ### Wireless debugging pairing (Android 11+) — no USB cable needed On the device, open Developer Options → Wireless debugging → "Pair device with pairing code". Keep that dialog open while pairing. It shows a temporary pairing code, IP, and a **pairing port** (different from the connection port). Treat the code like a short-lived credential: do not put it in notes, scripts, or shared logs. Enter it at the interactive prompt rather than putting it in command arguments. ```bash
From jason-riddle/agent-skills, MIT.
More from jason-riddle/agent-skills
- 0.565score
deno
jason-riddle
Use this skill when running, testing, or managing JavaScript/TypeScript projects with `deno`.
SkillAFreshness: AClaude Code +9 - 0.539score
bttf
jason-riddle
Use this skill whenever the user wants to run the `bttf` command or work with date/time parsing, arithmetic, formatting, recurrence, or time-zone conversion…
SkillAFreshness: AClaude Code +9 - 0.539score
fastmail-jmap
jason-riddle
Use this skill when the user wants to access Fastmail mail, contacts, or Masked Email through Fastmail's JMAP API using a credential-safe VM helper or curl…
SkillAFreshness: AClaude Code +9 - 0.539score
parking-passport
jason-riddle
Use this skill when the user wants to start, extend, or check a parking session through Passport Parking using a browser, including requests to pay for…
SkillAFreshness: AClaude Code +9 - 0.524score
paperless-postgres-mcp-query
jason-riddle
Use this skill when querying the Paperless-ngx PostgreSQL database via the `postgres` MCP server's `postgres_query` tool — discovering document IDs…
SkillBFreshness: BClaude Code +9 - 0.524score
mcp-remote
jason-riddle
Use this skill when connecting an stdio-only MCP client to a remote MCP server using `mcp-remote` via `npx`.
SkillBFreshness: BClaude Code +9 - 0.524score
nix
jason-riddle
Use this skill when working with the Nix package manager — installing packages, managing profiles, building derivations, or using nix flakes.
SkillBFreshness: BClaude Code +9 - 0.515score
android-remote-control
jason-riddle
Use this skill when controlling an Android device through the Android Remote Control MCP server — reading the screen, navigating apps and home screen, opening…
SkillBFreshness: BClaude Code +9 - 0.474score
opencode
jason-riddle
Use this skill when working with the OpenCode AI coding agent CLI.
SkillCFreshness: CClaude Code +9 - 0.474score
flatpak
jason-riddle
Use this skill when installing, removing, or managing applications with `flatpak`.
SkillCFreshness: CClaude Code +9 - 0.474score
age
jason-riddle
Use this skill when encrypting or decrypting files with `age` — generating key pairs, encrypting to one or more recipients, decrypting with an identity file…
SkillCFreshness: CClaude Code +9 - 0.474score
ollama
jason-riddle
Use this skill when running, managing, or interacting with LLM models via `ollama` — locally or on a remote machine.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 1
- Last commit (this folder)
- Oct 24, 2026 (5 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/jason-riddle/agent-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from jason-riddle
- 0.565score
deno
jason-riddle
Use this skill when running, testing, or managing JavaScript/TypeScript projects with `deno`.
SkillAFreshness: AClaude Code +9 - 0.539score
bttf
jason-riddle
Use this skill whenever the user wants to run the `bttf` command or work with date/time parsing, arithmetic, formatting, recurrence, or time-zone conversion…
SkillAFreshness: AClaude Code +9 - 0.539score
parking-passport
jason-riddle
Use this skill when the user wants to start, extend, or check a parking session through Passport Parking using a browser, including requests to pay for…
SkillAFreshness: AClaude Code +9 - 0.539score
fastmail-jmap
jason-riddle
Use this skill when the user wants to access Fastmail mail, contacts, or Masked Email through Fastmail's JMAP API using a credential-safe VM helper or curl…
SkillAFreshness: AClaude Code +9 - 0.524score
paperless-postgres-mcp-query
jason-riddle
Use this skill when querying the Paperless-ngx PostgreSQL database via the `postgres` MCP server's `postgres_query` tool — discovering document IDs…
SkillBFreshness: BClaude Code +9 - 0.524score
mcp-remote
jason-riddle
Use this skill when connecting an stdio-only MCP client to a remote MCP server using `mcp-remote` via `npx`.
SkillBFreshness: BClaude Code +9
Cite this page
adb skill. Agent Mart. https://agentmart.dev/skills/jason-riddle-adb (last updated 2026-10-24)