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。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 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_CONNECTIONSwith toolkitbox - Always call
RUBE_SEARCH_TOOLSfirst 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.
- Verify Rube MCP is available by confirming
RUBE_SEARCH_TOOLSresponds - Call
RUBE_MANAGE_CONNECTIONSwith toolkitbox - If connection is not ACTIVE, follow the returned auth link to complete Box OAuth
- 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:
BOX_SEARCH_FOR_CONTENT- Find the target folder if path is unknown [Prerequisite]BOX_GET_FOLDER_INFORMATION- Verify folder exists and get folder_id [Prerequisite]BOX_LIST_ITEMS_IN_FOLDER- Browse folder contents and discover file IDs [Optional]BOX_UPLOAD_FILE- Upload a file to a specific folder [Required for upload]BOX_DOWNLOAD_FILE- Download a file by file_id [Required for download]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 withs3key,mimetype, andnamefor uploadsfile_id: Unique file identifier for downloadsversion: Optional file version ID for downloading specific versionsfields: 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
attributespart of upload must come before thefilepart or you get HTTP 400 withmetadata_after_file_contents - File IDs and folder IDs are numeric strings extractable from Box web app URLs (e.g.,
https://*.app.box.com/files/123gives 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:
BOX_SEARCH_FOR_CONTENT- Full-text search across files, folders, and web links [Required]BOX_LIST_ITEMS_IN_FOLDER- Browse contents of a specific folder [Optional]BOX_GET_FILE_INFORMATION- Get detailed metadata for a specific file [Optional]BOX_GET_FOLDER_INFORMATION- Get detailed metadata for a specific folder [Optional]BOX_QUERY_FILES_FOLDERS_BY_METADATA- Search by metadata template values [Optional]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 timestampslimit: Results per page (default 30)offset: Pagination offset (max 10000)folder_id: ForLIST_ITEMS_IN_FOLDER(use"0"for root)
Pitfalls:
- Queries with offset > 10000 are rejected with HTTP 400
BOX_SEARCH_FOR_CONTENTrequires eitherqueryormdfiltersparameter- 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_FOLDERrequires pagination viamarkeroroffset/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:
BOX_GET_FOLDER_INFORMATION- Verify folder exists and check permissions [Prerequisite]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.
热度
- GitHub 星标
- 48k
- 排名
- #4044
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。