Search

PythonReactSEOPDF
OpenClaw

android-transfer-secure

Securely transfers files from macOS to Android with checksum verification and path validation.

aadipapp0 source installs☆ 0 Repository starsv0.1.0

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install aadipapp/android-transfer-skill

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Secure Android File Transfer

This skill allows you to transfer files to an Android device with high security standards:

  • Checksum Verification: Ensures data integrity by comparing SHA256 hashes.
  • Path Validation: Prevents directory traversal and unauthorized path access.
  • Overwrite Protection: Prevents accidental data loss on the device.

Commands

  • transfer: Push a file to the connected Android device.

Source information

Source
github
Repository
openclaw/skills
Path
skills/aadipapp/android-transfer-skill
Version
0.1.0
Commit
a8e6c3f7484c56d14bd56bedc600ce35f786cb8f
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

README

Secure Android File Transfer Skill

This skill provides a secure way to transfer files from your Mac to an Android device.

Security Features

  1. Checksum Verification: Calculates SHA256 hash locally and remotely to ensure perfect file integrity.
  2. Overwrite Protection: Will NOT overwrite existing files on the phone unless you force it.
  3. Path Sanitization: Blocks directory traversal attempts (e.g. ../) to prevent accessing unauthorized files.
  4. Device Authorization: Verifies the device is authorized before attempting transfer.

Prerequisites

  • Android Debug Bridge (adb): Must be installed.
    • Install via Homebrew: brew install android-platform-tools
  • USB Debugging: Must be enabled on your Android phone (Settings > Developer Options).
  • Authorization: When you plug in the phone, tap "Allow" on the "Allow USB debugging?" prompt.

Usage

Transfer a file
python3 scripts/secure_transfer.py /path/to/local/file.jpg

Transfers to /sdcard/Download/ by default.

Specify destination
python3 scripts/secure_transfer.py myfile.txt --dest /sdcard/Documents/
Force overwrite
python3 scripts/secure_transfer.py myfile.txt --force

Troubleshooting

  • "adb not found": Run brew install android-platform-tools.
  • "No authorized Android device found": Check your USB cable and unlock your phone to accept the authorization prompt.
  • "checksum mismatch": The transfer was corrupted. The script automatically deleted the partial file. Try again.

Extracted content

SKILL.md
# Secure Android File Transfer

This skill allows you to transfer files to an Android device with high security standards:
- **Checksum Verification**: Ensures data integrity by comparing SHA256 hashes.
- **Path Validation**: Prevents directory traversal and unauthorized path access.
- **Overwrite Protection**: Prevents accidental data loss on the device.

## Commands

- `transfer`: Push a file to the connected Android device.
README
# Secure Android File Transfer Skill

This skill provides a **secure** way to transfer files from your Mac to an Android device.

## Security Features
1.  **Checksum Verification**: Calculates SHA256 hash locally and remotely to ensure perfect file integrity.
2.  **Overwrite Protection**: Will NOT overwrite existing files on the phone unless you force it.
3.  **Path Sanitization**: Blocks directory traversal attempts (e.g. `../`) to prevent accessing unauthorized files.
4.  **Device Authorization**: Verifies the device is authorized before attempting transfer.

## Prerequisites

- **Android Debug Bridge (adb)**: Must be installed.
    - Install via Homebrew: `brew install android-platform-tools`
- **USB Debugging**: Must be enabled on your Android phone (Settings > Developer Options).
- **Authorization**: When you plug in the phone, tap "Allow" on the "Allow USB debugging?" prompt.

## Usage

### Transfer a file
```bash
python3 scripts/secure_transfer.py /path/to/local/file.jpg
```
*Transfers to `/sdcard/Download/` by default.*

### Specify destination
```bash
python3 scripts/secure_transfer.py myfile.txt --dest /sdcard/Documents/
```

### Force overwrite
```bash
python3 scripts/secure_transfer.py myfile.txt --force
```

## Troubleshooting
- **"adb not found"**: Run `brew install android-platform-tools`.
- **"No authorized Android device found"**: Check your USB cable and unlock your phone to accept the authorization prompt.
- **"checksum mismatch"**: The transfer was corrupted. The script automatically deleted the partial file. Try again.

Related skills

OpenClaw

13-Day Sprint Method

galizki

Productivity system based on Maya calendar with 13 natural tones for project management and personal development

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.