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.

npx skills add https://github.com/xixu-me/skills --skill xdrop

Use the bundled scripts inside this skill directory.

Available scripts

  • scripts/upload.mjs — Upload local files or directories to an Xdrop server and print the share link
  • scripts/download.mjs — Download an Xdrop share link, decrypt it locally, and save the files

Environment requirements:

  • Bun
  • Local filesystem access
  • Network access to the target Xdrop server

Upload

bun scripts/upload.mjs --server <xdrop-site-url> <file-or-directory> [...]

Prefer these flags when relevant:

  • --quiet: suppress progress output and keep stdout clean
  • --json: return transferId, shareUrl, and expiresAt
  • --expires-in <seconds>: choose a supported expiry
  • --api-url <url>: override the default <server>/api/v1
  • --name <value>: set the transfer display name
  • --concurrency <n>: limit parallel uploads per file

Useful examples:

bun scripts/upload.mjs --server http://localhost:8080 ./dist/report.pdf
bun scripts/upload.mjs --server http://localhost:8080 --quiet ./archive.zip
bun scripts/upload.mjs --server http://localhost:8080 --expires-in 600 --json ./notes.txt

If the user wants verification, upload a small temporary file and then confirm the public transfer API or browser can open the returned link.

Download

Require the full share link, including #k=.... Without the fragment key, the transfer cannot be decrypted.

bun scripts/download.mjs "<share-url>"

Prefer these flags when relevant:

  • --output <dir>: choose the destination directory
  • --quiet: suppress progress output and keep stdout clean
  • --json: return transferId, outputRoot, and saved file paths
  • --api-url <url>: override the default <share-origin>/api/v1

Useful examples:

bun scripts/download.mjs "http://localhost:8080/t/abc123#k=..."
bun scripts/download.mjs --output ./downloads "http://localhost:8080/t/abc123#k=..."
bun scripts/download.mjs --quiet --json --output ./downloads "http://localhost:8080/t/abc123#k=..."

By default the downloader writes to ./xdrop-<transferId> and preserves the manifest's relative paths.

Gotchas

  • A download link without the #k=... fragment is not decryptable. Ask for the full original share URL.
  • Use --quiet whenever another command or caller needs to capture stdout. Progress logs otherwise go to stderr, but the final result still matters.

Guardrails

  • Prefer --quiet when another command or script needs to capture stdout.
  • Keep the full share link fragment intact for downloads.
  • Do not bypass the scripts' built-in path sanitization or transfer cleanup behavior with manual ad hoc commands unless the user explicitly asks.

Mehr Skills von xixu-me

github-actions-docs
xixu-me
Verwenden, wenn Nutzer fragen, wie man GitHub Actions-Workflows, Workflow-Syntax, Trigger, Matrizen, Runner, wiederverwendbare Workflows, Artefakte, Caching, Secrets, OIDC, Bereitstellungen, benutzerdefinierte Aktionen oder den Actions Runner Controller schreibt, erklärt, anpasst, migriert, absichert oder Fehler behebt, insbesondere wenn sie offizielle GitHub-Dokumentation, genaue Links oder dokumentationsgestützte YAML-Anleitungen benötigen.
developmentdevopsdocument
use-my-browser
xixu-me
Verwenden, wenn die Arbeit von der aktiven Browsersitzung des Benutzers oder dem sichtbaren gerenderten Zustand abhängt, anstatt von statischen Abrufen, insbesondere für Browser-Debugging-Kontexte oder in DevTools ausgewählte Elemente oder Anfragen, eingeloggte Dashboards oder CMS-Abläufe, Localhost-Apps, Formulare, Uploads, Downloads, Medieninspektion, DOM- oder Iframe-Inspektion, Shadow DOM oder Browserfehler, die wie weiche 404er, Authentifizierungswände, Anti-Bot-Prüfungen oder Ratenbegrenzungen aussehen.
browser-automationweb-scrapingtesting
readme-i18n
xixu-me
Verwenden, wenn der Benutzer ein Repository-README übersetzen, ein Repository mehrsprachig machen, Dokumentation lokalisieren, einen Sprachwechsler hinzufügen, das README internationalisieren oder lokalisierte README-Varianten in einem GitHub-ähnlichen Repository aktualisieren möchte.
documentdevelopmentapi
openclaw-secure-linux-cloud
xixu-me
Verwenden beim Selbsthosten von OpenClaw auf einem Cloud-Server, Härten eines entfernten OpenClaw-Gateways, Auswahl zwischen SSH-Tunneling, Tailscale oder Reverse-Proxy-Exposition oder Überprüfen von Podman, Pairing, Sandboxing, Token-Auth und Tool-Berechtigungs-Standards für eine sichere persönliche Bereitstellung.
devopssecurity
develop-userscripts
xixu-me
Verwenden beim Erstellen, Debuggen, Packen oder Veröffentlichen von Browser-Userscripts für Tampermonkey oder ScriptCat, einschließlich GM-APIs, Metadatenblöcke, Berechtigungsprobleme, @match/@grant/@connect-Einrichtung, ScriptCat-Hintergrund- oder geplante Skripte, UserConfig-Blöcke oder Abonnement-Workflows.
developmentbrowser-automationweb-scraping
secure-linux-web-hosting
xixu-me
Verwenden beim Einrichten, Härten oder Überprüfen eines Cloud-Servers für Self-Hosting, einschließlich DNS, SSH, Firewalls, Nginx, statischem Site-Hosting, Reverse-Proxy einer App, HTTPS mit Let's Encrypt oder ACME-Clients, sicheren HTTP-zu-HTTPS-Weiterleitungen oder optionaler Netzwerkoptimierung nach dem Start wie BBR.
devopssecurityaws
opensource-guide-coach
xixu-me
Verwenden, wenn ein Benutzer Beratung zum Starten, Beitragen, Wachsen, Verwalten, Finanzieren, Sichern oder Aufrechterhalten eines Open-Source-Projekts wünscht oder nach dem Onboarding von Mitwirkenden, der Gesundheit der Community, dem Burnout von Maintainern, Verhaltenskodizes, Metriken, rechtlichen Grundlagen oder der Adoption von Open-Source-Projekten fragt.
developmentresearch
running-claude-code-via-litellm-copilot
xixu-me
Verwenden beim Routen von Claude Code über einen lokalen LiteLLM-Proxy zu GitHub Copilot, zur Reduzierung direkter Anthropic-Ausgaben, Konfiguration von ANTHROPIC_BASE_URL- oder ANTHROPIC_MODEL-Überschreibungen oder zur Fehlerbehebung bei Copilot-Proxy-Einrichtungsfehlern wie model-not-found, kein localhost-Datenverkehr oder GitHub 401/403-Authentifizierungsfehlern.
developmentapidevops