android-transfer-skill
by aadipapp
iOS & macOS DevelopmentBrief
Securely transfers files from macOS to Android with checksum verification and path validation.
Description
What This Skill Does
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.
When to Use It
- 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
Example 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
Requirements
- ADB (Android Debug Bridge)
Installation
clawhub install aadipapp/android-transfer-skillRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.