Back to Skills

xdrop

Use this skill when the user wants to send or fetch files through an Xdrop server from the terminal, asks to automate encrypted Xdrop share-link workflows, provides an Xdrop `/t/:transferId#k=...` link to download and decrypt locally, or needs Xdrop CLI flags such as `--quiet`, `--json`, `--expires-in`, `--output`, or `--api-url`, even if they do not explicitly mention the skill name.

31stars1forksUpdated 4/9/2026

Security Assessment

Safe(100/100)
Security Score100/100

About xdrop

The xdrop skill provides a command-line interface for securely uploading and downloading files through an Xdrop server. It simplifies the process of managing encrypted file transfers directly from the terminal, allowing users to generate shareable links for uploads and decrypt downloaded content locally. By leveraging the bundled scripts, users can automate workflows for sending and retrieving files while maintaining security and confidentiality, particularly when dealing with sensitive or time-limited transfers. This skill eliminates the need for manual file handling via web interfaces and supports integration into larger automation pipelines.

FAQ

How do I upload a file using xdrop?

You can upload files or directories using the provided upload script with the command `bun scripts/upload.mjs --server <xdrop-site-url> <file-or-directory>`. Optional flags include `--quiet`, `--json`, `--expires-in`, `--api-url`, `--name`, and `--concurrency` for customizing the upload behavior.

How do I download and decrypt a file?

To download, use `bun scripts/download.mjs "<share-url>"` including the `#k=...` fragment key. Optional flags such as `--output`, `--quiet`, `--json`, and `--api-url` help specify the destination directory, suppress output, and override API endpoints.

What are the environment requirements for xdrop?

You need Bun installed, local filesystem access, and network access to the target Xdrop server to run the scripts successfully.

Can I decrypt a download link without the fragment key?

No, the `#k=...` fragment is essential for decryption. Without it, the transfer cannot be accessed.

How can I capture output cleanly in scripts?

Use the `--quiet` flag when another command or script needs to capture stdout. Progress logs are sent to stderr, but the final result remains available.

All Files

3 files
scripts/download.mjs10.5 KB
View
scripts/upload.mjs19.8 KB
View
SKILL.md3.0 KB
View

Install xdrop

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

xixu-me/skills