10-of-my-most-popular-text-to-image-series-prompts-78b0897e
generate a bunch of images, then you curate the results to handpick the best ones
Securely transfers files from macOS to Android with checksum verification and path validation.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install aadipapp/android-transfer-skill打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
This skill allows you to transfer files to an Android device with high security standards:
transfer: Push a file to the connected Android device.这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
This skill provides a secure way to transfer files from your Mac to an Android device.
../) to prevent accessing unauthorized files.brew install android-platform-tools
python3 scripts/secure_transfer.py /path/to/local/file.jpg
Transfers to /sdcard/Download/ by default.
python3 scripts/secure_transfer.py myfile.txt --dest /sdcard/Documents/
python3 scripts/secure_transfer.py myfile.txt --force
brew install android-platform-tools.# 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.
# 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.generate a bunch of images, then you curate the results to handpick the best ones
generate a bunch of images, then you curate the results to handpick the best ones
Productivity system based on Maya calendar with 13 natural tones for project management and personal development
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.