RIPDPI: Skill for Claude Code

.agents/skills/android-device-debug/SKILL.md

android-device-debug is a skill for Claude Code, Codex from po4yka/RIPDPI. It costs 49 tokens per session (2,617 once invoked), scanned A, original, BSD-3-Clause.

A guide to debugging an Android app on a physical device or emulator with ADB, Android's command-line device tool. It covers building, installing, launching, logs, port forwarding, instrumented tests, crashes, and app-not-responding failures.

In plain words
What is it for?
Use it to reproduce and diagnose Android crashes or ANRs, run device tests, inspect logcat output, and test native or service behavior on a device.
Why use it?
It provides a consistent way to select the right device and investigate failures without relying on extra debugging tools. It also separates emulator setup from commands that act on the chosen device.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is po4yka/RIPDPI's own configuration. It tells Claude Code and Codex how to work on RIPDPI itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything RIPDPI configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash scripts/ci/start-local-network-fixture.sh.

Reuse

Borrowing it

Nothing to install: this file belongs to po4yka/RIPDPI. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/po4yka/RIPDPI/main/.agents/skills/android-device-debug/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/po4yka/RIPDPI

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for android-device-debug

README.md
[![agentmods](https://agentmods.dev/badge/skills/po4yka/ripdpi/android-device-debug/github.svg)](https://agentmods.dev/skills/po4yka/ripdpi/android-device-debug)
Your own site
<a href="https://agentmods.dev/skills/po4yka/ripdpi/android-device-debug"><img src="https://agentmods.dev/badge/skills/po4yka/ripdpi/android-device-debug/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.

agentmods 80×15 button for android-device-debug

Your own site · 80×15
<a href="https://agentmods.dev/skills/po4yka/ripdpi/android-device-debug"><img src="https://agentmods.dev/badge/skills/po4yka/ripdpi/android-device-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,617 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.02617
Opus 5.5 $0.00020 $0.01047
Sonnet 5.5 $0.00010 $0.00523
Haiku 4.5 $0.00005 $0.00262

Measured yesterday against content hash d9fe0ee79a3e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

android-device-debug scanned grade A with 1 finding 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 yesterday.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsS http://127.0.0.1:46090/health
.agents/skills/android-device-debug/SKILL.md · 304 lines

How it starts

The opening of the file, as written. The whole thing — 304 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Android Device Debug

ADB-based debugging for the RIPDPI app on physical devices and emulators. No third-party tools -- uses only adb, Gradle, and existing repo scripts.

Full test stack documentation: docs/testing.md. Do not duplicate it here -- read it when you need runner details, CI lanes, or fixture locations.

Device Discovery & Connection

For local emulator work, first read Local Android emulator pool. Run the full investigation or test command under scripts/ci/android-avd-pool.py. Use its exported ANDROID_SERIAL throughout the lease. The discovery commands below do not grant ownership of an existing device.

adb devices -l                        # list connected devices/emulators
adb wait-for-device                   # block until a device is available

Multi-device disambiguation:

export ANDROID_SERIAL=<serial>        # all subsequent adb commands target this device
adb -s <serial> <command>             # one-off targeting

Build, Install & Launch

Build

# Physical device (ARM)
./gradlew :app:assembleGithubFullDebug -Pripdpi.localNativeAbis=arm64-v8a

# Emulator (x86_64 -- fast path)
./gradlew :app:assembleGithubFullDebug -Pripdpi.localNativeAbis=x86_64

Install

adb install -r app/build/outputs/apk/githubFull/debug/app-github-full-universal-debug.apk

Launch with Automation Extras

Source of truth: app/src/main/kotlin/com/poyka/ripdpi/automation/AutomationLaunchContract.kt

adb shell am start -n com.poyka.ripdpi/.activities.MainActivity \
  --ez com.poyka.ripdpi.automation.ENABLED true \
  --ez com.poyka.ripdpi.automation.RESET_STATE true \
  --ez com.poyka.ripdpi.automation.DISABLE_MOTION true \
  --es com.poyka.ripdpi.automation.START_ROUTE home \
  --es com.poyka.ripdpi.automation.PERMISSION_PRESET granted \
  --es com.poyka.ripdpi.automation.SERVICE_PRESET idle \
  --es com.poyka.ripdpi.automation.DATA_PRESET clean_home

Read the full file on GitHub · 304 lines

Changes

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.

  1. yesterday First seen · 304 lines · 49 tokens per session scan A d9fe0ee79a3e

Subscribe to this mod's changes

android-device-debug is a skill published in the GitHub repository po4yka/RIPDPI (85 stars, last pushed yesterday), licensed BSD-3-Clause. It adds 49 tokens to every session and 2,617 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-07.

Related

android-device-debug compared with skills from other repositories

android-device-debug next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
android-device-debugpo4yka/RIPDPISkill85yesterdayBSD-3-ClauseA49Claude Code, Codex
argent-react-native-app-workflowsoftware-mansion/argentSkill3.2ktodayApache-2.0A46Claude Code, Codex
argent-react-native-optimizationsoftware-mansion/argentSkill3.2ktodayApache-2.0A71Claude Code, Codex
argent-metro-debuggersoftware-mansion/argentSkill3.2ktodayApache-2.0A104Claude Code, Codex
argent-native-profilersoftware-mansion/argentSkill3.2ktodayApache-2.0A37Claude Code, Codex
compose-performancechrisbanes/skillsSkill1.1k2d agoApache-2.0A42Claude Code
extract-apkniki914/zafiroSkill3415d agoMITA105Claude Code, Codex