android-transfer-skill
由 aadipapp 提供
iOS & macOS Development简介
Securely transfers files from macOS to Android with checksum verification and path validation.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
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
前置要求
- ADB (Android Debug Bridge)
安装
clawhub install aadipapp/android-transfer-skill运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。