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.5 | $0.00085 | $0.01548 |
| Sonnet 5.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 3mo 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.
- 3mo 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 (351 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 213 tokens to every session and 3,869 once invoked, about $0.0009 per session on Opus 5.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.
understanding-adb-architecture compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| understanding-adb-architectureskydoves/android-testing-skills | Skill | 351 | 6mo ago | Apache-2.0 | D | 213 | Claude Code, Codex |
| ios-fixgarrytan/gstack | Skill | 143k | today | MIT | A | 28 | Claude Code |
| node-connectopenclaw/openclaw | Skill | 395k | today | MIT | A | 39 | Claude Code, Codex |
| google-mobile-ads-validategoogle/skills | Skill | 25k | today | Apache-2.0 | A | 84 | Claude Code, Codex |
| jetpack-compose-performanceandroid/skills | Skill | 11k | 7d ago | Apache-2.0 | A | 41 | Claude Code |
| competition-ios-runtimezhaoxuya520/reverse-skill | Skill | 46k | 16d ago | MIT | A | 123 | Codex |
| swiftui-performance-auditsteipete/agent-scripts | Skill | 7.6k | 3d ago | MIT | A | 24 | Claude Code, Codex |