{"id":"62c8a06c-6569-4f07-8870-9c9dd9b2c23b","entityType":"agent","slug":"clawhub-byungkyu-box","name":"Box","canonicalUrl":"https://www.xpersona.co/agent/clawhub-byungkyu-box","canonicalPath":"/agent/clawhub-byungkyu-box","generatedAt":"2026-10-09T16:27:55.810Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":null},"description":"Box API integration with managed OAuth. Manage files, folders, collaborations, and cloud storage. Use this skill when users want to upload, download, share, or organize files and folders in Box. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key. Skill: Box Owner: byungkyu Summary: Box API integration with managed OAuth. Manage files, folders, collaborations, and cloud storage. Use this skill when users want to upload, download, share, or organize files and folders in Box. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key. Tags: latest:1.0.2 Version history: v1.0.2","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 3K downloads reported by the source. Last updated 4/15/2026.","installCommand":"clawhub skill install kn75240wq8bnv2qm2xgry748jd80b9r0:box","sourceUrl":"https://clawhub.ai/byungkyu/box","homepage":"https://clawhub.ai/byungkyu/box","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/byungkyu/box","kind":"source"}],"safetyScore":84,"overallRank":62,"popularityScore":63,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Box API integration with managed OAuth. Manage files, folders, collaborations, and cloud storage. Use this skill when users want to upload, download, share, or "},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":"No protocol or capability metadata is available."},"protocols":[],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":0,"capabilityMatrix":{"rows":[],"flattenedTokens":""}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":null},"stars":null,"forks":null,"downloads":3005,"packageName":null,"latestVersion":"1.0.2","tractionLabel":"3K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-02-28T18:05:01.994Z","emptyReason":null},"lastUpdatedAt":"2026-04-15T00:45:39.800Z","lastCrawledAt":"2026-02-28T18:05:01.994Z","lastIndexedAt":null,"nextCrawlAt":"2026-03-01T18:05:01.994Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.2","createdAt":"2026-02-10T22:25:04.564Z","changelog":"- Added new metadata fields under the `clawdbot` key, including `emoji` and required environment variables (`MATON_API_KEY`). - No changes to skill functionality or API usage.","fileCount":3,"zipByteSize":5462},{"version":"1.0.1","createdAt":"2026-02-10T20:06:41.721Z","changelog":"No user-visible changes in this release. - Version bump only; no file or documentation changes detected.","fileCount":3,"zipByteSize":5422},{"version":"1.0.0","createdAt":"2026-02-09T11:51:26.876Z","changelog":"Initial release of the Box skill for cloud storage and file management: - Integrates with Box API via managed OAuth for secure access. - Supports file and folder operations: upload, download, organize, copy, update, and delete. - Provides collaboration and shared link management. - Uses Maton API key for authentication and supports connection management for multiple Box accounts. - Includes Python code samples and detailed API usage documentation.","fileCount":null,"zipByteSize":null}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install kn75240wq8bnv2qm2xgry748jd80b9r0:box","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-byungkyu-box/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-byungkyu-box/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-byungkyu-box/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-byungkyu-box/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-byungkyu-box/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-byungkyu-box/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":[]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-09T16:27:55.810Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-byungkyu-box/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-byungkyu-box/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-byungkyu-box/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-byungkyu-box/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":null},"readme":"Skill: Box\n\nOwner: byungkyu\n\nSummary: Box API integration with managed OAuth. Manage files, folders, collaborations, and cloud storage.\nUse this skill when users want to upload, download, share, or organize files and folders in Box.\nFor other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).\nRequires network access and valid Maton API key.\n\nTags: latest:1.0.2\n\nVersion history:\n\nv1.0.2 | 2026-02-10T22:25:04.564Z | user\n\n- Added new metadata fields under the `clawdbot` key, including `emoji` and required environment variables (`MATON_API_KEY`).\n- No changes to skill functionality or API usage.\n\nv1.0.1 | 2026-02-10T20:06:41.721Z | user\n\nNo user-visible changes in this release.  \n- Version bump only; no file or documentation changes detected.\n\nv1.0.0 | 2026-02-09T11:51:26.876Z | user\n\nInitial release of the Box skill for cloud storage and file management:\n\n- Integrates with Box API via managed OAuth for secure access.\n- Supports file and folder operations: upload, download, organize, copy, update, and delete.\n- Provides collaboration and shared link management.\n- Uses Maton API key for authentication and supports connection management for multiple Box accounts.\n- Includes Python code samples and detailed API usage documentation.\n\nArchive index:\n\nArchive v1.0.2: 3 files, 5462 bytes\n\nFiles: LICENSE.txt (1072b), SKILL.md (14180b), _meta.json (122b)\n\nFile v1.0.2:SKILL.md\n\n---\nname: box\ndescription: |\n  Box API integration with managed OAuth. Manage files, folders, collaborations, and cloud storage.\n  Use this skill when users want to upload, download, share, or organize files and folders in Box.\n  For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).\n  Requires network access and valid Maton API key.\nmetadata:\n  author: maton\n  version: \"1.0\"\n  clawdbot:\n    emoji: 🧠\n    requires:\n      env:\n        - MATON_API_KEY\n---\n\n# Box\n\nAccess the Box API with managed OAuth authentication. Manage files, folders, collaborations, shared links, and cloud storage.\n\n## Quick Start\n\n```bash\n# Get current user info\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/box/2.0/users/me')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n## Base URL\n\n```\nhttps://gateway.maton.ai/box/2.0/{resource}\n```\n\nThe gateway proxies requests to `api.box.com/2.0` and automatically injects your OAuth token.\n\n## Authentication\n\nAll requests require the Maton API key in the Authorization header:\n\n```\nAuthorization: Bearer $MATON_API_KEY\n```\n\n**Environment Variable:** Set your API key as `MATON_API_KEY`:\n\n```bash\nexport MATON_API_KEY=\"YOUR_API_KEY\"\n```\n\n### Getting Your API Key\n\n1. Sign in or create an account at [maton.ai](https://maton.ai)\n2. Go to [maton.ai/settings](https://maton.ai/settings)\n3. Copy your API key\n\n## Connection Management\n\nManage your Box OAuth connections at `https://ctrl.maton.ai`.\n\n### List Connections\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections?app=box&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Create Connection\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'box'}).encode()\nreq = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Get Connection\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n**Response:**\n```json\n{\n  \"connection\": {\n    \"connection_id\": \"bd484938-0902-4fc0-9ffb-2549d7d91f1d\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2026-02-08T21:14:41.808115Z\",\n    \"last_updated_time\": \"2026-02-08T21:16:10.100340Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"box\",\n    \"metadata\": {}\n  }\n}\n```\n\nOpen the returned `url` in a browser to complete OAuth authorization.\n\n### Delete Connection\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Specifying Connection\n\nIf you have multiple Box connections, specify which one to use with the `Maton-Connection` header:\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/box/2.0/users/me')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', 'bd484938-0902-4fc0-9ffb-2549d7d91f1d')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\nIf omitted, the gateway uses the default (oldest) active connection.\n\n## API Reference\n\n### User Info\n\n#### Get Current User\n\n```bash\nGET /box/2.0/users/me\n```\n\n**Response:**\n```json\n{\n  \"type\": \"user\",\n  \"id\": \"48806418054\",\n  \"name\": \"Chris\",\n  \"login\": \"chris@example.com\",\n  \"created_at\": \"2026-02-08T13:12:34-08:00\",\n  \"modified_at\": \"2026-02-08T13:12:35-08:00\",\n  \"language\": \"en\",\n  \"timezone\": \"America/Los_Angeles\",\n  \"space_amount\": 10737418240,\n  \"space_used\": 0,\n  \"max_upload_size\": 262144000,\n  \"status\": \"active\",\n  \"avatar_url\": \"https://app.box.com/api/avatar/large/48806418054\"\n}\n```\n\n#### Get User\n\n```bash\nGET /box/2.0/users/{user_id}\n```\n\n### Folder Operations\n\n#### Get Root Folder\n\nThe root folder has ID `0`:\n\n```bash\nGET /box/2.0/folders/0\n```\n\n#### Get Folder\n\n```bash\nGET /box/2.0/folders/{folder_id}\n```\n\n**Response:**\n```json\n{\n  \"type\": \"folder\",\n  \"id\": \"365037181307\",\n  \"name\": \"My Folder\",\n  \"description\": \"Folder description\",\n  \"size\": 0,\n  \"path_collection\": {\n    \"total_count\": 1,\n    \"entries\": [\n      {\"type\": \"folder\", \"id\": \"0\", \"name\": \"All Files\"}\n    ]\n  },\n  \"created_by\": {\"type\": \"user\", \"id\": \"48806418054\", \"name\": \"Chris\"},\n  \"owned_by\": {\"type\": \"user\", \"id\": \"48806418054\", \"name\": \"Chris\"},\n  \"item_status\": \"active\"\n}\n```\n\n#### List Folder Items\n\n```bash\nGET /box/2.0/folders/{folder_id}/items\n```\n\nQuery parameters:\n- `limit` - Maximum items to return (default 100, max 1000)\n- `offset` - Offset for pagination\n- `fields` - Comma-separated list of fields to include\n\n**Response:**\n```json\n{\n  \"total_count\": 1,\n  \"entries\": [\n    {\n      \"type\": \"folder\",\n      \"id\": \"365036703666\",\n      \"name\": \"Subfolder\"\n    }\n  ],\n  \"offset\": 0,\n  \"limit\": 100\n}\n```\n\n#### Create Folder\n\n```bash\nPOST /box/2.0/folders\nContent-Type: application/json\n\n{\n  \"name\": \"New Folder\",\n  \"parent\": {\"id\": \"0\"}\n}\n```\n\n**Response:**\n```json\n{\n  \"type\": \"folder\",\n  \"id\": \"365037181307\",\n  \"name\": \"New Folder\",\n  \"created_at\": \"2026-02-08T14:56:17-08:00\"\n}\n```\n\n#### Update Folder\n\n```bash\nPUT /box/2.0/folders/{folder_id}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Folder Name\",\n  \"description\": \"Updated description\"\n}\n```\n\n#### Copy Folder\n\n```bash\nPOST /box/2.0/folders/{folder_id}/copy\nContent-Type: application/json\n\n{\n  \"name\": \"Copied Folder\",\n  \"parent\": {\"id\": \"0\"}\n}\n```\n\n#### Delete Folder\n\n```bash\nDELETE /box/2.0/folders/{folder_id}\n```\n\nQuery parameters:\n- `recursive` - Set to `true` to delete non-empty folders\n\nReturns 204 No Content on success.\n\n### File Operations\n\n#### Get File Info\n\n```bash\nGET /box/2.0/files/{file_id}\n```\n\n#### Download File\n\n```bash\nGET /box/2.0/files/{file_id}/content\n```\n\nReturns a redirect to the download URL.\n\n#### Upload File\n\n```bash\nPOST https://upload.box.com/api/2.0/files/content\nContent-Type: multipart/form-data\n\nattributes={\"name\":\"file.txt\",\"parent\":{\"id\":\"0\"}}\nfile=<binary data>\n```\n\n**Note:** File uploads use a different base URL: `upload.box.com`\n\n#### Update File Info\n\n```bash\nPUT /box/2.0/files/{file_id}\nContent-Type: application/json\n\n{\n  \"name\": \"renamed-file.txt\",\n  \"description\": \"File description\"\n}\n```\n\n#### Copy File\n\n```bash\nPOST /box/2.0/files/{file_id}/copy\nContent-Type: application/json\n\n{\n  \"name\": \"copied-file.txt\",\n  \"parent\": {\"id\": \"0\"}\n}\n```\n\n#### Delete File\n\n```bash\nDELETE /box/2.0/files/{file_id}\n```\n\nReturns 204 No Content on success.\n\n#### Get File Versions\n\n```bash\nGET /box/2.0/files/{file_id}/versions\n```\n\n### Shared Links\n\nCreate a shared link by updating a file or folder:\n\n```bash\nPUT /box/2.0/folders/{folder_id}\nContent-Type: application/json\n\n{\n  \"shared_link\": {\n    \"access\": \"open\"\n  }\n}\n```\n\nAccess levels:\n- `open` - Anyone with the link\n- `company` - Only users in the enterprise\n- `collaborators` - Only collaborators\n\n**Response includes:**\n```json\n{\n  \"shared_link\": {\n    \"url\": \"https://app.box.com/s/sisarrztrenabyygfwqggbwommf8uucv\",\n    \"access\": \"open\",\n    \"effective_access\": \"open\",\n    \"is_password_enabled\": false,\n    \"permissions\": {\n      \"can_preview\": true,\n      \"can_download\": true,\n      \"can_edit\": false\n    }\n  }\n}\n```\n\n### Collaborations\n\n#### List Folder Collaborations\n\n```bash\nGET /box/2.0/folders/{folder_id}/collaborations\n```\n\n#### Create Collaboration\n\n```bash\nPOST /box/2.0/collaborations\nContent-Type: application/json\n\n{\n  \"item\": {\"type\": \"folder\", \"id\": \"365037181307\"},\n  \"accessible_by\": {\"type\": \"user\", \"login\": \"user@example.com\"},\n  \"role\": \"editor\"\n}\n```\n\nRoles: `editor`, `viewer`, `previewer`, `uploader`, `previewer_uploader`, `viewer_uploader`, `co-owner`\n\n#### Update Collaboration\n\n```bash\nPUT /box/2.0/collaborations/{collaboration_id}\nContent-Type: application/json\n\n{\n  \"role\": \"viewer\"\n}\n```\n\n#### Delete Collaboration\n\n```bash\nDELETE /box/2.0/collaborations/{collaboration_id}\n```\n\n### Search\n\n```bash\nGET /box/2.0/search?query=document\n```\n\nQuery parameters:\n- `query` - Search query (required)\n- `type` - Filter by type: `file`, `folder`, `web_link`\n- `file_extensions` - Comma-separated extensions\n- `ancestor_folder_ids` - Limit to specific folders\n- `limit` - Max results (default 30)\n- `offset` - Pagination offset\n\n**Response:**\n```json\n{\n  \"total_count\": 5,\n  \"entries\": [...],\n  \"limit\": 30,\n  \"offset\": 0,\n  \"type\": \"search_results_items\"\n}\n```\n\n### Events\n\n```bash\nGET /box/2.0/events\n```\n\nQuery parameters:\n- `stream_type` - `all`, `changes`, `sync`, `admin_logs`\n- `stream_position` - Position to start from\n- `limit` - Max events to return\n\n**Response:**\n```json\n{\n  \"chunk_size\": 4,\n  \"next_stream_position\": \"30401068076164269\",\n  \"entries\": [...]\n}\n```\n\n### Trash\n\n#### List Trashed Items\n\n```bash\nGET /box/2.0/folders/trash/items\n```\n\n#### Get Trashed Item\n\n```bash\nGET /box/2.0/files/{file_id}/trash\nGET /box/2.0/folders/{folder_id}/trash\n```\n\n#### Restore Trashed Item\n\n```bash\nPOST /box/2.0/files/{file_id}\nPOST /box/2.0/folders/{folder_id}\n```\n\n#### Permanently Delete\n\n```bash\nDELETE /box/2.0/files/{file_id}/trash\nDELETE /box/2.0/folders/{folder_id}/trash\n```\n\n### Collections (Favorites)\n\n#### List Collections\n\n```bash\nGET /box/2.0/collections\n```\n\n**Response:**\n```json\n{\n  \"total_count\": 1,\n  \"entries\": [\n    {\n      \"type\": \"collection\",\n      \"name\": \"Favorites\",\n      \"collection_type\": \"favorites\",\n      \"id\": \"35223030868\"\n    }\n  ]\n}\n```\n\n#### Get Collection Items\n\n```bash\nGET /box/2.0/collections/{collection_id}/items\n```\n\n### Recent Items\n\n```bash\nGET /box/2.0/recent_items\n```\n\n### Webhooks\n\n#### List Webhooks\n\n```bash\nGET /box/2.0/webhooks\n```\n\n#### Create Webhook\n\n```bash\nPOST /box/2.0/webhooks\nContent-Type: application/json\n\n{\n  \"target\": {\"id\": \"365037181307\", \"type\": \"folder\"},\n  \"address\": \"https://example.com/webhook\",\n  \"triggers\": [\"FILE.UPLOADED\", \"FILE.DOWNLOADED\"]\n}\n```\n\n**Note:** Webhook creation may require enterprise permissions.\n\n#### Delete Webhook\n\n```bash\nDELETE /box/2.0/webhooks/{webhook_id}\n```\n\n## Pagination\n\nBox uses offset-based pagination:\n\n```bash\nGET /box/2.0/folders/0/items?limit=100&offset=0\nGET /box/2.0/folders/0/items?limit=100&offset=100\n```\n\nSome endpoints use marker-based pagination with `marker` parameter.\n\n**Response:**\n```json\n{\n  \"total_count\": 250,\n  \"entries\": [...],\n  \"offset\": 0,\n  \"limit\": 100\n}\n```\n\n## Code Examples\n\n### JavaScript\n\n```javascript\nconst response = await fetch(\n  'https://gateway.maton.ai/box/2.0/folders/0/items',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\nconst data = await response.json();\n```\n\n### Python\n\n```python\nimport os\nimport requests\n\nresponse = requests.get(\n    'https://gateway.maton.ai/box/2.0/folders/0/items',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'}\n)\ndata = response.json()\n```\n\n### Python (Create Folder)\n\n```python\nimport os\nimport requests\n\nresponse = requests.post(\n    'https://gateway.maton.ai/box/2.0/folders',\n    headers={\n        'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}',\n        'Content-Type': 'application/json'\n    },\n    json={\n        'name': 'New Folder',\n        'parent': {'id': '0'}\n    }\n)\nfolder = response.json()\nprint(f\"Created folder: {folder['id']}\")\n```\n\n## Notes\n\n- Root folder ID is `0`\n- File uploads use `upload.box.com` instead of `api.box.com`\n- Delete operations return 204 No Content on success\n- Use `fields` parameter to request specific fields and reduce response size\n- Shared links can have password protection and expiration dates\n- Some operations (list users, create webhooks) require enterprise admin permissions\n- ETags can be used for conditional updates with `If-Match` header\n- IMPORTANT: When piping curl output to `jq` or other commands, environment variables like `$MATON_API_KEY` may not expand correctly in some shell environments\n\n## Error Handling\n\n| Status | Meaning |\n|--------|---------|\n| 400 | Missing Box connection or bad request |\n| 401 | Invalid or missing Maton API key |\n| 403 | Insufficient permissions for the operation |\n| 404 | Resource not found |\n| 409 | Conflict (e.g., item with same name exists) |\n| 429 | Rate limited |\n| 4xx/5xx | Passthrough error from Box API |\n\nBox errors include detailed messages:\n```json\n{\n  \"type\": \"error\",\n  \"status\": 409,\n  \"code\": \"item_name_in_use\",\n  \"message\": \"Item with the same name already exists\"\n}\n```\n\n### Troubleshooting: API Key Issues\n\n1. Check that the `MATON_API_KEY` environment variable is set:\n\n```bash\necho $MATON_API_KEY\n```\n\n2. Verify the API key is valid by listing connections:\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Troubleshooting: Invalid App Name\n\n1. Ensure your URL path starts with `box`. For example:\n\n- Correct: `https://gateway.maton.ai/box/2.0/users/me`\n- Incorrect: `https://gateway.maton.ai/2.0/users/me`\n\n## Resources\n\n- [Box API Reference](https://developer.box.com/reference)\n- [Box Developer Documentation](https://developer.box.com/guides)\n- [Authentication Guide](https://developer.box.com/guides/authentication)\n- [Box SDKs](https://developer.box.com/sdks-and-tools)\n- [Maton Community](https://discord.com/invite/dBfFAcefs2)\n- [Maton Support](mailto:support@maton.ai)\n\nFile v1.0.2:_meta.json\n\n{\n  \"ownerId\": \"kn75240wq8bnv2qm2xgry748jd80b9r0\",\n  \"slug\": \"box\",\n  \"version\": \"1.0.2\",\n  \"publishedAt\": 1770762304564\n}\n\nFile v1.0.2:LICENSE.txt\n\nThe MIT License (MIT)\n\nCopyright (c) 2026 Maton\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\nArchive v1.0.1: 3 files, 5422 bytes\n\nFiles: LICENSE.txt (1072b), SKILL.md (14103b), _meta.json (122b)\n\nFile v1.0.1:SKILL.md\n\n---\nname: box\ndescription: |\n  Box API integration with managed OAuth. Manage files, folders, collaborations, and cloud storage.\n  Use this skill when users want to upload, download, share, or organize files and folders in Box.\n  For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).\n  Requires network access and valid Maton API key.\nmetadata:\n  author: maton\n  version: \"1.0\"\n---\n\n# Box\n\nAccess the Box API with managed OAuth authentication. Manage files, folders, collaborations, shared links, and cloud storage.\n\n## Quick Start\n\n```bash\n# Get current user info\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/box/2.0/users/me')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n## Base URL\n\n```\nhttps://gateway.maton.ai/box/2.0/{resource}\n```\n\nThe gateway proxies requests to `api.box.com/2.0` and automatically injects your OAuth token.\n\n## Authentication\n\nAll requests require the Maton API key in the Authorization header:\n\n```\nAuthorization: Bearer $MATON_API_KEY\n```\n\n**Environment Variable:** Set your API key as `MATON_API_KEY`:\n\n```bash\nexport MATON_API_KEY=\"YOUR_API_KEY\"\n```\n\n### Getting Your API Key\n\n1. Sign in or create an account at [maton.ai](https://maton.ai)\n2. Go to [maton.ai/settings](https://maton.ai/settings)\n3. Copy your API key\n\n## Connection Management\n\nManage your Box OAuth connections at `https://ctrl.maton.ai`.\n\n### List Connections\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections?app=box&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Create Connection\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'box'}).encode()\nreq = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Get Connection\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n**Response:**\n```json\n{\n  \"connection\": {\n    \"connection_id\": \"bd484938-0902-4fc0-9ffb-2549d7d91f1d\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2026-02-08T21:14:41.808115Z\",\n    \"last_updated_time\": \"2026-02-08T21:16:10.100340Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"box\",\n    \"metadata\": {}\n  }\n}\n```\n\nOpen the returned `url` in a browser to complete OAuth authorization.\n\n### Delete Connection\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Specifying Connection\n\nIf you have multiple Box connections, specify which one to use with the `Maton-Connection` header:\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/box/2.0/users/me')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', 'bd484938-0902-4fc0-9ffb-2549d7d91f1d')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\nIf omitted, the gateway uses the default (oldest) active connection.\n\n## API Reference\n\n### User Info\n\n#### Get Current User\n\n```bash\nGET /box/2.0/users/me\n```\n\n**Response:**\n```json\n{\n  \"type\": \"user\",\n  \"id\": \"48806418054\",\n  \"name\": \"Chris\",\n  \"login\": \"chris@example.com\",\n  \"created_at\": \"2026-02-08T13:12:34-08:00\",\n  \"modified_at\": \"2026-02-08T13:12:35-08:00\",\n  \"language\": \"en\",\n  \"timezone\": \"America/Los_Angeles\",\n  \"space_amount\": 10737418240,\n  \"space_used\": 0,\n  \"max_upload_size\": 262144000,\n  \"status\": \"active\",\n  \"avatar_url\": \"https://app.box.com/api/avatar/large/48806418054\"\n}\n```\n\n#### Get User\n\n```bash\nGET /box/2.0/users/{user_id}\n```\n\n### Folder Operations\n\n#### Get Root Folder\n\nThe root folder has ID `0`:\n\n```bash\nGET /box/2.0/folders/0\n```\n\n#### Get Folder\n\n```bash\nGET /box/2.0/folders/{folder_id}\n```\n\n**Response:**\n```json\n{\n  \"type\": \"folder\",\n  \"id\": \"365037181307\",\n  \"name\": \"My Folder\",\n  \"description\": \"Folder description\",\n  \"size\": 0,\n  \"path_collection\": {\n    \"total_count\": 1,\n    \"entries\": [\n      {\"type\": \"folder\", \"id\": \"0\", \"name\": \"All Files\"}\n    ]\n  },\n  \"created_by\": {\"type\": \"user\", \"id\": \"48806418054\", \"name\": \"Chris\"},\n  \"owned_by\": {\"type\": \"user\", \"id\": \"48806418054\", \"name\": \"Chris\"},\n  \"item_status\": \"active\"\n}\n```\n\n#### List Folder Items\n\n```bash\nGET /box/2.0/folders/{folder_id}/items\n```\n\nQuery parameters:\n- `limit` - Maximum items to return (default 100, max 1000)\n- `offset` - Offset for pagination\n- `fields` - Comma-separated list of fields to include\n\n**Response:**\n```json\n{\n  \"total_count\": 1,\n  \"entries\": [\n    {\n      \"type\": \"folder\",\n      \"id\": \"365036703666\",\n      \"name\": \"Subfolder\"\n    }\n  ],\n  \"offset\": 0,\n  \"limit\": 100\n}\n```\n\n#### Create Folder\n\n```bash\nPOST /box/2.0/folders\nContent-Type: application/json\n\n{\n  \"name\": \"New Folder\",\n  \"parent\": {\"id\": \"0\"}\n}\n```\n\n**Response:**\n```json\n{\n  \"type\": \"folder\",\n  \"id\": \"365037181307\",\n  \"name\": \"New Folder\",\n  \"created_at\": \"2026-02-08T14:56:17-08:00\"\n}\n```\n\n#### Update Folder\n\n```bash\nPUT /box/2.0/folders/{folder_id}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Folder Name\",\n  \"description\": \"Updated description\"\n}\n```\n\n#### Copy Folder\n\n```bash\nPOST /box/2.0/folders/{folder_id}/copy\nContent-Type: application/json\n\n{\n  \"name\": \"Copied Folder\",\n  \"parent\": {\"id\": \"0\"}\n}\n```\n\n#### Delete Folder\n\n```bash\nDELETE /box/2.0/folders/{folder_id}\n```\n\nQuery parameters:\n- `recursive` - Set to `true` to delete non-empty folders\n\nReturns 204 No Content on success.\n\n### File Operations\n\n#### Get File Info\n\n```bash\nGET /box/2.0/files/{file_id}\n```\n\n#### Download File\n\n```bash\nGET /box/2.0/files/{file_id}/content\n```\n\nReturns a redirect to the download URL.\n\n#### Upload File\n\n```bash\nPOST https://upload.box.com/api/2.0/files/content\nContent-Type: multipart/form-data\n\nattributes={\"name\":\"file.txt\",\"parent\":{\"id\":\"0\"}}\nfile=<binary data>\n```\n\n**Note:** File uploads use a different base URL: `upload.box.com`\n\n#### Update File Info\n\n```bash\nPUT /box/2.0/files/{file_id}\nContent-Type: application/json\n\n{\n  \"name\": \"renamed-file.txt\",\n  \"description\": \"File description\"\n}\n```\n\n#### Copy File\n\n```bash\nPOST /box/2.0/files/{file_id}/copy\nContent-Type: application/json\n\n{\n  \"name\": \"copied-file.txt\",\n  \"parent\": {\"id\": \"0\"}\n}\n```\n\n#### Delete File\n\n```bash\nDELETE /box/2.0/files/{file_id}\n```\n\nReturns 204 No Content on success.\n\n#### Get File Versions\n\n```bash\nGET /box/2.0/files/{file_id}/versions\n```\n\n### Shared Links\n\nCreate a shared link by updating a file or folder:\n\n```bash\nPUT /box/2.0/folders/{folder_id}\nContent-Type: application/json\n\n{\n  \"shared_link\": {\n    \"access\": \"open\"\n  }\n}\n```\n\nAccess levels:\n- `open` - Anyone with the link\n- `company` - Only users in the enterprise\n- `collaborators` - Only collaborators\n\n**Response includes:**\n```json\n{\n  \"shared_link\": {\n    \"url\": \"https://app.box.com/s/sisarrztrenabyygfwqggbwommf8uucv\",\n    \"access\": \"open\",\n    \"effective_access\": \"open\",\n    \"is_password_enabled\": false,\n    \"permissions\": {\n      \"can_preview\": true,\n      \"can_download\": true,\n      \"can_edit\": false\n    }\n  }\n}\n```\n\n### Collaborations\n\n#### List Folder Collaborations\n\n```bash\nGET /box/2.0/folders/{folder_id}/collaborations\n```\n\n#### Create Collaboration\n\n```bash\nPOST /box/2.0/collaborations\nContent-Type: application/json\n\n{\n  \"item\": {\"type\": \"folder\", \"id\": \"365037181307\"},\n  \"accessible_by\": {\"type\": \"user\", \"login\": \"user@example.com\"},\n  \"role\": \"editor\"\n}\n```\n\nRoles: `editor`, `viewer`, `previewer`, `uploader`, `previewer_uploader`, `viewer_uploader`, `co-owner`\n\n#### Update Collaboration\n\n```bash\nPUT /box/2.0/collaborations/{collaboration_id}\nContent-Type: application/json\n\n{\n  \"role\": \"viewer\"\n}\n```\n\n#### Delete Collaboration\n\n```bash\nDELETE /box/2.0/collaborations/{collaboration_id}\n```\n\n### Search\n\n```bash\nGET /box/2.0/search?query=document\n```\n\nQuery parameters:\n- `query` - Search query (required)\n- `type` - Filter by type: `file`, `folder`, `web_link`\n- `file_extensions` - Comma-separated extensions\n- `ancestor_folder_ids` - Limit to specific folders\n- `limit` - Max results (default 30)\n- `offset` - Pagination offset\n\n**Response:**\n```json\n{\n  \"total_count\": 5,\n  \"entries\": [...],\n  \"limit\": 30,\n  \"offset\": 0,\n  \"type\": \"search_results_items\"\n}\n```\n\n### Events\n\n```bash\nGET /box/2.0/events\n```\n\nQuery parameters:\n- `stream_type` - `all`, `changes`, `sync`, `admin_logs`\n- `stream_position` - Position to start from\n- `limit` - Max events to return\n\n**Response:**\n```json\n{\n  \"chunk_size\": 4,\n  \"next_stream_position\": \"30401068076164269\",\n  \"entries\": [...]\n}\n```\n\n### Trash\n\n#### List Trashed Items\n\n```bash\nGET /box/2.0/folders/trash/items\n```\n\n#### Get Trashed Item\n\n```bash\nGET /box/2.0/files/{file_id}/trash\nGET /box/2.0/folders/{folder_id}/trash\n```\n\n#### Restore Trashed Item\n\n```bash\nPOST /box/2.0/files/{file_id}\nPOST /box/2.0/folders/{folder_id}\n```\n\n#### Permanently Delete\n\n```bash\nDELETE /box/2.0/files/{file_id}/trash\nDELETE /box/2.0/folders/{folder_id}/trash\n```\n\n### Collections (Favorites)\n\n#### List Collections\n\n```bash\nGET /box/2.0/collections\n```\n\n**Response:**\n```json\n{\n  \"total_count\": 1,\n  \"entries\": [\n    {\n      \"type\": \"collection\",\n      \"name\": \"Favorites\",\n      \"collection_type\": \"favorites\",\n      \"id\": \"35223030868\"\n    }\n  ]\n}\n```\n\n#### Get Collection Items\n\n```bash\nGET /box/2.0/collections/{collection_id}/items\n```\n\n### Recent Items\n\n```bash\nGET /box/2.0/recent_items\n```\n\n### Webhooks\n\n#### List Webhooks\n\n```bash\nGET /box/2.0/webhooks\n```\n\n#### Create Webhook\n\n```bash\nPOST /box/2.0/webhooks\nContent-Type: application/json\n\n{\n  \"target\": {\"id\": \"365037181307\", \"type\": \"folder\"},\n  \"address\": \"https://example.com/webhook\",\n  \"triggers\": [\"FILE.UPLOADED\", \"FILE.DOWNLOADED\"]\n}\n```\n\n**Note:** Webhook creation may require enterprise permissions.\n\n#### Delete Webhook\n\n```bash\nDELETE /box/2.0/webhooks/{webhook_id}\n```\n\n## Pagination\n\nBox uses offset-based pagination:\n\n```bash\nGET /box/2.0/folders/0/items?limit=100&offset=0\nGET /box/2.0/folders/0/items?limit=100&offset=100\n```\n\nSome endpoints use marker-based pagination with `marker` parameter.\n\n**Response:**\n```json\n{\n  \"total_count\": 250,\n  \"entries\": [...],\n  \"offset\": 0,\n  \"limit\": 100\n}\n```\n\n## Code Examples\n\n### JavaScript\n\n```javascript\nconst response = await fetch(\n  'https://gateway.maton.ai/box/2.0/folders/0/items',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\nconst data = await response.json();\n```\n\n### Python\n\n```python\nimport os\nimport requests\n\nresponse = requests.get(\n    'https://gateway.maton.ai/box/2.0/folders/0/items',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'}\n)\ndata = response.json()\n```\n\n### Python (Create Folder)\n\n```python\nimport os\nimport requests\n\nresponse = requests.post(\n    'https://gateway.maton.ai/box/2.0/folders',\n    headers={\n        'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}',\n        'Content-Type': 'application/json'\n    },\n    json={\n        'name': 'New Folder',\n        'parent': {'id': '0'}\n    }\n)\nfolder = response.json()\nprint(f\"Created folder: {folder['id']}\")\n```\n\n## Notes\n\n- Root folder ID is `0`\n- File uploads use `upload.box.com` instead of `api.box.com`\n- Delete operations return 204 No Content on success\n- Use `fields` parameter to request specific fields and reduce response size\n- Shared links can have password protection and expiration dates\n- Some operations (list users, create webhooks) require enterprise admin permissions\n- ETags can be used for conditional updates with `If-Match` header\n- IMPORTANT: When piping curl output to `jq` or other commands, environment variables like `$MATON_API_KEY` may not expand correctly in some shell environments\n\n## Error Handling\n\n| Status | Meaning |\n|--------|---------|\n| 400 | Missing Box connection or bad request |\n| 401 | Invalid or missing Maton API key |\n| 403 | Insufficient permissions for the operation |\n| 404 | Resource not found |\n| 409 | Conflict (e.g., item with same name exists) |\n| 429 | Rate limited |\n| 4xx/5xx | Passthrough error from Box API |\n\nBox errors include detailed messages:\n```json\n{\n  \"type\": \"error\",\n  \"status\": 409,\n  \"code\": \"item_name_in_use\",\n  \"message\": \"Item with the same name already exists\"\n}\n```\n\n### Troubleshooting: API Key Issues\n\n1. Check that the `MATON_API_KEY` environment variable is set:\n\n```bash\necho $MATON_API_KEY\n```\n\n2. Verify the API key is valid by listing connections:\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Troubleshooting: Invalid App Name\n\n1. Ensure your URL path starts with `box`. For example:\n\n- Correct: `https://gateway.maton.ai/box/2.0/users/me`\n- Incorrect: `https://gateway.maton.ai/2.0/users/me`\n\n## Resources\n\n- [Box API Reference](https://developer.box.com/reference)\n- [Box Developer Documentation](https://developer.box.com/guides)\n- [Authentication Guide](https://developer.box.com/guides/authentication)\n- [Box SDKs](https://developer.box.com/sdks-and-tools)\n- [Maton Community](https://discord.com/invite/dBfFAcefs2)\n- [Maton Support](mailto:support@maton.ai)\n\nFile v1.0.1:_meta.json\n\n{\n  \"ownerId\": \"kn75240wq8bnv2qm2xgry748jd80b9r0\",\n  \"slug\": \"box\",\n  \"version\": \"1.0.1\",\n  \"publishedAt\": 1770754001721\n}\n\nFile v1.0.1:LICENSE.txt\n\nThe MIT License (MIT)\n\nCopyright (c) 2026 Maton\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","readmeExcerpt":"Skill: Box Owner: byungkyu Summary: Box API integration with managed OAuth. Manage files, folders, collaborations, and cloud storage. Use this skill when users want to upload, download, share, or organize files and folders in Box. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key. Tags: latest:1.0.2 Version history: v1.0.2 ","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"# Get current user info\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/box/2.0/users/me')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"},{"language":"text","snippet":"https://gateway.maton.ai/box/2.0/{resource}"},{"language":"text","snippet":"Authorization: Bearer $MATON_API_KEY"},{"language":"bash","snippet":"export MATON_API_KEY=\"YOUR_API_KEY\""},{"language":"bash","snippet":"python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections?app=box&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"},{"language":"bash","snippet":"python <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'box'}).encode()\nreq = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: box\ndescription: |\n  Box API integration with managed OAuth. Manage files, folders, collaborations, and cloud storage.\n  Use this skill when users want to upload, download, share, or organize files and folders in Box.\n  For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).\n  Requires network access and valid Maton API key.\nmetadata:\n  author: maton\n  version: \"1.0\"\n  clawdbot:\n    emoji: 🧠\n    requires:\n      env:\n        - MATON_API_KEY\n---\n\n# Box\n\nAccess the Box API with managed OAuth authentication. Manage files, folders, collaborations, shared links, and cloud storage.\n\n## Quick Start\n\n```bash\n# Get current user info\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/box/2.0/users/me')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n## Base URL\n\n```\nhttps://gateway.maton.ai/box/2.0/{resource}\n```\n\nThe gateway proxies requests to `api.box.com/2.0` and automatically injects your OAuth token.\n\n## Authentication\n\nAll requests require the Maton API key in the Authorization header:\n\n```\nAuthorization: Bearer $MATON_API_KEY\n```\n\n**Environment Variable:** Set your API key as `MATON_API_KEY`:\n\n```bash\nexport MATON_API_KEY=\"YOUR_API_KEY\"\n```\n\n### Getting Your API Key\n\n1. Sign in or create an account at [maton.ai](https://maton.ai)\n2. Go to [maton.ai/settings](https://maton.ai/settings)\n3. Copy your API key\n\n## Connection Management\n\nManage your Box OAuth connections at `https://ctrl.maton.ai`.\n\n### List Connections\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections?app=box&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Create Connection\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'box'}).encode()\nreq = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n### Get Connection\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\n**Response:**\n```json\n{\n  \"connection\": {\n    \"connection_id\": \"bd484938-0902-4fc0-9ffb-2549d7d91f1d\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2026-02-08T21:14:41.808115Z\",\n    \"last_updated_time\": \"2026-02-08T21:16:10.100340Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"box\",\n    \"metadata\": {}\n  }\n}\n```\n\nOpen"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn75240wq8bnv2qm2xgry748jd80b9r0\",\n  \"slug\": \"box\",\n  \"version\": \"1.0.2\",\n  \"publishedAt\": 1770762304564\n}"},{"path":"LICENSE.txt","content":"The MIT License (MIT)\n\nCopyright (c) 2026 Maton\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"Box API integration with managed OAuth. Manage files, folders, collaborations, and cloud storage. Use this skill when users want to upload, download, share, or organize files and folders in Box. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key. Skill: Box Owner: byungkyu Summary: Box API integration with managed OAuth. Manage files, folders, collaborations, and cloud storage. Use this skill when users want to upload, download, share, or organize files and folders in Box. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key. Tags: latest:1.0.2 Version history: v1.0.2","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":865,"uniquenessScore":50,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"agent-directory","verified":false,"confidence":"low","updatedAt":"2026-10-09T16:27:55.810Z","emptyReason":"No close protocol neighbors were found."},"items":[],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[]}}}