box-content-api
БесплатноЗапускает вложенные скриптыНе проверенBuild and troubleshoot Box integrations for uploads, folders, folder listings, downloads and previews, shared links, collaborations, search, metadata…
от fanfan-de★ 55 звёзд на GitHubОб этом скилле
Box Content API
Overview
Implement Box content workflows in application code. Reuse the repository's existing auth and HTTP or SDK stack whenever possible, identify the acting Box identity before coding, and make the smallest end-to-end path work before layering on sharing, metadata, webhooks, or AI.
Route The Request
| If the user needs... | Primary object | Read first | Pair with | Minimal verification |
|---|---|---|---|---|
| Local verification, manual smoke tests, or quick inspection from Codex without app code changes | Current CLI environment | references/box-cli.md |
references/auth-and-setup.md |
scripts/box_cli_smoke.py check-auth then a read command |
| Uploads, folders, listings, downloads, shared links, collaborations, or metadata | File or folder | references/content-workflows.md |
references/auth-and-setup.md |
Read-after-write call using the same actor |
| Organizing, reorganizing, or batch-moving files across folders; bulk metadata tagging; migrating folder structures | File set or folder tree | references/bulk-operations.md |
references/auth-and-setup.md, references/content-workflows.md, references/ai-and-retrieval.md |
Inventory source, verify move count matches plan |
| Event-driven ingestion, new-file triggers, or webhook debugging | Webhook or events feed | references/webhooks-and-events.md |
references/auth-and-setup.md, references/troubleshooting.md |
Signature check plus duplicate-delivery test |
| Search, document retrieval, summarization, extraction, or Box AI | Search result set or file content | references/ai-and-retrieval.md |
references/auth-and-setup.md |
Retrieval-quality check before answer formatting |
| 401, 403, 404, 409, 429, missing content, or wrong-actor bugs | Existing request path | references/troubleshooting.md |
references/auth-and-setup.md |
Reproduce with the exact actor, object ID, and endpoint |
| Unsure which workflow applies | Unknown | references/workflows.md |
references/auth-and-setup.md |
Choose the smallest Box object/action pair first |
Workflow
Follow these steps in order when coding against Box.
- Inspect the repository for existing Box auth, SDK or HTTP client, env vars, webhook handlers, Box ID persistence, and tests.
- Determine the acting identity before choosing endpoints: connected user, enterprise service account, app user, or platform-provided token.
- Identify the primary Box object and choose the matching reference from the routing table above.
- Confirm whether the task changes access or data exposure. Shared links, collaborations, auth changes, large-scale downloads, and broad AI retrieval all need explicit user confirmation before widening access or scope.
- Read only the matching reference files:
- Auth setup, actor selection, SDK vs REST:
references/auth-and-setup.md - Box CLI local verification:
references/box-cli.md - Workflow router:
references/workflows.md - Content operations:
references/content-workflows.md - Bulk file organization, batch moves, folder restructuring:
references/bulk-operations.md - Webhooks and events:
references/webhooks-and-events.md - AI and retrieval:
references/ai-and-retrieval.md - Debugging and failure modes:
references/troubleshooting.md
- Auth setup, actor selection, SDK vs REST:
- Implement the smallest end-to-end flow that proves the integration works.
- Add a runnable verification step. Prefer the repository's tests first; otherwise use
scripts/box_cli_smoke.pywhen Box CLI is available and authenticated, andscripts/box_rest.pyas a fallback. - Summarize the deliverable with auth context, Box IDs, env vars or config, and the exact verification command or test.
Guardrails
- Preserve the existing Box auth model unless the user explicitly asks to change it.
- Check the current official Box docs before introducing a new auth path, changing auth scope, or changing Box AI behavior.
- Prefer an official Box SDK when the codebase already uses one or the target language has a maintained SDK. Otherwise use direct REST calls with explicit request and response handling.
- Keep access tokens, client secrets, private keys, and webhook secrets in env vars or the project's secret manager.
- Distinguish file IDs, folder IDs, shared links, metadata template identifiers, and collaboration IDs.
- Treat shared links, collaborations, and metadata writes as permission-sensitive changes. Confirm audience, scope, and least privilege before coding or applying them.
- Require explicit confirmation before widening external access, switching the acting identity, or retrieving more document content than the task truly needs.
- When a task requires understanding document content — classification, extraction, categorization — use Box AI (Q&A, extract) as the first method attempted. Box AI operates server-side and does not require downloading file bodies. Fall back to metadata inspection, previews, or local analysis only if Box AI is unavailable, not autho
Установить box-content-api в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл box-content-api?
Build and troubleshoot Box integrations for uploads, folders, folder listings, downloads and previews, shared links, collaborations, search, metadata, event-driven automations, and Box AI retrieval flows. Use when Codex needs to add Box APIs or SDKs to an app, wire Box-backed document workflows, organize or share content, react to new files, or fetch Box content for search, summarization, extraction, or question-answering.
Как установить скилл box-content-api?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл box-content-api запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic