AGENT SKILL

box

Manage files and folders via Box API. Upload, download, and share content securely.

License 许可
MIT
最近更新
2026-04-05
Stars
★ 7
Forks
1

01 前言 Front Matter

name
box
metadata
{ "clawdbot": { "emoji": "?", "requires": { "env": [ "BOX_ACCESS_TOKEN" ] } } }
description
Manage files and folders via Box API. Upload, download, and share content securely.

02 资源文件 1

03 SKILL.md 正文

Box

Enterprise cloud storage.

Environment

export BOX_ACCESS_TOKEN="xxxxxxxxxx"

List Files in Folder

curl "https://api.box.com/2.0/folders/0/items" -H "Authorization: Bearer $BOX_ACCESS_TOKEN"

Upload File

curl -X POST "https://upload.box.com/api/2.0/files/content" \
  -H "Authorization: Bearer $BOX_ACCESS_TOKEN" \
  -F "attributes={\"name\":\"file.txt\",\"parent\":{\"id\":\"0\"}}" \
  -F "file=@localfile.txt"

Download File

curl "https://api.box.com/2.0/files/{fileId}/content" -H "Authorization: Bearer $BOX_ACCESS_TOKEN" -o file.txt

Links

04 同仓库更多 Skills