← CapCutCONTENT HISTORY

Update to CapCut

Snapshot Nov 23, 2026 · 12:11 UTC · version 0.3.0

Collection source: downloaded plugin package.

WHAT CHANGED

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 JSON
Full technical diff · 0 changed fields
Full snapshot data
{
  "description": "Manage CapCut Web draft sessions, imports, cloud saves, version conflicts, and the collaborative editor. Do not use when a built-in browser is unavailable.",
  "included_files": [
    {
      "relative_path": "references/conflict-recovery.md",
      "size_in_bytes": 2098
    }
  ],
  "name": "web-collaborative-editing",
  "skill_md_contents": "---\nname: web-collaborative-editing\ndescription: Manage CapCut Web draft sessions, imports, cloud saves, version conflicts, and the collaborative editor. Do not use when a built-in browser is unavailable.\n---\n\n# Web Collaborative Editing\n\nThis agent-managed cloud-draft workflow is available only on Codex desktop; \"Web\" here names the CapCut browser editor, not ChatGPT Web support. On ChatGPT Web or the mobile app, do not create a session, read or push a snapshot, or use this workflow for post-editing. Explain that post-editing requires Codex desktop.\n\nBefore starting, check that this environment has a built-in browser. If that capability is unavailable, report the limitation before creating a session or editing a cloud draft.\n\nThis skill coordinates collaboration between the agent and user in the CapCut Web editor: managing draft sessions, synchronizing cloud versions, saving changes, resolving editing conflicts, and opening or reusing editor pages. The caller owns editing goals and resource acquisition; the atomic functions in `capcut-stdraft-builder` handle local caption and material application.\n\nA session edits exactly one CapCut cloud draft, which the user can also open and edit in the browser editor. The browser editor always wins: when the user saves there while you are editing, your round is discarded — by design, not a bug to work around.\n\nThis skill coordinates `start_stdraft_session`, `check_stdraft_state`, `get_stdraft_snapshot` and `push_stdraft_snapshot`, including `STDRAFT_INVALID` and `STDRAFT_VERSION_CONFLICT` handling. These tool names remain the session API used for Web collaboration.\n\nIf these account-bound tools are missing in the current task, follow [mcp-auth](../mcp-auth/SKILL.md) to classify authorization. When connected, execute its New-Task Handoff without waiting for a separate request to fork: fork, send the unfinished edit and progress, and open the fork. Preserve the selected `session_id`, complete baseline, and `package_id`. If a push was already submitted but its result is uncertain, first check the server draft version in the fork; do not blindly repeat that push. A missing plain draft tool does not imply that an interactive card is required.\n\n## Related Workflows\n\n| Capability | When to use | Reference |\n| --- | --- | --- |\n| Complete video editing | AI rough-cut handoff, automatic captions, material search and application | [video-editing](../video-editing/SKILL.md) |\n| Local draft operations | Apply prepared captions/materials through atomic functions; diagnose validation failures when needed | [capcut-stdraft-builder](../capcut-stdraft-builder/SKILL.md) |\n| Conflict recovery | A push returns `STDRAFT_VERSION_CONFLICT` | [Conflict recovery](references/conflict-recovery.md) |\n\n## Session\n\nA session coordinates agent and Web editing for one cloud draft. It starts without a draft; the first successful push creates that draft.\n\nBefore cloud-draft editing or calling any tool accepting `draft_session_id`, select or create a session and always pass its ID. This applies even when the tool schema marks the parameter optional. Selecting or creating a session does not start an edit round; call `check_stdraft_state` only immediately before modifying the draft.\n\n- Reuse the session explicitly identified by the user or unambiguously continued from the preceding work.\n- When several sessions are available and the target is unclear, ask which draft to use. Describe each draft by its content and latest known state, not its `session_id`. Identify descriptions based on older information as last-known state.\n- With no existing session to continue, call `start_stdraft_session`. Create another session only when the user clearly wants a separate new draft. Ask when wording such as “redo this version” leaves that intent unclear.\n- If the user means an earlier draft whose session is missing from context, first try to locate it from available session and browser information. If unresolved, explain and ask the user to identify the target or choose a new draft.\n\nKeep each session's ID, latest server baseline and version, returned editor URL, and associated browser tab together. Use the selected ID for later draft operations and draft-session parameters. Preserve it for retries of the same request.\n\nSession URL example: `https://www.capcut.com/editor/{package_key}?session=xxx`. The `session=xxx` query parameter identifies the associated session; it appears in `embed_editor_url`, not in `web_editor_url`. Preserve it when opening or reusing the embedded tab's URL; do not identify a session by `package_key` alone.\n\n## Session page\n\nManage the embedded browser page for the selected session whenever a tool returns its URL and before each edit:\n\n- Reuse that session's open tab. A CapCut tab belonging to another session is not a match.\n- If its tab is closed or absent, open the latest tool-returned URL for that session in the embedded browser.\n- If the open session page lacks `package_key` and a tool returns its editor URL with `package_key`, navigate the same tab to that exact URL.\n- Otherwise leave the open page in place; subsequent pushes update the draft without reopening the tab.\n\nThe reuse rule above applies to automatic page management. If the user explicitly asks to open a purchase link again, navigate the matching session tab to that exact purchase URL, preserving `codex_benefit_triple_id`, or open it if absent.\n\nUse returned URLs, including `embed_editor_url`, `web_editor_url` and `benefit_check_url`; do not construct a URL or invent `package_key`. If no URL is available yet, wait for a tool to return one.\n\nAn AI Lab task ID is separate from a cloud-draft session ID. Importing a rough-cut result does not attach its original editor URL to the selected session.\n\n## Edit round\n\nRun every round, the first one included, in this order.\n\n1. **Check.** Call `check_stdraft_state` right before you edit, passing the `package_id` of the stdraft you hold, or an empty string if you hold none. Call it only when you are about to edit: it puts an editing overlay on the user's browser editor for up to 20 minutes.\n\n2. **Pick your baseline** from the result:\n\n   | Result | Baseline |\n   | --- | --- |\n   | `stale: true` | Call `get_stdraft_snapshot` and edit what it returns |\n   | `stale: false`, and the stdraft you last fetched or pushed is still in this conversation | Edit that copy: it came from the server, so fetching again returns the same document |\n   | `stale: false`, you hold no copy, `server_package_id` not empty | Call `get_stdraft_snapshot` and edit what it returns |\n   | `stale: false`, `server_package_id` empty | The draft does not exist yet: use the complete initial draft prepared by the caller; validate an external import seed when needed |\n\n3. **Apply the caller's edits on the selected baseline.** Use `capcut-stdraft-builder` atomic functions for prepared captions and materials; the caller owns the operation order and parameters. For an import-only round, use the caller's complete initial draft. Push only a document that passed local validation; use the atomic result's validation without repeating it. Application results wrap the full document in `draft`; serialize that field, not the result envelope or a Merge patch.\n\n   Reference new media as `vid://<vid>` for video/audio and `tos://<uri>` for images: the push copies these into the user's workspace. Upload local files with the `capcut-upload` skill to get them; http(s) links and local paths are not copied, so upload those files first. Preserve existing `asset://` media references returned by the session and catalog `sid://` / `vimo://` references; they do not use the new-media upload path. Current snapshot outputs do not include workspace IDs or a public resource-mapping list for caption recognition.\n\n4. **Push.** Call `push_stdraft_snapshot` with the full document and `base_package_id` set to your baseline's `package_id`, empty when you built a new draft.\n\n5. **Handle the result.**\n   - **Success:** the result carries `server_package_id`, the version this push created, and usually `stdraft_json`, the draft read back from the server. When `stdraft_json` is present, that pair is your copy for the next round — do not call `get_stdraft_snapshot` to fetch it again. It can differ from the document you pushed: the server re-derives it from the cloud draft. When `stdraft_json` is absent, the save still succeeded but you have no baseline: do not treat the document you pushed as one — call `get_stdraft_snapshot` before editing again.\n\n     Update this session's saved editor URL, then run Deliver below.\n   - **`STDRAFT_INVALID`:** nothing was saved and the document did not pass validation, with no detail on which rule failed. Re-validate it with `capcut-stdraft-builder`, fix what you find, and push again with the same `base_package_id` — changed, never the same document twice.\n   - **`STDRAFT_VERSION_CONFLICT`:** the user saved the draft in the browser after you took your baseline. Follow [conflict recovery](references/conflict-recovery.md) before doing anything else.\n\n6. **Deliver.** Every successful push ends with these three, in this order. A push that returned an error code stops at step 5 instead.\n\n   1. **Open the session page.** Apply Session page above: when this session's embedded editor tab is not open, open `embed_editor_url` in the embedded browser. A tab already open needs no reopening; it loads the new version by itself.\n\n   2. **Summarize this round's edits** in the user's language: what you changed in the draft this round. Describe the edits themselves and leave out `server_package_id`, baselines and other bookkeeping.\n\n   3. **Hand over the web editor link, last.** Close the reply with a clickable Markdown link to this draft in the full CapCut web editor: `web_editor_url` is the target, `web_editor_text` the display text — a link, never a bare URL. It opens the draft in the user's own browser, separate from the embedded tab where this session's collaborative editing happens, so an open tab does not replace this link. Do this after every successful push, the first one and every later one. The server localizes the label with an English fallback: use it verbatim even when its language differs from the conversation, and translate only the surrounding explanation.\n"
}

SHA-256 of public snapshot: 5f0586ef9361a80271b4774d096051f68ef455e043c58449cb8e76c3db78861f