跳到正文
Skillpedia
自动化48k · #4044

box-automation

它能做什么

这个智能体可以帮你管理 Box 上的文件。你可以上传、下载、搜索文件,整理文件夹,甚至与他人共享文件。

适用场景

  • ✓需要把文件上传到你的 Box 账户时。
  • ✓想在 Box 中找到某个特定文件时。
  • ✓需要在 Box 中新建或整理文件夹时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/box-automation/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/box-automation/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“下载我“Projects”文件夹里的文件“final_report.pdf”。”

每周 5 个新技能,1 分钟读完。

工作原理

它会连接到你的 Box 账户,并通过特定命令执行你的请求,比如移动文件或搜索文件。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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

  • Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
  • Active Box connection via RUBE_MANAGE_CONNECTIONS with toolkit box
  • Always call RUBE_SEARCH_TOOLS first to get current tool schemas

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:

  • parent_id: Folder ID for upload destination (use "0" for root folder)
  • file: FileUploadable object with s3key, mimetype, and name for uploads
  • file_id: Unique file identifier for downloads
  • version: Optional file version ID for downloading specific versions
  • fields: Comma-separated list of attributes to return

Pitfalls:

  • Uploading to a folder with existing filenames can trigger conflict behavior; decide overwrite vs rename semantics
  • Files over 50MB should use chunk upload APIs (not available via standard tools)
  • The attributes part of upload must come before the file part or you get HTTP 400 with metadata_after_file_contents
  • File IDs and folder IDs are numeric strings extractable from Box web app URLs (e.g., https://*.app.box.com/files/123 gives file_id "123")

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:

  • query: Search string supporting operators ("" exact match, AND, OR, NOT - uppercase only)
  • type: Filter by "file", "folder", or "web_link"
  • ancestor_folder_ids: Limit search to specific folders (comma-separated IDs)
  • file_extensions: Filter by file type (comma-separated, no dots)
  • content_types: Search in "name", "description", "file_content", "comments", "tags"
  • created_at_range / updated_at_range: Date filters as comma-separated RFC3339 timestamps
  • limit: Results per page (default 30)
  • offset: Pagination offset (max 10000)
  • folder_id: For LIST_ITEMS_IN_FOLDER (use "0" for root)

Pitfalls:

  • Queries with offset > 10000 are rejected with HTTP 400
  • BOX_SEARCH_FOR_CONTENT requires either query or mdfilters parameter
  • Misconfigured filters can silently omit expected items; validate with small test queries first
  • Boolean operators (AND, OR, NOT) must be uppercase
  • BOX_LIST_ITEMS_IN_FOLDER requires pagination via marker or offset/usemarker; partial listings are common
  • Standard folders sort items by type first (folders before files before web links)

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]

…

常见问题

智能体怎么知道要下载哪个文件,或者把文件放到哪个文件夹里?

你需要提供准确的文件名,以及文件所在的文件夹或应存放的位置。如果你不确定,智能体可以帮你搜索。

我能用这个智能体和别人共享文件吗?

可以。智能体可以帮你管理谁有权访问你的文件和文件夹。

如果我要删除一个里面还有文件的文件夹,会发生什么?

默认情况下,文件夹会被移到回收站。如果你想永久删除,需要明确提出这一要求。

详情

作者的原始描述

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

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4044
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能