Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add skydoves/android-testing-skills --skill understanding-adb-architecturegit clone --depth 1 https://github.com/skydoves/android-testing-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/skydoves/android-testing-skills/understanding-adb-architecture)<a href="https://agentmods.dev/skills/skydoves/android-testing-skills/understanding-adb-architecture"><img src="https://agentmods.dev/badge/skills/skydoves/android-testing-skills/understanding-adb-architecture/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/skydoves/android-testing-skills/understanding-adb-architecture"><img src="https://agentmods.dev/badge/skills/skydoves/android-testing-skills/understanding-adb-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00213 | $0.03869 |
| Opus 5 | $0.00106 | $0.01935 |
| Sonnet 5 | $0.00043 | $0.00774 |
| Haiku 4.5 | $0.00021 | $0.00387 |
Grade D, and why
understanding-adb-architecture scanned grade D with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
- [ ] `~/.android/adbkey` and `~/.android/adbkey.pub` exist and are not world-readable (`chmod 600 ~/.android/adbkey`). Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf ~/.android/adbkey ~/.android/adbkey.pub How it starts
The opening of the file, as written. The whole thing — 242 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Understanding ADB Architecture — Client, Server, Daemon
ADB is one binary that wears three hats. Most "adb is being weird" reports come from misunderstanding which hat is misbehaving (the local CLI, the long-lived host server on port 5037, or the on-device adbd), or from two different adb binaries fighting over the same port. This skill grounds the mental model so the rest of the ADB skill set has a stable foundation.
When to use this skill
- The user sees
* daemon not running; starting now at tcp:5037 *and assumes it is an error. - The user sees
adb server version (XX) doesn't match this client (YY); killing...after Studio updates its bundled platform-tools. - The user wants to enable verbose ADB logging (
ADB_TRACE) or set up a CI runner with a preinstalled vendor key. - The user asks why deleting
~/.android/adbkeybreaks every other paired device. - The user is debugging port 5037 collisions, multiple adb installs, or libusb-related transport failures on Linux.
When NOT to use this skill
- The user is troubleshooting a specific connected device (USB authorization,
unauthorized,no permissions) — use../../devices/connecting-to-devices/SKILL.md. - The user is setting up wireless / Wi-Fi ADB — use
../../devices/connecting-over-wifi/SKILL.md. - The user is running
adb shell am instrumentfor tests — use../../tests/running-instrumented-tests-via-adb/SKILL.md.
Prerequisites
- Android SDK Platform-Tools installed (path resolution rules below).
- Shell access to a workstation with
adbon$PATH. - For diagnostic flows: write access to
$TMPDIR(macOS/Linux) or%TEMP%(Windows).
Workflow
- 1. Internalize the three-piece model. From developer.android.com/tools/adb (Overview):
- Client (
adbCLI) — invoked from the terminal. Serializes commands and ships them to the server over a local TCP socket. - Server (
adb-server) — host-side background process. Multiplexes commands from many clients, tracks connected transports, forwards traffic toadbd. Binds TCP port 5037 onlocalhostby default. - Daemon (
adbd) — runs on the device. Spawned byiniton userdebug/eng builds, and by the system on user builds. Receives commands from the host server over USB or TCP and executes them in the device's userspace.
- Client (
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 242 lines · 213 tokens per session scan D c996c3faf041
understanding-adb-architecture is a skill published in the GitHub repository skydoves/android-testing-skills (319 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 213 tokens to every session and 3,869 once invoked, about $0.0011 per session on Opus 5. A static security scan graded it D with 2 findings (asks for root, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
ios-fix
Autonomous iOS bug fixer. (gstack).
google-mobile-ads-validate
Validates a project's Google Mobile Ads (GMA) SDK integration for iOS, Android, or Unity projects. Use when conducting a full pre-launch audit of an app that integrates GMA SDK or when validating any individual GMA SDK integration checks, such as when validating ad unit IDs and ad formats, SKAdNetwork IDs, mediation…
competition-ios-runtime
Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for IPA runtime analysis, Frida hooks, Objective-C or Swift method tracing, Keychain inspection, SSL pinning bypass, URL scheme handling, and iOS request-signing recovery. Use when the user asks to hook an IPA, trace Objective-C or Swift…
swiftui-performance-audit
SwiftUI performance: render, scroll, CPU/memory, updates, layout, Instruments.
android-tombstone-symbolication
Symbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the Microsoft symbol server, and runs llvm-symbolizer to produce function names with source file and line numbers. USE FOR triaging a .NET MAUI or Mono Android app…
node-connect
Diagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps. Use when QR/setup code/manual connect fails, local Wi-Fi works but VPS/tailnet does not, or errors mention pairing required, unauthorized, bootstrap token invalid or expired, gateway.bind, gateway.remote.url, Tailscale…