android-transfer-skill
par aadipapp
iOS & macOS DevelopmentRésumé
Securely transfers files from macOS to Android with checksum verification and path validation.
Description
Ce que fait ce skill
Transfers files from macOS to a connected Android device. Verifies each transfer with SHA256 checksums and validates destination paths to prevent directory traversal. Overwrite protection is on by default.
Standard ADB file push has no built-in integrity verification, so this skill adds checksum checks and path validation for safer automated transfers.
Quand l'utiliser
- Sideloading APK files onto an Android device
- Pushing test assets to an Android phone during development
- Transferring documents from Mac to Android storage
- Moving media files to a connected Android device
- Copying config or data files to an Android test device
Exemple de workflow
User asks: Transfer report.pdf to /sdcard/Documents/ on the connected Android device
- 1
Validate the destination path to block traversal attempts
- 2
Compute SHA256 hash of the source file
- 3
Push the file to the Android device via ADB
- 4
Verify the transferred file's checksum on the device
File transferred to /sdcard/Documents/report.pdf with checksum verified
Prérequis
- ADB (Android Debug Bridge)
Installation
clawhub install aadipapp/android-transfer-skillExécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.