connecting-to-devices

Manage Android Debug Bridge device connectivity and state synchronization for testing.

Updated Jul 20, 2026
One-click install
npx skills add https://github.com/trancee/MeshLink-template --skill connecting-to-devices-trancee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: connecting-to-devices
Source: https://github.com/trancee/MeshLink-template/tree/main/.agents/skills/android-testing-skills/adb/devices/connecting-to-devices
Command: npx skills add https://github.com/trancee/MeshLink-template --skill connecting-to-devices-trancee

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill resolves common Android development friction points such as ambiguous device selection, connection errors, and unreliable script execution during device boot sequences.

Core Features & Use Cases

  • Transport Management: Provides precise control over multiple connected devices using serials, transport IDs, or USB/TCP flags.
  • State Synchronization: Offers robust patterns for waiting on specific device states and verifying boot completion to prevent race conditions in CI/CD pipelines.
  • Troubleshooting: Guides users through resolving unauthorized states, missing udev rules, and driver configuration issues.

Quick Start

Use the connecting-to-devices skill to list all currently attached Android transports and wait for a specific device to finish booting before running a test script.

Frequently Asked Questions about connecting-to-devices

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

FAQPage Schema
How do I fix an ADB device showing as unauthorized?

To fix an ADB device showing as unauthorized, you must manage the RSA fingerprint authorization process. This skill handles state synchronization and guides you through resolving unauthorized connection states.

How do I run ADB commands on a specific device when multiple are connected?

To run ADB commands on a specific device when multiple are connected, use transport management with serials, transport IDs, or USB/TCP flags. This skill provides precise control over device selection for reliable script execution.

Why does ADB fail to detect my Android device on Linux?

ADB fails to detect Android devices on Linux often due to missing udev rules. This skill helps you troubleshoot connection errors and configure appropriate system-level udev rules for proper device enumeration.

How do I wait for an Android device to finish booting before running a test script?

To wait for an Android device to finish booting before running a test script, use boot-complete verification patterns. This skill offers robust state synchronization to prevent race conditions in CI/CD pipelines.

Do I need to install Android SDK platform-tools to use ADB device management?

Yes, you need standard Android SDK platform-tools installed to use ADB device management. This skill requires the platform-tools alongside appropriate system-level driver or udev configurations to facilitate reliable connectivity.