xdrop

作成者: xixu-me

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.

xixu-meのその他のスキル

github-actions-docs
xixu-me
ユーザーがGitHub Actionsのワークフローの書き方、説明、カスタマイズ、移行、セキュリティ、トラブルシューティング、ワークフロー構文、トリガー、マトリックス、ランナー、再利用可能なワークフロー、アーティファクト、キャッシュ、シークレット、OIDC、デプロイメント、カスタムアクション、またはActions Runner Controllerについて質問し、特に公式のGitHubドキュメント、正確なリンク、またはドキュメントに基づいたYAMLガイダンスが必要な場合に使用します。
developmentdevopsdocument
use-my-browser
xixu-me
ユーザーのライブブラウザセッションや静的なフェッチではなく表示されたレンダリング状態に依存する作業に使用します。特に、ブラウザデバッグコンテキストやDevToolsで選択された要素やリクエスト、ログイン済みのダッシュボードやCMSフロー、localhostアプリ、フォーム、アップロード、ダウンロード、メディア検査、DOMやiframe検査、Shadow DOM、またはソフト404、認証壁、アンチボットチェック、レート制限のように見えるブラウザ障害に適しています。
browser-automationweb-scrapingtesting
readme-i18n
xixu-me
ユーザーがリポジトリのREADMEを翻訳したい、リポジトリを多言語対応にしたい、ドキュメントをローカライズしたい、言語切り替え機能を追加したい、READMEを国際化したい、またはGitHubスタイルのリポジトリでローカライズされたREADMEのバリエーションを更新したい場合に使用します。
documentdevelopmentapi
openclaw-secure-linux-cloud
xixu-me
クラウドサーバー上でOpenClawをセルフホストする際、リモートのOpenClawゲートウェイを堅牢化する際、SSHトンネリング、Tailscale、リバースプロキシ公開のいずれかを選択する際、または安全な個人デプロイメントのためのPodman、ペアリング、サンドボックス化、トークン認証、ツール権限のデフォルト設定を確認する際に使用します。
devopssecurity
develop-userscripts
xixu-me
TampermonkeyやScriptCat向けのブラウザユーザースクリプトの構築、デバッグ、パッケージ化、公開時に使用します。GM API、メタデータブロック、権限の問題、@match/@grant/@connectの設定、ScriptCatのバックグラウンドスクリプトやスケジュールスクリプト、UserConfigブロック、サブスクリプションワークフローを含みます。
developmentbrowser-automationweb-scraping
secure-linux-web-hosting
xixu-me
セルフホスティング用のクラウドサーバーのセットアップ、堅牢化、またはレビューを行う際に使用します。DNS、SSH、ファイアウォール、Nginx、静的サイトホスティング、アプリのリバースプロキシ、Let's EncryptやACMEクライアントを使用したHTTPS、安全なHTTPからHTTPSへのリダイレクト、またはBBRなどのオプションの起動後ネットワークチューニングを含みます。
devopssecurityaws
opensource-guide-coach
xixu-me
ユーザーがオープンソースプロジェクトの開始、貢献、成長、運営、資金調達、セキュリティ、持続可能性についてのガイダンスを求めている場合、またはコントリビューターのオンボーディング、コミュニティの健全性、メンテナーの burnout、行動規範、メトリクス、法的基礎、オープンソースプロジェクトの採用について質問している場合に使用します。
developmentresearch
running-claude-code-via-litellm-copilot
xixu-me
Claude CodeをローカルのLiteLLMプロキシ経由でGitHub Copilotにルーティングする際、直接のAnthropic費用を削減し、ANTHROPIC_BASE_URLやANTHROPIC_MODELのオーバーライドを設定する場合、またはmodel-not-found、localhostトラフィックなし、GitHub 401/403認証エラーなどのCopilotプロキシ設定の失敗をトラブルシューティングする場合に使用します。
developmentapidevops