跳到正文
TakoAPI
返回技能列表

android-transfer-skill

由 aadipapp 提供

iOS & macOS Development
788下载量由 clawskills.sh 提供
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

    Validate the destination path to block traversal attempts

  2. 2

    Compute SHA256 hash of the source file

  3. 3

    Push the file to the Android device via ADB

  4. 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 或你在用的任意编程智能体里。

链接