Box automation

From kursku/skills · View interactive version

Box automation is an AI agent skill from the GitHub repository kursku/skills. Automate Box cloud storage operations including file upload/download, search, folder management, sharing, collaborations, and metadata queries via Rube MCP (Composio). Always search tools first for...

How to use this skill

Skill file

Box Automation via Rube MCP

Automate Box operations including file upload/download, content search, folder management, collaboration, metadata queries, and sign requests through Composio's Box toolkit.

Prerequisites

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit box
  3. If connection is not ACTIVE, follow the returned auth link to complete Box OAuth
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. Upload and Download Files

When to use: User wants to upload files to Box or download files from it

Tool sequence:

  1. BOX_SEARCH_FOR_CONTENT - Find the target folder if path is unknown [Prerequisite]
  2. BOX_GET_FOLDER_INFORMATION - Verify folder exists and get folder_id [Prerequisite]
  3. BOX_LIST_ITEMS_IN_FOLDER - Browse folder contents and discover file IDs [Optional]
  4. BOX_UPLOAD_FILE - Upload a file to a specific folder [Required for upload]
  5. BOX_DOWNLOAD_FILE - Download a file by file_id [Required for download]
  6. BOX_CREATE_ZIP_DOWNLOAD - Bundle multiple files/folders into a zip [Optional]

Key parameters:

Pitfalls:

2. Search and Browse Content

When to use: User wants to find files, folders, or web links by name, content, or metadata

Tool sequence:

  1. BOX_SEARCH_FOR_CONTENT - Full-text search across files, folders, and web links [Required]
  2. BOX_LIST_ITEMS_IN_FOLDER - Browse contents of a specific folder [Optional]
  3. BOX_GET_FILE_INFORMATION - Get detailed metadata for a specific file [Optional]
  4. BOX_GET_FOLDER_INFORMATION - Get detailed metadata for a specific folder [Optional]
  5. BOX_QUERY_FILES_FOLDERS_BY_METADATA - Search by metadata template values [Optional]
  6. BOX_LIST_RECENTLY_ACCESSED_ITEMS - List recently accessed items [Optional]

Key parameters:

Pitfalls:

3. Manage Folders

When to use: User wants to create, update, move, copy, or delete folders

Tool sequence:

  1. BOX_GET_FOLDER_INFORMATION - Verify folder exists and check permissions [Prerequisite]
  2. BOX_CREATE_FOLDER - Create a new folder [Required for create]
  3. BOX_UPDATE_FOLDER - Rename, move, or update folder settings [Required for update]
  4. BOX_COPY_FOLDER - Copy a folder to a new location [Optional]
  5. BOX_DELETE_FOLDER - Move folder to trash [Required for delete]
  6. BOX_PERMANENTLY_REMOVE_FOLDER - Permanently delete a trashed folder [Optional]

Key parameters:

Pitfalls:

4. Share Files and Manage Collaborations

When to use: User wants to share files, manage access, or handle collaborations

Tool sequence:

  1. BOX_GET_FILE_INFORMATION - Get file details and current sharing status [Prerequisite]
  2. BOX_LIST_FILE_COLLABORATIONS - List who has access to a file [Required]
  3. BOX_UPDATE_COLLABORATION - Change access level or accept/reject invitations [Required]
  4. BOX_GET_COLLABORATION - Get details of a specific collaboration [Optional]
  5. BOX_UPDATE_FILE - Create shared links, lock files, or update permissions [Optional]
  6. BOX_UPDATE_FOLDER - Create shared links on folders [Optional]

Key parameters:

Pitfalls:

5. Box Sign Requests

When to use: User wants to manage document signature requests

Tool sequence:

  1. BOX_LIST_BOX_SIGN_REQUESTS - List all signature requests [Required]
  2. BOX_GET_BOX_SIGN_REQUEST_BY_ID - Get details of a specific sign request [Optional]
  3. BOX_CANCEL_BOX_SIGN_REQUEST - Cancel a pending sign request [Optional]

Key parameters:

Pitfalls:

Common Patterns

ID Resolution

Box uses numeric string IDs for all entities:

Pagination

Box supports two pagination methods:

Nested Parameters

Box tools use double underscore notation for nested objects:

Known Pitfalls

ID Formats

Rate Limits

Parameter Quirks

Permissions

Quick Reference

| Task | Tool Slug | Key Params |

|------|-----------|------------|

| Search content | BOX_SEARCH_FOR_CONTENT | query, type, ancestor_folder_ids |

| List folder items | BOX_LIST_ITEMS_IN_FOLDER | folder_id, limit, marker |

| Get file info | BOX_GET_FILE_INFORMATION | file_id, fields |

| Get folder info | BOX_GET_FOLDER_INFORMATION | folder_id, fields |

| Upload file | BOX_UPLOAD_FILE | file, parent_id |

| Download file | BOX_DOWNLOAD_FILE | file_id |

| Create folder | BOX_CREATE_FOLDER | name, parent__id |

| Update folder | BOX_UPDATE_FOLDER | folder_id, name, parent |

| Copy folder | BOX_COPY_FOLDER | folder_id, parent__id |

| Delete folder | BOX_DELETE_FOLDER | folder_id, recursive |

| Permanently delete folder | BOX_PERMANENTLY_REMOVE_FOLDER | folder_id |

| Update file | BOX_UPDATE_FILE | file_id, name, parent__id |

| Delete file | BOX_DELETE_FILE | file_id, if_match |

| List collaborations | BOX_LIST_FILE_COLLABORATIONS | file_id |

| Update collaboration | BOX_UPDATE_COLLABORATION | collaboration_id, role |

| Get collaboration | BOX_GET_COLLABORATION | collaboration_id |

| Query by metadata | BOX_QUERY_FILES_FOLDERS_BY_METADATA | from, ancestor_folder_id, query |

| List collections | BOX_LIST_ALL_COLLECTIONS | (none) |

| List collection items | BOX_LIST_COLLECTION_ITEMS | collection_id |

| List sign requests | BOX_LIST_BOX_SIGN_REQUESTS | limit, marker |

| Get sign request | BOX_GET_BOX_SIGN_REQUEST_BY_ID | sign_request_id |

| Cancel sign request | BOX_CANCEL_BOX_SIGN_REQUEST | sign_request_id |

| Recent items | BOX_LIST_RECENTLY_ACCESSED_ITEMS | (none) |

| Create zip download | BOX_CREATE_ZIP_DOWNLOAD | item IDs |

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.