to-android-run
Installation
SKILL.md
To Android Run
Run exactly one supplied Android operation. Require appId; accept optional canonical ADB deviceId and device-side runtimePort, defaulting to 8484. Accept exactly one execution form:
source: one complete(async () => { ... })()expression.scriptPath + functionName: one named Module export.scriptPath + naturalDescription: read the matchingprobe.d.tscompletely and select exactly one export. Stop on no match, ambiguity, or missing required arguments.
Optional positional args apply only to Module. Do not convert between Inline and Module. If code is missing, first use to-android-probe-script.
Target
Run adb devices -l. Eligible targets are entries in state device that are either running emulators or physical devices with a USB transport. Exclude wireless, offline, and unauthorized entries.
- Supplied
deviceId: require an exact eligible match. - Omitted
deviceId: use the only eligible target; on zero or multiple matches, stop and report the available canonical IDs.
Do not boot devices or start emulators. Use adb -s "<device-id>" for every later ADB command.