jpskill.com
🛠️ 開発・MCP コミュニティ

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.

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o xdrop.zip https://jpskill.com/download/21193.zip && unzip -o xdrop.zip && rm xdrop.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/21193.zip -OutFile "$d\xdrop.zip"; Expand-Archive "$d\xdrop.zip" -DestinationPath $d -Force; ri "$d\xdrop.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して xdrop.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → xdrop フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
3

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Xdrop

このスキルディレクトリ内の同梱スクリプトを使用してください。

利用可能なスクリプト

  • scripts/upload.mjs — ローカルファイルまたはディレクトリを Xdrop サーバーにアップロードし、共有リンクを表示します。
  • scripts/download.mjs — Xdrop の共有リンクをダウンロードし、ローカルで復号化してファイルを保存します。

環境要件:

  • Bun
  • ローカルファイルシステムへのアクセス
  • ターゲットの Xdrop サーバーへのネットワークアクセス

アップロード

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

関連する場合、以下のフラグを使用してください。

  • --quiet: 進捗状況の出力を抑制し、stdout をきれいに保ちます。
  • --json: transferIdshareUrl、および expiresAt を返します。
  • --expires-in <seconds>: サポートされている有効期限を選択します。
  • --api-url <url>: デフォルトの <server>/api/v1 を上書きします。
  • --name <value>: 転送の表示名を設定します。
  • --concurrency <n>: ファイルごとの並列アップロード数を制限します。

便利な例:

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

ユーザーが検証を希望する場合、小さな一時ファイルをアップロードし、公開転送 API またはブラウザが返されたリンクを開けることを確認してください。

ダウンロード

#k=... を含む完全な共有リンクが必要です。フラグメントキーがないと、転送を復号化できません。

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

関連する場合、以下のフラグを使用してください。

  • --output <dir>: 保存先ディレクトリを選択します。
  • --quiet: 進捗状況の出力を抑制し、stdout をきれいに保ちます。
  • --json: transferIdoutputRoot、および保存されたファイルパスを返します。
  • --api-url <url>: デフォルトの <share-origin>/api/v1 を上書きします。

便利な例:

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=..."

デフォルトでは、ダウンローダーは ./xdrop-<transferId> に書き込み、マニフェストの相対パスを保持します。

注意点

  • #k=... フラグメントのないダウンロードリンクは復号化できません。完全な元の共有 URL を要求してください。
  • 他のコマンドや呼び出し元が stdout をキャプチャする必要がある場合は、常に --quiet を使用してください。進捗ログは stderr に出力されますが、最終結果は重要です。

ガードレール

  • 他のコマンドやスクリプトが stdout をキャプチャする必要がある場合は、--quiet を優先してください。
  • ダウンロードの場合、完全な共有リンクフラグメントをそのまま保持してください。
  • ユーザーが明示的に要求しない限り、スクリプトに組み込まれたパスサニタイズや転送クリーンアップ動作を、手動のアドホックコマンドでバイパスしないでください。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

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.

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。