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 agentmods add skills/ithinkihaveacat/dotfiles/adbnpx skills add ithinkihaveacat/dotfiles --skill adbgit clone --depth 1 https://github.com/ithinkihaveacat/dotfilesWrote 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/ithinkihaveacat/dotfiles/adb)<a href="https://agentmods.dev/skills/ithinkihaveacat/dotfiles/adb"><img src="https://agentmods.dev/badge/skills/ithinkihaveacat/dotfiles/adb.svg" alt="Measured on agentmods" 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 | $0.00073 | $0.01526 |
| Opus 5 | $0.00036 | $0.00763 |
| Sonnet 5 | $0.00015 | $0.00305 |
| Haiku 4.5 | $0.00007 | $0.00153 |
Grade A, and why
adb scanned grade A with 0 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 4d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Android ADB
Using Helper Scripts vs. Raw ADB
Use the scripts in scripts/ as the primary interface for device workflows.
References to scripts/... in this skill are relative to this skill directory.
They encapsulate solutions to common Android and Wear OS platform quirks:
- Automatic circular display masking and density scaling for Wear OS screenshots
- Device wake-up and keyguard dismissal prior to capture
- Clipboard integration on macOS
- Sensible default filenames and robust error handling
When to use raw adb: For general diagnostic inspection not covered by
these scripts (e.g. adb logcat, adb shell pm list), or when building custom
pipelines, standard adb commands are appropriate. If a helper script fails or
lacks a specific flag you need, inspect its source in scripts/ to understand
the underlying dumpsys or input sequence and adapt it.
Quick Start
When multiple devices are connected, pass -s SERIAL or --serial SERIAL
before other arguments to any skill script except adb-screenrecord. The flag
overrides ANDROID_SERIAL; the environment variable remains available for
persistent or inherited device selection.
Highest-Value Commands
-
Screenshot (auto-masks circular Wear OS displays):
scripts/adb-screenshot -
Wear OS Tile Debugging Workflow:
scripts/adb-tile-add com.example/.MyTileService-> output gives INDEXscripts/adb-tile-switch INDEX -
Inspect Wear OS Data Layer:
adb exec-out dumpsys activity service WearableService -
Package Information:
scripts/packagename tiles PACKAGE_NAMEscripts/packagename services PACKAGE_NAME -
Device Info:
scripts/adb-device-properties -
Discover Activities:
scripts/adb-activities(find launcher, TV, settings activities)
Script Index
See references/command-index.md for detailed usage.
Device Basics
scripts/adb-device-properties: Show key device properties (model, manufacturer, API level, display size, etc.).scripts/adb-log: Write a message to the system log.
What ships with it
24 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- permissions/unsafe 331 B
- references/bug-report-capture.md 2.0 KB
- references/command-index.md 12 KB
- references/troubleshooting.md 3.2 KB
- scripts/adb-activities 5.7 KB
- scripts/adb-battery-stats 1.4 KB
- scripts/adb-currentfocus 17 KB
- scripts/adb-demo 4.4 KB
- scripts/adb-device-properties 5.5 KB
- scripts/adb-fontscale 2.5 KB
- scripts/adb-log 1.6 KB
- scripts/adb-packages 1.5 KB
- scripts/adb-screenrecord 9.6 KB
- scripts/adb-screenshot 4.9 KB
- scripts/adb-settings-theme 2.4 KB
- scripts/adb-theme 5.1 KB
- scripts/adb-tile-add 12 KB
- scripts/adb-tile-remove 2.4 KB
- scripts/adb-tile-switch 2.1 KB
- scripts/adb-tiles 6.6 KB
- scripts/adb-uihierarchy 2.9 KB
- scripts/adb-watchface-set 2.2 KB
- scripts/packagename 13 KB
- tests/test-adb-screenrecord 9.8 KB
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.
- 4d ago First seen · 153 lines · 73 tokens per session scan A b4f8da56a3d4
adb is a skill published in the GitHub repository ithinkihaveacat/dotfiles (48 stars, last pushed today), licensed Apache-2.0. It adds 73 tokens to every session and 1,526 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
developer-device-platform-basics
Provides guidance and instructions on managing remote devices on Developer Device Platform (DDP). Use when reserving remote Android devices, establishing connection tunnels, checking session status, or extending/cancelling leases. Don't use for iOS or local device/hardware inquiries.
camerax
Provide technical guidance for Android camera development with CameraX. Use when implementing camera features, handling asynchronous recording lifecycles, wiring low-level hardware interop using CameraX, or integrating ML Kit or Media3 effects.
agent-browser
Browser automation via Chrome/Chromium CDP — open, snapshot, click, screenshot. For testing web apps, mobile layouts, and automated interactions without Playwright/Puppeteer.
serve-sim-placeholder-assets
Audit and update serve-sim's Device Hub-style simulator placeholder assets from local Xcode/CoreTypes resources. Use after installing a new Xcode or macOS seed, or when iPhone, iPad, Watch, or Vision placeholder previews look wrong.
mobile-platform-native-capabilities-integrate
Build a Salesforce LWC that uses native mobile device capabilities — barcode scanner, biometrics, location, NFC, calendar, contacts, document scanner, geofencing, AR space capture, app review, and payments. Use this skill when the user asks for an LWC that scans a barcode, captures a photo of a document, reads…
x-smart
SMART disk health monitoring tool. Check disk health, temperature, and attributes using smartctl. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.