claude-skills/

Anthropic公式スキル・プラグインの日本語ディレクトリ

last sync 22h ago
スキルOfficialproductivity

🧹clean-up-dropbox-content

プラグイン
dropbox

説明

Dropboxのコンテンツを整理するため、不要・重複・一時的・不必要なファイルを特定し、明示的な確認を経てからのみ削除を実行します。 次のような場合に使用: ユーザーがDropboxのファイルやフォルダの削除・除去・クリーンアップを明示的に要求したとき。

原文を表示

Clean up Dropbox content by identifying obsolete, duplicate, temporary, or unwanted files and deleting only after explicit review. Use when the user explicitly asks to delete, remove, or clean up Dropbox files or folders.

ユースケース

  • Dropboxのファイルやフォルダを削除したいとき
  • 不要なファイルを特定して削除するとき
  • 重複ファイルをクリーンアップするとき
  • 一時的なファイルを整理するとき

本文(日本語訳)

Dropbox コンテンツのクリーンアップ

次のような場合に使用: Dropbox で慎重な削除ワークフローを実行したいとき。


ツール

  • search
  • list_folder
  • get_file_metadata
  • list_shared_links
  • copy
  • delete
  • check_job_status

ワークフロー

  1. クリーンアップの目的とスコープを確認する。
  2. search または list_folder を使用して、削除候補となるコンテンツを特定する。
  3. get_file_metadata を使用して、各削除候補を検証する。
  4. 共有コンテンツを削除すると他のユーザーに影響が及ぶ可能性がある場合は、list_shared_links を使用する。
  5. ユーザーがロールバックを必要とする可能性がある場合は、現在の Dropbox MCP ツールではリビジョン一覧の取得や復元操作が公開されていない旨を説明する。
  6. ユーザーが事前にコピーを保存しておきたい場合は、正確なコピー先を確認したうえで copy を呼び出し、非同期コピージョブが正常に完了するまで check_job_status で状態を監視する。
  7. 要求されたコピーが正常に完了した後、削除対象の確認リストを提示し、明示的な承認を求める。
  8. delete は、確認済みの対象のみに対して呼び出す。
  9. 非同期のコピーまたは削除ジョブについては、完了するか「保留中」として報告が必要になるまで check_job_status で状態を監視する。
  10. コピー済み・削除済み・スキップ済み・保留中・失敗したすべての項目を報告する。

確認が必要な事項

削除を実行する前に、以下を確認すること:

  • 正確なパスまたは安定した識別子
  • 各項目がファイルかフォルダか
  • 該当項目が共有されているかどうか
  • 削除しても安全な理由
  • 事前にコピーを保存する場合は、正確なコピー先

出力内容

削除前に以下を提示する:

  • 候補のパス
  • 種別(ファイル/フォルダ)
  • 利用可能な場合は最終更新日時
  • 関連する場合は共有状態
  • コピーを先に保存する場合はコピー先
  • 削除しても安全と判断した理由

削除後に以下を提示する:

  • コピーされた項目(該当する場合)
  • 削除された項目
  • 保留中の項目とジョブのステータス(該当する場合)
  • 失敗した項目とその理由
  • 曖昧またはリスクが高いためスキップされた項目

安全性

「古いファイル」や「重複ファイル」といった大まかなパターンだけを根拠に、削除対象を明示せずに削除してはならない。 ユーザーが子ファイルのみを確認した場合に、親フォルダを削除してはならない。 確信が持てない場合は処理を停止し、ユーザーに選択を求めること。


適切なトリガー例

  • 「これらの Dropbox ファイルを削除して。」
  • 「このフォルダ内の重複 PDF をクリーンアップして。」
  • 「古くなった下書きファイルを削除して。」
  • 「Dropbox から一時エクスポートファイルを削除して。」

使用しない場合

  • ユーザーがコンテンツをアーカイブに移動したい場合 → organize-dropbox-folder を使用する。
  • ユーザーがコンテンツを復元したい場合 → Dropbox の復元ツールが公開されるまで復元は利用できない旨を説明する。
  • ユーザーがクリーンアップ候補のリスト表示のみを希望し、削除を行わない場合 → find-dropbox-content または inspect-dropbox-file を使用する。
原文(English)を表示

Clean Up Dropbox Content

Use this skill for careful deletion workflows in Dropbox.

Tools

  • search
  • list_folder
  • get_file_metadata
  • list_shared_links
  • copy
  • delete
  • check_job_status

Workflow

  1. Confirm the cleanup goal and scope.
  2. Use search or list_folder to identify candidate content.
  3. Use get_file_metadata to verify each deletion candidate.
  4. Use list_shared_links when deleting shared content could affect others.
  5. If the user may need rollback context, explain that the current Dropbox MCP tools do not expose revision listing or restore operations.
  6. If the user wants to preserve a copy first, confirm the exact destination, call copy, and use check_job_status for any asynchronous copy job until it completes successfully.
  7. After any requested copy has completed successfully, present a deletion review list and ask for explicit confirmation.
  8. Call delete only for the exact confirmed items.
  9. Use check_job_status for any asynchronous copy or deletion job until it completes or must be reported as pending.
  10. Report every copied, deleted, skipped, pending, or failed item.

Confirmation Required

Before deleting anything, confirm:

  • Exact paths or stable identifiers
  • Whether each item is a file or folder
  • Whether the item appears shared
  • Why it is safe to delete
  • Exact copy destination, if the user wants to preserve a copy first

Output

Before deletion, present:

  • Candidate path
  • Type
  • Modified time when available
  • Sharing status when relevant
  • Copy destination when preserving a copy first
  • Reason it appears safe to delete

After deletion, present:

  • Copied items when relevant
  • Deleted items
  • Pending items and job status when relevant
  • Failed items and reason
  • Items skipped because they were ambiguous or risky

Safety

Never delete based only on a broad pattern like "old files" or "duplicates" without listing exact targets. Never delete a parent folder when the user confirmed only child files. If confidence is not high, stop and ask the user to choose.

Good Triggers

  • "Delete these Dropbox files."
  • "Clean up duplicate PDFs in this folder."
  • "Remove obsolete draft files."
  • "Delete temporary exports from Dropbox."

Do Not Use When

  • The user wants to move content to an archive. Use organize-dropbox-folder.
  • The user wants to recover content. Explain that recovery is unavailable until the Dropbox restore tool is exposed.
  • The user only wants a list of cleanup candidates and no deletion. Use find-dropbox-content or inspect-dropbox-file.

原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。