/box:box-clifrom box
Operates the official Box CLI for file/folder management, user identity checks, search, and bulk operations. Useful for automating Box workflows and troubleshooting CLI authentication.
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.
None: SKILL.md is the whole skill.
Use the installed Box CLI to complete and verify Box operations.
Identify the requested outcome, target, and actor. If the request leaves a risky target, recipient, role, impersonated user, or batch scope ambiguous, ask one focused question before running a command.
Confirm the intended CLI environment and acting user before the operation. If the user names an environment, inspect box configure:environments:select --help and select that environment before checking identity:
box users:get me --json --fields id,name,login
Include the intended --as-user <USER_ID> in the identity check when impersonation is authorized. users:get me confirms the acting user, not the environment name. Reuse the same environment and actor controls throughout the operation and its verification; repeat the check after any authorized environment or actor change. Never switch to a more privileged identity merely to bypass an error.
Resolve human-readable names to stable Box IDs before mutation. If multiple items match, present the candidates and ask the user to choose.
Prefer a dedicated CLI command. Add --json for machine-readable output and narrow --fields to the data needed for the task.
Verify mutations with a read using the same actor. For deletes, check the parent collection or trash as appropriate; a 404 alone can also mean the actor lacks access. For asynchronous operations, report pending status until completion is confirmed.
Report the actor, action, relevant object IDs, verification evidence, and any unresolved failure. Include commands when they help the user reproduce the result.
Record box --version. Inspect command help when syntax is unfamiliar, the installed version differs from the verified version below, or a command is rejected. Resolve uncertainty before running a write.
# Identify the actor
box users:get me --json --fields id,name,login
# Inspect the root folder and a bounded set of children
box folders:get 0 --json --fields id,name
box folders:items 0 --json --fields id,type,name --max-items 20
# Search and preserve parent information for disambiguation
box search "Launch Plan" --json --fields id,type,name,parent --limit 20
# Read an item by ID
box files:get <FILE_ID> --json --fields id,name,parent,owned_by
box folders:get <FOLDER_ID> --json --fields id,name,parent,owned_by
# Create, then verify the returned folder ID
box folders:create <PARENT_FOLDER_ID> "Approved Assets" --json
box folders:get <RETURNED_FOLDER_ID> --json --fields id,name,parent
Box uses 0 as the root folder ID. A path or item name is not a stable identifier.
Use box <topic>:<command> --help to check flags and argument order in the installed version.
Only enter setup mode when the CLI is absent, authentication fails, or the user asks for it.
npm install --global @box/cli
box login -d
box login -d uses the official Box CLI application for interactive content operations.box login -d --code in their own terminal for the official CLI app, or box login --platform-app --code for their custom app. --code is a boolean flag: the CLI displays an authorization URL, then prompts for the state and authorization code after the user authorizes in an external browser. Enter those values only at the local CLI prompts.box login --platform-app when the user needs a custom OAuth application or scopes beyond the official CLI application.box configure:environments:add --help flow and protect the configuration file outside source control.After setup, verify the identity with box users:get me; do not print credential stores or raw environment configuration.
The request must explicitly authorize the exact scope before:
If that authorization is absent, show the actor, target IDs, proposed role or change, and batch size, then ask for confirmation. Do not rely on CLI prompts because some destructive commands do not prompt.
Run dependent writes serially. Serialize processes sharing an OAuth environment to avoid overlapping token refreshes or environment changes. Verify using returned IDs.
Use CSV or JSON input through --bulk-file-path only when the specific command supports that flag. Check the command's help and official bulk examples for supported columns and nested values. Before executing a batch:
as-user; inspect actor and target overrides before execution.For partial failures:
429 responses only after the indicated delay.5xx responses only when the operation is idempotent or a read proves the mutation did not occur.401, 403, or ambiguous writes unchanged. Correct identity, permission, or state first.Never restart an entire partially successful mutation batch merely because some rows failed.
When no dedicated command exists, prefer box request because it reuses the selected CLI identity:
box request /folders/0/items --query "limit=5" --json
Inspect box request --help before a write. Use explicit method, body, and query values, then verify the resulting Box object through a read. Raw curl with a bearer token is outside the normal workflow and should be used only when the user supplies an approved secure authentication mechanism.
Use these sources when installed help is insufficient:
Examples and authentication flags checked on 2026-10-13 against the public Box CLI source and docs at commit 97e4351cb5e4a2077f37090bb5aca0ae2fe7020f (package version 4.10.1).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/boxFoundation skill for working with Box. Use this whenever the user mentions Box — authentication and MCP/CLI setup, choosing between MCP/CLI/REST, rate-limit and pacing guidance, troubleshooting Box errors (401/403/404/409/429), or working with Box MCP tools (files, search, collaboration, AI, hubs, doc gen). Route general Box requests to the right reference. For explicit CLI requests, use box-cli when installed.
/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