Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Wraps the official Box CLI for file, folder, metadata, search, and Box AI operations in headless or CI environments. Uses Client Credentials Grant or JWT for authentication, not OAuth browser flows. Credentials are user-supplied and never managed by the skill.
CCG authentication works without a browser or expiring tokens, making it reliable in Railway, CI, and other non-interactive environments.
When to use it
- Uploading generated reports to a Box folder from a CI pipeline
- Searching Box for files matching a keyword and downloading results
- Extracting structured data from contracts using Box AI
- Adding metadata tags to files uploaded by automated workflows
- Browsing and auditing folder contents on a headless server
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: summarize the contract file with ID 123456789 and extract the invoice number and total
- 1Verify authentication with `box users:get me`
- 2Run `box ai:ask --item-id 123456789 --item-type file --prompt "Summarize this document"`
- 3Run `box ai:extract-structured --item-id 123456789 --item-type file --schema '{"fields":[{"name":"invoice_number","type":"string"},{"name":"total","type":"number"}]}'`
- 4Parse JSON output and return summary and extracted fields to user
Document summary and structured data with invoice_number and total values
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.