This skill should be used when the user asks to design, audit, or harden Claude Platform Files API upload/reference/lifecycle flows or PDF document requests using file_id, URL, or base64 document sources. Use it for file metadata, deletion, conditional downloadability, PDF request limits, MIME-to-content-block contracts, and source/platform compatibility. Do not use it for text-editor operations, fetching web pages, generic object storage, document authoring, or arbitrary binary processing.
Own Claude Platform Files API lifecycle plans and PDF document request contracts. Produce a closed plan, validate it offline, and reject unsupported operations or unproven platform behavior. [DOC][CONFIG]
Use this skill for:
file_id reference, list, metadata retrieval, conditional download, and deletion. [DOC]document, image, or container_upload blocks. [DOC]file_id, including request/page/format checks. [DOC]Route elsewhere when the primary task is:
claude-api-client-tools; document authoring or documentation-system design: documentation-architecture; [CONFIG]claude-api-server-tools; general web research: web-research; [CONFIG]cloud-native-architecture; [CONFIG]tool-use-design; [CONFIG]data-privacy-governance. [CONFIG]claude-api-context-management. [CONFIG]A PDF URL inside a Messages document source is a document input, not a general-purpose web fetch. Files API storage is an API-specific create-once/use-many surface, not a generic storage service. [DOC][INFERENCIA]
scripts/validate_file_document_plan.py. [CONFIG]files and pdf-support; field-level claims must resolve through references/official-source-map.md. [CONFIG]files_lifecycle or pdf_analysis. [CONFIG]file_id placeholder or existing ID. [DOC][CONFIG]references/official-source-map.md; do not import claims from any other corpus. [CONFIG]prompts/meta.md; reject text editing, web fetch, and generic storage false positives. [CONFIG]references/files-api-contract.md for Files API availability, beta, lifecycle, MIME/block mapping, limits, downloadability, and errors. [DOC]references/pdf-contract.md for source/platform compatibility, PDF format, request/page limits, visual mode, and recommendations. [DOC]templates/file-document-plan.json and keep the plan free of file bytes, base64 payloads, credentials, and fetched content. [CONFIG]python3 scripts/validate_file_document_plan.py --plan <plan.json> and bash scripts/check.sh. [CÓDIGO]coverage_gap entries. [CONFIG]files-api-2025-04-14; SDK file methods may add the beta header automatically, while Messages requests that reference a file still require the beta declaration. [DOC]files source; reject file-backed plans on unsupported variants. [DOC]data-privacy-governance. [DOC][CONFIG]downloadable: false; only a generated file whose metadata says downloadable: true may be downloaded. [DOC]url, base64, or Files API file; platform support differs, so source/platform compatibility is mandatory. [DOC]document block with application/pdf, standard unencrypted/unpassworded PDF, no more than 32 MB total request payload, and no more than 600 pages; requests below a 1M-token context window are capped at 100 pages. [DOC]platform_payload_limit_unverified until that platform's active limit is independently confirmed. [DOC][coverage_gap]pdf_context_fit_unverified unless the caller supplies separate context-fit evidence. [DOC][coverage_gap]container_upload validates only the Files API block mapping here; execution-tool semantics remain container_execution_contract_out_of_scope. [DOC][coverage_gap]assets/file-document-plan.schema.json. [CONFIG]files and pdf-support. [CONFIG]accept or reject, typed findings, warnings, and coverage_gap values. [CÓDIGO]scripts/check.sh; no API key, network request, upload, or billable call. [CONFIG]agents/producer.md - source-grounded plan producer.agents/verifier.md - independent fail-closed verifier.references/official-source-map.md - the two official URLs, normalized corpus paths, and hashes.references/files-api-contract.md - Files API lifecycle, blocks, limits, and errors.references/pdf-contract.md - PDF sources, platforms, request limits, and visual-mode rules.references/validator-contract.md - closed plan shape, issue codes, and CLI behavior.assets/file-document-plan.schema.json - portable plan schema.assets/review-checklist.md - producer/verifier acceptance checklist.examples/valid-files-lifecycle.json - valid create-once/use-many lifecycle example.examples/valid-pdf-support.json - valid file-backed PDF example.examples/invalid-boundary.json - invalid editor/fetch/generic-storage example.scripts/validate_file_document_plan.py - stdlib-only fail-closed validator.scripts/check.sh - deterministic packet, eval, fixture, and unittest gate.Capas del packet, cargables bajo demanda (disciplina ICM: una capa por vez, nunca todas juntas): references/ guías de profundidad (cargar UNA por etapa) · knowledge/ cuerpo de conocimiento · prompts/ prompts listos · examples/ salida de ejemplo · agents/ subagentes del packet · templates/ plantilla de output · scripts/ automatización local · assets/ recursos estáticos.
e8f986b
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.