adb

Automate Android device management and debugging using ADB scripts.

48|11|Updated Jun 12, 2010
One-click install
npx skills add https://github.com/ithinkihaveacat/dotfiles --skill adb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: adb
Source: https://github.com/ithinkihaveacat/dotfiles/tree/main/etc/skills/adb
Command: npx skills add https://github.com/ithinkihaveacat/dotfiles --skill adb

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires adb, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill streamlines Android device debugging and management by providing ready-to-run scripts that handle common tasks (screenshots, tile debugging, device properties, package operations) without requiring manual adb commands.

Core Features & Use Cases

  • Device Discovery & Info: quickly list connected devices, fetch model, manufacturer, and API level.
  • Wear OS Debug & Tile Management: add, show, and remove Wear OS debug tiles; inspect the Wearable data layer.
  • Package & App Operations: uninstall, launch, stop, and clear cache for apps; inspect running services.
  • Media & Display: capture screenshots (with Wear OS masking), record screens, adjust font scale, and toggle demo mode.
  • Use Case: a tester can script a workflow to validate a Wear OS tile across multiple devices with a single sequence.

Quick Start

Set ANDROID_SERIAL to target a device and run the suite of scripts, for example:

  • List devices: scripts/adb-devices
  • Capture a Wear OS screenshot: scripts/adb-screenshot

Frequently Asked Questions about adb

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate ADB commands for debugging Android devices?

You can automate Android device debugging by running ready-to-use ADB scripts that handle device inspection, package operations, and media tasks without manual command input. The skill provides deterministic scripts to execute these workflows quickly across connected devices.

How do I debug Wear OS tiles using ADB?

Debug Wear OS tiles by running specific ADB scripts to add, show, and remove debug tiles. The skill also allows you to inspect the Wearable data layer to validate tile behavior across connected devices.

Can I capture screenshots and record screens on Wear OS with ADB?

Yes, you can capture screenshots with Wear OS masking and record screens using dedicated ADB scripts. The skill automates these media tasks to streamline display testing and debugging workflows.

How do I manage app packages across multiple connected Android devices?

Manage app packages by executing scripts that uninstall, launch, stop, and clear cache for apps across multiple devices. You can target a specific device by setting the ANDROID_SERIAL environment variable before running the commands.

What is needed to run ADB scripts for device inspection and media operations?

You need the adb tool installed and accessible in your environment to run the scripts. The skill relies on this core dependency to inspect device properties, manage apps, and capture screenshots automatically.