← CapCutCONTENT HISTORY
WHAT CHANGED
Update to CapCut
Snapshot Nov 23, 2026 · 12:11 UTC · version 0.3.0
Collection source: downloaded plugin package.
First saved snapshot
No earlier snapshot is available to establish a change.
Save CapCut and check future changes in Following.
Up to 3 plugins free · no card required.
Compare saved observations
Download comparison JSONFull technical diff · 0 changed fields
Full snapshot data
{
"description": "Upload attached or local videos, audio, and images to CapCut for editing and generation.",
"included_files": [
{
"relative_path": "references/codex-local.md",
"size_in_bytes": 14443
},
{
"relative_path": "references/host-attachments.md",
"size_in_bytes": 994
},
{
"relative_path": "scripts/capcut-upload.mjs",
"size_in_bytes": 92339
}
],
"name": "capcut-upload",
"skill_md_contents": "---\nname: capcut-upload\ndescription: Upload attached or local videos, audio, and images to CapCut for editing and generation.\n---\n\n# Upload Media to CapCut\n\nUpload attached or local videos, audio files, or images in mixed batches. Return a public-ready video/audio `vid` or image `uri` for each successful item.\n\n## Execution Boundary\n\n- Use only the plugin MCP upload tools and bundled local uploader for this workflow.\n- Do not launch or control the CapCut desktop app, open or navigate the CapCut website, use Computer Use, use an in-app or system browser, or run shell commands that launch those interfaces for upload. This applies even when CapCut is installed, already open, or signed in.\n- The only permitted automatic browser opening is an OAuth flow explicitly initiated by the sibling `mcp-auth` skill. Exhaust viable upload routes before using its New-Task Handoff for missing tools; never switch to a desktop or web interface.\n\n## Upload Workflow\n\nHonor an explicit user choice of upload route. Otherwise choose the default from trusted current-client context, using the same `platform` value as the MCP tools:\n\n- **Desktop (`desktop`): script first.** Follow [local upload](references/codex-local.md) and use `capcut_asset_upload_credential` with the bundled uploader. Do not require attachment-tool discovery before using an available script route.\n- **Other clients (`web`, `mobile`, or `unknown`): attachment first.** Follow [attachment upload](references/host-attachments.md) and use `capcut_attachment_upload`.\n\nCheck source access, execution permissions and native tools for the chosen route. If it is unavailable, automatically use the other viable route. Scripts require readable files and an upload-script runtime; attachment inputs must be supported by the host's current tool schema. Never fabricate download URLs or file IDs. If neither route has usable source access, report the missing capability.\n\nBefore declaring the script's network access unavailable, follow [local permissions](references/codex-local.md#local-file-and-network-permissions). A hostname missing from a list is a denial only when the effective policy makes that list exclusive; missing approval tools or a missing local policy file alone do not establish a denial.\n\nIf neither viable route has its required upload tools after native discovery, follow the sibling `mcp-auth` skill to check account authorization. If login is needed, complete its recovery and retry native discovery once. If the account is connected and the tools remain unavailable here, follow New-Task Handoff before uploading bytes. Carry the original source references and goal, confirm that the new task can access those sources, and preserve completed VIDs or image URIs so they are not uploaded twice.\n\n### Automatic Route Fallback\n\n- If an upload route definitively fails, automatically try the other viable route once for the failed files, without asking the user to choose or authorize the same upload again. Load that route's reference and discover its tools as needed. Respect an explicit request to use only one route.\n- Preserve successful items and original input order. Switch routes only for files known not to have completed upload, with no VID, URI or `uploadSuccess:true`. A failure known to precede upload submission can fall back; a lost response, timeout after submission or `unknown` result must be resolved first. Missing IDs alone do not prove that nothing uploaded. Finalize or workspace-import failures recover only that stage with the existing media ID.\n- If the alternate route also fails or lacks prerequisites, stop switching, retain completed identifiers and report the failed stages and remaining blocker. Do not bounce between routes.\n- Keep the existing authorization scope and executor permission rules. Do not use fallback to bypass a permission denial. Explicit MCP authentication errors follow `mcp-auth`; local-script and downstream failures remain upload-stage errors.\n\n## Upload Authorization\n\n- Reuse the user's authorization for the specified files and requested CapCut task. Do not add a separate conversational confirmation for a step already covered by that authorization.\n- `www.capcut.com` and `www.capcutw.us` are official CapCut service domains; `/api/external_mcp/upload/finalize` on either domain submits only an already uploaded VID, authenticated by a short-lived finalize capability, to make that media accessible by link without re-uploading video bytes; existing host approval requirements still apply.\n- When additional consent is required, ask once for the complete batch and necessary scope: upload the named files to CapCut-provided storage, make them accessible by link when required for the requested search/editing task, and import into the user's CapCut Web cloud space when applicable. Explain that anyone holding a public media link can access that media. Do not split our own confirmation into one question per file, storage hostname, upload stage, or already-authorized link-resolution step.\n- Retain that scope for subsequent steps in the same task. New files, recipients, uses, or broader visibility require their own authorization when applicable. A task request does not override a host approval decision.\n- For host attachments, follow the host's file/tool authorization flow; do not request shell escalation or configure local execution permissions. For local scripts only, reuse existing grants and follow [local permissions](references/codex-local.md#local-file-and-network-permissions).\n\n## Invariants\n\n- Preserve input order and batch mixed video/audio/image inputs within each upload route.\n- Treat video or audio as successful only when it has a non-empty `vid` and finalize succeeded (`setPublic.success:true` for the script, `set_public:true` for attachments).\n- Treat an image as successful only when it has a non-empty `uri`.\n- Preserve successful identifiers from partial failures and never re-upload an item that already has a `vid`, `uri`, or `uploadSuccess:true`.\n- Use the uploader's private result file and verify every file-to-identifier mapping from it; terminal progress and summary output are not the source of truth.\n- Delete the private result file and temporary directory after their identifiers and failure states have been passed to the next operation or prepared for the final response; keep them only while recovery is needed.\n- For script uploads, prefer one `version:1` call when a host programmatic runtime can pass the complete response directly to the uploader's stdin without model mediation, printing it, or writing it to a file. Otherwise use `version:3` with the exact `upload_ticket`; never truncate, reconstruct, or repair a ticket. Full credentials must not pass through the model.\n- Never expose cookies, OAuth bearer tokens, permanent credentials, raw headers, signing material, or complete upload sessions. A short-lived session may only pass in memory from the credential tool to the uploader through the supported host runtime.\n- For MCP transport failures without a tool result, apply the route-fallback rules above: distinguish a failure before upload submission from an unknown outcome, and do not infer an OAuth failure from transport status alone.\n- If an upload tool returns an authentication error, stop retrying it and follow the sibling `mcp-auth` skill before resuming the upload.\n- After an upload MCP tool succeeds, treat every bundled uploader or finalize script failure as a script-stage failure. Do not follow `mcp-auth` or run `codex mcp login`, including when the script reports an authorization-like status.\n\n## Result Contract\n\n### Prefill the first generation card\n\nWhen a new image/video-generation request already includes reference attachments, upload them before rendering its first parameter card, even if the prompt is empty. Reuse successful uploads, preserve attachment order, and pass each image URI or public video/audio VID with its original base `file_name`. Include all known generation settings from the request and omit unknown settings for defaults. Use `role:\"reference\"` unless the user explicitly assigned an image as a first or last frame. Report failed files before rendering while retaining successful references. Render one card for the batch without `resume_from`, then end the turn without assistant text. An existing attachment does not need another “Add references in chat” round trip.\n\n### Show a new card after chat uploads\n\nAn “Add references in chat” follow-up carries `generation_card` in its structured model context: `card_id`, `state_capability`, and the reserved next `version`. Use that exact binding, not whichever card was rendered most recently. If the user has not attached files yet, ask them to attach files in chat and wait. Adding references is optional; it is not approval to generate.\n\nThe follow-up also carries `reference_requirements` for the selected model and mode. Before uploading, compare available media types, counts and known video/audio durations with these requirements (use local media metadata inspection when available). Point out incompatible files immediately; do not wait for a generation confirmation. Do not silently trim files, drop references, or change models. If files have already been uploaded, preserve their identifiers and show the replacement card so the user can remove them or switch models; its inline validation runs before confirmation.\n\nAfter the upload batch finishes, call `capcut_get_generation_card` with the binding. If `submitted` is true or `latest_version` is greater than the requested version, do not resume the old request. A lower returned version means its snapshot is not visible yet; retry the same read, never substitute an older snapshot or create an unrelated card.\n\nAppend successful image URIs and public video/audio VIDs to the snapshot's ordered `reference_assets`, avoiding duplicates and preserving existing roles and `file_name` values. Include each upload's original base file name (with extension) as `file_name` in parameter-card references, including when opening the first card; take it from the attachment result's `file_name` or the uploader's `file` path, never from the URI/VID. The card shows image thumbnails or video/audio icons alongside these names. `file_name` is card metadata only: omit it from direct image/video generation specs. Use `role:\"reference\"` for new items unless the user explicitly assigned an image as `first_frame` or `last_frame`. Call `prepare_for_image_generation` or `prepare_for_video_generation` according to the saved `media_type`, with only `resume_from` set to the exact binding and `reference_assets` set to the complete updated list. The renderer restores the saved prompt and model settings; do not reconstruct or override them.\n\nReport failed items before rendering and retain successful identifiers so a retry does not upload them again. Render exactly one replacement card after the batch, then end the turn without assistant text, including upload confirmations or instructions to click Generate. The old form stays retired; do not update it or start generation. If the user cancels adding references, render the reserved next version with the snapshot's existing references unchanged. If the exact binding is unavailable, ask which request to continue rather than guessing.\n\nFor standalone uploads only, return reusable identifiers together with concise per-file success or failure status. When an upload continues image/video generation, retain identifiers internally and use the single parameter card as the complete response. For VOD finalize failures, preserve the Vid and report the `set_public` stage; do not upload the bytes again.\n"
}SHA-256 of public snapshot: 8bde574750b294a5521322be0dba0f7adb13c88b0345b2235805c160a34fbbae