/box:boxfrom box
Foundation skill for working with Box. Handles authentication, MCP/CLI/REST tool selection, rate-limit guidance, error troubleshooting (401/403/404/409/429), and routing to domain-specific references for files, search, collaboration, AI, hubs, and doc gen.
Ships in box. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This is the foundation skill for any Box task. It routes a request to the right tool (MCP, CLI, or REST) and the right domain reference. Use it to:
For explicit CLI requests, use box-cli when installed. Otherwise, use the tool selection and domain routing below.
For requests that do not specify a tool, check availability and use this table:
| Operation type | Prefer | Rationale |
|---|---|---|
| Most agent workflows (search, AI, content management, metadata, hubs) | MCP | Structured I/O, concurrent-safe, covers the common cases |
| Bulk operations (batch moves, folder trees, batch metadata) | CLI | Compact output, --fields filtering, full API surface without requiring manual REST auth |
| Verification and smoke tests | CLI | Reproducible, user can copy-paste commands |
| Operations outside MCP scope | CLI | Full API coverage |
| Last-resort fallback when MCP is unavailable and CLI is unavailable or not an option | Direct REST | Only after explicit user confirmation and REST auth setup guidance |
| Building application code (SDK/REST endpoints, webhook handlers) | SDK or REST in code | Not agent tooling — write code the user ships |
For explicit CLI requests, check CLI availability and follow CLI setup. For other requests, guide the user through MCP setup first, then CLI setup. Use direct REST only after the user explicitly confirms fallback is acceptable.
Choose which reference files to read based on what the user needs:
| If the user needs... | Read first | Pair with | Minimal verification |
|---|---|---|---|
| Uploads, folders, listings, downloads, previews, moves, or metadata | references/content-workflows.md | references/auth-and-setup.md | Read-after-write call using the same actor |
| Sharing, collaborations (users/groups), or shared links | references/collaboration.md | references/content-workflows.md, references/auth-and-setup.md | List collaborations before and after changes |
| Finding files or folders (keyword, folder name, metadata search) | references/mcp-search.md | references/auth-and-setup.md | Confirm item details before acting |
| Box AI Q&A, summarization, extraction, or document retrieval | references/ai-and-retrieval.md | references/auth-and-setup.md | Retrieval-quality check before answer formatting |
| Box Hubs — creating, curating, or querying a hub | references/mcp-hubs.md | references/ai-and-retrieval.md, references/auth-and-setup.md | Confirm hub items after changes |
| Document generation from templates (Doc Gen) | references/mcp-doc-gen.md | references/content-workflows.md, references/auth-and-setup.md | Confirm template and destination before batch |
| Organizing, reorganizing, or batch-moving files across folders; bulk metadata tagging; migrating folder structures | references/bulk-operations.md | references/content-workflows.md, references/auth-and-setup.md, references/ai-and-retrieval.md | Inventory source, verify move count matches plan |
| Event-driven ingestion, new-file triggers, or webhook debugging | references/webhooks-and-events.md | references/auth-and-setup.md, references/troubleshooting.md | Signature check plus duplicate-delivery test |
| 401, 403, 404, 409, 429, missing content, or wrong-actor bugs | references/troubleshooting.md | references/auth-and-setup.md | Reproduce with the exact actor, object ID, and endpoint |
| Unsure which workflow applies | references/workflows.md | references/auth-and-setup.md | Choose the smallest Box object/action pair first |
The Box MCP server is the default tooling for agent workflows. It provides structured I/O, is concurrent-safe, and covers the common cases (search, Box AI, content management, metadata, hubs). See the tool selection table above for when to prefer it over CLI or REST.
who_am_i. If it fails, complete the client-provided MCP OAuth flow and retry.references/auth-and-setup.md for MCP setup steps and walk the user through setup before considering other tooling.The updated/maintained list of Box MCP tools is documented at https://docs.box.com/en/box-mcp/tools. If an expected tool is missing or unavailable, see references/troubleshooting.md (MCP tool missing section) for diagnostic steps and admin-console enablement.
get_file_details before operating on a file — it confirms the file exists and shows current state.The Box MCP capabilities are documented in focused reference files. Use the domain routing table above to pick the right one for the task:
| MCP category | Reference |
|---|---|
| Files, folders, uploads, downloads, previews, metadata | references/content-workflows.md |
| Search (keyword, folder, metadata) | references/mcp-search.md |
| Collaborations (users/groups) and shared links | references/collaboration.md |
| Box AI Q&A, extraction, structured metadata extraction, and agents | references/ai-and-retrieval.md |
| Box Hubs creation, item management, and hub-level Q&A | references/mcp-hubs.md |
| Box Doc Gen templates and document generation batches | references/mcp-doc-gen.md |
The tool selection table above governs when to reach for the CLI or direct REST. For requests that do not specify a tool, prefer MCP, then CLI, then direct REST as a last-resort fallback after explicit user confirmation.
box users:get me --json. Record whether CLI is available.box users:get me --json.references/box-cli.md for CLI-first auth, smoke-test commands, safe verification patterns, and concurrency precautions.Direct REST is the last-resort fallback per the tool selection table — only when MCP and CLI are both unavailable or declined.
Building application code (SDK/REST endpoints, webhook handlers) the user ships is a separate case — that is code you write, not agent tooling. Prefer an official Box SDK when one already exists in the codebase or for the target language.
For SDK application code, use the standalone box-sdk-development skill when installed; it covers version-specific calls, transfer choices, bulk jobs, retries, and observability.
BOX_ACCESS_TOKEN) and safe auth handling before issuing requests.references/rest-calls.md for direct REST fallback patterns, auth setup, and safe request templates.Follow these steps in order when coding against Box.
box-cli when installed or references/box-cli.md otherwise. For other requests, inventory available Box tooling using the availability checks in the MCP and CLI / REST API sections above: check MCP first (who_am_i, completing client-provided OAuth if needed), then CLI (box users:get me --json), and record which are available. When tooling is missing, follow the escalation order from Route The Request (MCP setup → CLI setup → REST after explicit confirmation). If the task is building application code (adding SDK endpoints, webhook handlers), tooling availability is secondary — proceed to step 1.Read and follow
references/guardrails.mdin every session. It covers confirmation gates for destructive actions, hub modifications, file comments, Doc Gen output locations, externally shared folders, content display preferences, and Box AI governance.
references/ai-and-retrieval.md for the full preference order and fallback chain.references/bulk-operations.md.references/box-cli.md for details. For bulk work, default to CLI and use REST only after MCP/CLI setup attempts fail or the user explicitly confirms REST fallback.box configure:environments:get --current as a routine auth check — it can print sensitive environment details.box CLI commands when box is installed and authenticated.BOX_ACCESS_TOKEN) and safe auth handling before issuing requests.box users:get me --json.For example smoke-check commands, see references/box-cli.md (Common verification commands).
The final answer should include:
references/guardrails.md: mandatory safety and scope constraints for Box MCP tool usagereferences/content-workflows.md: files and folders — uploads, downloads, previews, folder trees, moves, metadata; MCP tools + CLI/REST patternsreferences/collaboration.md: sharing and access — collaborator roles, shared links, external-sharing rules; MCP tools + CLI/REST patternsreferences/mcp-search.md: finding content — keyword, folder-name, and metadata search via MCPreferences/ai-and-retrieval.md: Box AI and retrieval — Q&A, extraction, agents, content understanding preference order; MCP tools + CLI commandsreferences/mcp-hubs.md: Box Hubs — creation, item management, hub-level Q&A via MCPreferences/mcp-doc-gen.md: Box Doc Gen — template registration and document generation via MCPreferences/bulk-operations.md: organizing files at scale — batch moves, folder hierarchy creation, serial execution, and rate-limit handlingreferences/auth-and-setup.md: auth path selection, MCP server setup, SDK vs REST choice, existing-codebase inspection, and current Box doc anchorsreferences/box-cli.md: CLI-first local auth, smoke-test commands, and safe verification patternsreferences/rest-calls.md: direct REST fallback patterns, auth setup, and safe request templatesreferences/webhooks-and-events.md: webhook setup, event-feed usage, idempotency, and verificationreferences/workflows.md: quick workflow router when the task is ambiguousreferences/troubleshooting.md: common failure modes and a debugging checklistreferences/ai-and-retrieval.md (opens in a new tab)references/auth-and-setup.md (opens in a new tab)references/box-cli.md (opens in a new tab)references/bulk-operations.md (opens in a new tab)references/collaboration.md (opens in a new tab)references/content-workflows.md (opens in a new tab)references/guardrails.md (opens in a new tab)references/mcp-doc-gen.md (opens in a new tab)references/mcp-hubs.md (opens in a new tab)references/mcp-search.md (opens in a new tab)references/rest-calls.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)references/webhooks-and-events.md (opens in a new tab)references/workflows.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/box-cliUse the official Box CLI for Box command-line operations, reproducible shell automation, CLI authentication or troubleshooting, and bulk Box work. Do not use for generic shell questions, Box strategy, or application code that should use a Box SDK./box-integration-best-practicesBuild, debug, or review repeatable Box API integrations and agent workflows for efficient calls, bulk work, and 429 handling./box-legal-workflowsShared building blocks for Box-based legal workflows — Box collaboration role definitions, Box AI usage boundaries (what AI must not decide), and reusable human-in-the-loop confirmation phrasings. Referenced by box-legal-workflows-ma, box-legal-workflows-intake, and box-legal-workflows-contract skills./box-legal-workflows-contractAutomate contract review and monitoring with Box MCP — find new or expiring contracts, compare them against firm templates to flag material variances, write structured contract metadata back to Box for searchability, and produce variance reports with citations. Use this skill when the user mentions contract review or monitoring, NDA or MSA review, contract expiration or renewals, contract metadata, or variance analysis, even if they don't name a specific Box tool./box-legal-workflows-intakeAutomate legal client intake and onboarding with Box MCP — review intake documents for completeness against firm requirements, summarize risk for attorney review, route incomplete or high-risk submissions to the right attorney, extract client and matter metadata to Box, and generate engagement letters from Box DocGen templates. Use this skill when the user mentions client intake, client onboarding, new client review, intake documents, or engagement letters./box-legal-workflows-maBuild and manage M&A virtual data rooms with Box MCP — create secure due-diligence folder structures, scope role-based access for internal teams and external parties, validate permissions before sharing, and answer cross-document due-diligence questions with Box AI. Use this skill when the user mentions M&A, deal rooms, data rooms, VDRs, due diligence, or mergers and acquisitions.npx claudepluginhub box/skills --plugin boxOther plugins' skills for the same job