Box CLI for Openclaw

A headless-ready integration for the Box CLI to manage cloud content and leverage Box AI directly from your agent.

hbkwong
v1.0.0
Feb 19, 2026
0
1.6k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install box-cli

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install box-cli using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Box CLI?

The Box skill for Openclaw Skills enables seamless interaction with the Box API in headless environments like Railway, CI/CD pipelines, and servers. By leveraging the official Box CLI, developers can perform advanced file operations, folder management, and metadata manipulation without requiring manual browser-based OAuth flows. This skill is optimized for enterprise workflows where security and automation are paramount.

One of the standout features is the integration of Box AI, allowing users to summarize documents, extract structured data, and perform intelligent search within the Box platform. This eliminates the need for downloading large files or running local LLM inference, as all AI processing is handled securely within the Box infrastructure, respecting your organization's existing data governance and permissions.

Box CLI Use Cases

  • Automating file uploads and downloads in CI/CD pipelines.
  • Using Box AI to summarize enterprise documents without transferring data to external LLMs.
  • Managing metadata templates and fields for large-scale document organization.
  • Performing headless search and retrieval of business assets in server-side environments.
  • Extracting structured invoice or contract data using Box AI's extraction capabilities within Openclaw Skills.

How Box CLI Works

  1. The user provides Box CCG or JWT configuration files to authenticate the session securely.
  2. The Openclaw Skills runner registers the environment using the Box CLI configuration commands.
  3. Requests are routed through the CLI to the Box API, acting as a Service Account or a specific Managed User.
  4. File, folder, and AI operations are executed directly on the Box platform.
  5. Results are returned in JSON format for easy parsing and subsequent automation steps.

Box CLI Setup

Install the Box CLI via npm and configure your environment using Client Credentials Grant (CCG):

npm install -g @box/cli

# Register your CCG configuration file
box configure:environments:add /path/to/box-ccg.json --ccg-auth --name ccg --set-as-current

# Verify the connection
box users:get me

Box CLI Data Schema & Taxonomy

The skill manages data through the Box CLI environment configuration and interacts with the following schema types:

Data Type Description
Credentials CCG or JWT JSON files containing clientID, clientSecret, and enterpriseID.
AI Schema JSON objects defining extraction fields (e.g., invoice_number, total).
Metadata Key-value pairs associated with specific Box template keys.
Output Standardized JSON responses for file and folder listings.

Box CLI Advanced Features

  • Support for Box AI structured extraction and document summarization.
  • Managed User impersonation using the --ccg-user flag for granular permission control.
  • Headless authentication optimized for ephemeral container environments used by Openclaw Skills.
  • Deep metadata management using enterprise-level templates.
  • Direct integration with Box Search for intelligent content discovery.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*