dropbox-automation – skill Agent & Tự động hóa cho agent AI
Tự động hóa quản lý tệp, chia sẻ, tìm kiếm, tải lên, tải xuống và thao tác thư mục trên Dropbox qua Rube MCP (Composio). Luôn tìm công cụ trước để lấy schema hiện tại.
Cài skill dropbox-automation bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/dropbox-automation-04293.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /dropbox-automation – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/dropbox-automation-04293.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $dropbox-automation – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/dropbox-automation-04293.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /dropbox-automation – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/dropbox-automation-04293.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /dropbox-automation – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Dropbox Automation via Rube MCP
Automate Dropbox operations including file upload/download, search, folder management, sharing links, batch operations, and metadata retrieval through Composio's Dropbox toolkit.
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active Dropbox connection via
RUBE_MANAGE_CONNECTIONSwith toolkitdropbox - Always call
RUBE_SEARCH_TOOLSfirst to get current tool schemas
Setup
Use an existing approved Rube connection; an endpoint alone does not authenticate Dropbox. Use the supported setup/auth flow within requested scope.
1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
2. Call RUBE_MANAGE_CONNECTIONS with toolkit dropbox
3. If connection is not ACTIVE, follow the returned auth link to complete Dropbox OAuth
4. Confirm connection status shows ACTIVE before running any workflows
Historical slugs/limits/defaults below need current schema verification. Verify account/root namespace, exact file/version, destination and approved audience before mutations, overwrite, ownership transfer or sharing. Existing links may be broader than the requested audience: inspect permissions before reusing. Reconcile asynchronous/unknown writes using their original job IDs before retrying.
Core Workflows
1. Search for Files and Folders
When to use: User wants to find files or folders by name, content, or type
Tool sequence:
1. DROPBOX_SEARCH_FILE_OR_FOLDER - Search by query string with optional path scope and filters [Required]
2. DROPBOX_SEARCH_CONTINUE - Paginate through additional results using cursor [Required if has_more]
3. DROPBOX_GET_METADATA - Validate and get canonical path for a search result [Optional]
4. DROPBOX_READ_FILE - Read file content to verify it is the intended document [Optional]
Key parameters:
query: Search string (case-insensitive, 1+ non-whitespace characters)options.path: Scope search to a folder (e.g.,"/Documents"); empty string for rootoptions.file_categories: Filter by type ("image","document","pdf","folder", etc.)options.file_extensions: Filter by extension (e.g.,["jpg", "png"])options.filename_only: Settrueto match filenames only (not content)options.max_results: Results per page (default 100, max 1000)
Pitfalls:
- Search returns
has_more: truewith acursorwhen more results exist; MUST continue to avoid silently missing matches - Maximum 10,000 matches total across all pages of search + search_continue
DROPBOX_GET_METADATAreturnedpath_displaymay differ in casing from user input; always use the returned canonical path- File content from
DROPBOX_READ_FILEmay be returned as base64-encodedfile_content_bytes; decode before parsing
2. Upload and Download Files
When to use: User wants to upload files to Dropbox or download files from it
Tool sequence:
1. DROPBOX_UPLOAD_FILE - Upload a file to a specified path [Required for upload]
2. DROPBOX_READ_FILE - Download/read a file from Dropbox [Required for download]
3. DROPBOX_DOWNLOAD_ZIP - Download an entire folder as a zip file [Optional]
4. DROPBOX_SAVE_URL - Save a file from a public URL directly to Dropbox [Optional]
5. DROPBOX_GET_SHARED_LINK_FILE - Download a file from a shared link URL [Optional]
6. DROPBOX_EXPORT_FILE - Export non-downloadable files like Dropbox Paper to markdown/HTML [Optional]
Key parameters:
path: Dropbox path (must start with/, e.g.,"/Documents/report.pdf")mode:"add"(default, fail on conflict) or"overwrite"for uploadsautorename:trueto auto-rename on conflict instead of failingcontent: FileUploadable object withs3key,mimetype, andnamefor uploadsurl: Public URL forDROPBOX_SAVE_URLexport_format:"markdown","html", or"plain_text"for Paper docs
Pitfalls:
DROPBOX_SAVE_URLis asynchronous and may take up to 15 minutes for large filesDROPBOX_DOWNLOAD_ZIPfolder must be under 20 GB with no single file over 4 GB and fewer than 10,000 entriesDROPBOX_READ_FILEcontent may be base64-encoded; check response format- Shared link downloads via
DROPBOX_GET_SHARED_LINK_FILEmay requirelink_passwordfor protected links
3. Share Files and Manage Links
When to use: User wants to create sharing links or manage existing shared links
Tool sequence:
1. DROPBOX_GET_METADATA - Confirm file/folder exists and get canonical path [Prerequisite]
2. DROPBOX_LIST_SHARED_LINKS - Check for existing shared links to avoid duplicates [Prerequisite]
3. DROPBOX_CREATE_SHARED_LINK - Create a new shared link [Required]
4. DROPBOX_GET_SHARED_LINK_METADATA - Resolve a shared link URL to metadata [Optional]
5. DROPBOX_LIST_SHARED_FOLDERS - List all shared folders the user has access to [Optional]
Key parameters:
path: File or folder path for link creationsettings.audience:"public","team", or"no_one"settings.access:"viewer"or"editor"settings.expires: ISO 8601 expiration date (e.g.,"2026-12-31T23:59:59Z")settings.require_password/settings.link_password: Password protectionsettings.allow_download: Boolean for download permissiondirect_only: ForLIST_SHARED_LINKS, settrueto only return direct links (not parent folder links)
Pitfalls:
DROPBOX_CREATE_SHARED_LINKfails with 409 Conflict if a shared link already exists for the path; check withDROPBOX_LIST_SHARED_LINKSfirst- Always validate path with
DROPBOX_GET_METADATAbefore creating links to avoidpath/not_founderrors - Reuse existing links from
DROPBOX_LIST_SHARED_LINKSinstead of creating duplicates requested_visibilityis deprecated; useaudiencefor newer implementations
4. Manage Folders (Create, Move, Delete)
When to use: User wants to create, move, rename, or delete files and folders
Tool sequence:
1. DROPBOX_CREATE_FOLDER - Create a single folder [Required for create]
2. DROPBOX_CREATE_FOLDER_BATCH - Create multiple folders at once [Optional]
3. DROPBOX_MOVE_FILE_OR_FOLDER - Move or rename a single file/folder [Required for move]
4. DROPBOX_MOVE_BATCH - Move multiple items at once [Optional]
5. DROPBOX_DELETE_FILE_OR_FOLDER - Delete a single file or folder [Required for delete]
6. DROPBOX_DELETE_BATCH - Delete multiple items at once [Optional]
7. DROPBOX_COPY_FILE_OR_FOLDER - Copy a file or folder to a new location [Optional]
8. DROPBOX_CHECK_MOVE_BATCH / DROPBOX_CHECK_FOLDER_BATCH - Poll async batch job status [Required for batch ops]
Key parameters:
path: Target path (normally starts with/; path comparison is case-insensitive)from_path/to_path: Source and destination for move/copy operationsautorename:trueto auto-rename on conflictentries: Array of{from_path, to_path}for batch moves; array of paths for batch createsallow_shared_folder: Settrueto allow moving shared foldersallow_ownership_transfer: Settrueif move changes ownership
Pitfalls:
- Dropbox paths are case-insensitive and normally start with
/; opaque IDs remain case-sensitive - Paths must NOT end with
/or whitespace - Batch operations may be asynchronous; poll with
DROPBOX_CHECK_MOVE_BATCHorDROPBOX_CHECK_FOLDER_BATCH DROPBOX_FILES_MOVE_BATCH(v1) has "all or nothing" behavior - if any entry fails, entire batch failsDROPBOX_MOVE_BATCH(v2) is preferred overDROPBOX_FILES_MOVE_BATCH(v1)- Maximum 1000 entries per batch delete/move; 10,000 paths per batch folder create
- Case-only renaming is not supported in batch move operations
5. List Folder Contents
When to use: User wants to browse or enumerate files in a Dropbox folder
Tool sequence:
1. DROPBOX_LIST_FILES_IN_FOLDER - List contents of a folder [Required]
2. DROPBOX_LIST_FOLDERS - Alternative folder listing with deleted entries support [Optional]
3. DROPBOX_GET_METADATA - Get details for a specific item [Optional]
Key parameters:
path: Folder path (empty string""for root)recursive:trueto list all nested contentslimit: Max results per request (default/max 2000)include_deleted:trueto include deleted but recoverable itemsinclude_media_info:trueto get photo/video metadata
Pitfalls:
- Use empty string
""for root folder, not"/" - Recursive listings can be very large; use
limitto control page size - Results may paginate via cursor even with small limits
DROPBOX_LIST_FILES_IN_FOLDERreturns 409 Conflict withpath/not_foundfor incorrect paths
Common Patterns
ID Resolution
- Path-based: Most Dropbox tools use path strings (e.g.,
"/Documents/file.pdf") - ID-based: Some tools accept
id:...format (e.g.,"id:4g0reWVRsAAAAAAAAAAAQ") - Canonical path: Always use
path_displayorpath_lowerfromDROPBOX_GET_METADATAresponses for subsequent calls - **Shared link U
… (nội dung đầy đủ có trong gói tải về)
Skill liên quan
- promote – Nâng một mẫu đã được kiểm chứng từ bộ nhớ tự động (MEMORY.md) lên CLAUDE.md hoặc…
- eas-app-stores – Hướng dẫn upstream được tuyển chọn cho Eas App Stores; dùng khi quy trình phù hợp với…
- eas-hosting – Hướng dẫn upstream được tuyển chọn cho Eas Hosting; dùng khi quy trình phù hợp với mục…
- eas-observe – Hướng dẫn upstream được tuyển chọn cho Eas Observe; dùng khi quy trình phù hợp với mục…
- eas-simulator – Hướng dẫn upstream được tuyển chọn cho Eas Simulator; dùng khi quy trình phù hợp với mục…
- prompt-governance – Dùng khi quản lý prompt trong production ở quy mô lớn: quản lý phiên bản prompt, chạy…
- ecl-harness-engineer – Tạo hoặc kiểm tra hạ tầng ECL Agent Harness: AGENTS.md, theo dõi thay đổi, hướng dẫn…
- effective-agent-skills – Soạn thảo và đánh giá skill cho agent chất lượng cao, với trigger, progressive…