← 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": "Add, update, or remove captions and materials in CapCut drafts, with local validation.",
  "included_files": [
    {
      "relative_path": "reference/STDraft_Protocol.md",
      "size_in_bytes": 27938
    },
    {
      "relative_path": "reference/application.md",
      "size_in_bytes": 15041
    },
    {
      "relative_path": "reference/merge_diff.md",
      "size_in_bytes": 15649
    },
    {
      "relative_path": "reference/validation.md",
      "size_in_bytes": 6977
    },
    {
      "relative_path": "scripts/_draft.py",
      "size_in_bytes": 3318
    },
    {
      "relative_path": "scripts/_materials.py",
      "size_in_bytes": 4428
    },
    {
      "relative_path": "scripts/apply_captions.py",
      "size_in_bytes": 8856
    },
    {
      "relative_path": "scripts/apply_materials.py",
      "size_in_bytes": 10088
    },
    {
      "relative_path": "scripts/manage_materials.py",
      "size_in_bytes": 16939
    },
    {
      "relative_path": "scripts/stdraft_builder.py",
      "size_in_bytes": 80802
    }
  ],
  "name": "capcut-stdraft-builder",
  "skill_md_contents": "---\nname: capcut-stdraft-builder\ndescription: Add, update, or remove captions and materials in CapCut drafts, with local validation.\n---\n\n# CapCut Draft Atomic Capabilities\n\nUse this post-editing workflow only on Codex desktop. On ChatGPT Web or the mobile app, explain that draft changes require desktop and stop before loading or modifying a draft.\n\nThis workflow requires a Python runtime and access to the draft files. Cloud-draft coordination follows [web-collaborative-editing](../web-collaborative-editing/SKILL.md).\n\nApply, update, or remove captions and materials on an existing complete draft, and return the locally validated draft along with a record of the changes.\n\n## Local Execution Permissions\n\nThese Python functions process the draft in memory only. They need no network access, no Codex App Server, and no writes to `~/.codex`. Run them inside the existing sandbox by default; when importing installed modules, `python -B` avoids writing `__pycache__` into the read-only plugin directory. Prefer the current writable working directory or a temporary directory for input and output files.\n\nOnly when the operation must reach an input path the sandbox forbids, or a user-specified output path, should the caller request that the command run outside the sandbox through the execution tool's approval mechanism, stating the exact paths and their purpose. Execute normally when the existing permissions suffice. When the current policy forbids approval, approval is unavailable, or approval is denied, report the missing permission to the caller; do not modify the sandbox configuration or start a login. A retry after permissions are restored reuses this operation's original draft, so captions or materials are not applied twice on an already-modified result.\n\n## Capability Boundary\n\nThis skill owns local draft editing and validation. Caption recognition, material selection, operation orchestration, draft version management, cloud saving, and export belong to the caller.\n\nReport unsupported operations to the caller; the underlying references are not an editing entry point for working around this boundary.\n\n## Usage Conventions\n\nPrefer the functions this skill provides; do not assemble segment structures yourself.\n\nWhen the existing functions do not cover a case, first read [application.md](reference/application.md) to confirm there really is no entry point, then consult the implementations under `scripts/` and construct it yourself: reuse `load` / `finish` from `_draft.py` and `check_segment_uri` / `check_attribute_uri` from `_materials.py` rather than bypassing them to drive `stdraft_builder` directly. Call out any hand-constructed part in the explanation returned to the caller.\n\nA successful script return does not mean the result is correct: before delivering, read through the final draft JSON and confirm it against this round's requirements. See [Final Review](reference/application.md#final-review).\n\n## Material Forms\n\nMaterials take three forms in STDraft, and the form determines how a material is added, updated, or removed:\n\n| Form | Material types | How to remove |\n| --- | --- | --- |\n| Standalone segment | video, photo, plain text, music, sound_effect, video_effect, filter, text_template | `remove_material` |\n| Host attribute | font, text_effect (carried on TEXT) | `unset_attribute`; font can only be replaced, never removed |\n| Boundary attribute | transition (written on the preceding VIDEO) | `unset_attribute` |\n\nCharacter effects are ordinary video effects in the protocol and have no separate type: the search-side `face_effect` is applied with `apply_video_effect`, using exactly the same arguments.\n\nUse `update_placement` to change an existing segment's time, duration, on-screen position, or layer; it applies to root-level segments only. Use `update_caption_text` to change caption text; it rewrites `content` and the word-level timings together. Plain text has no timings, so change it with `update_material(content=...)`.\n\nCaptions and plain text must have a font: one is substituted automatically when none is supplied, and removal is rejected — when a caption has no font, the cloud fills in a font that cannot be rendered, leaving the whole text unusable on the web.\n\nRemoving a segment neither cleans up attributes written on other segments (a predecessor's transition, for example) nor closes the resulting gap in the timeline. Read through the returned draft to find leftovers, then decide whether to clear them with `unset_attribute`.\n\n## Video and Image Segments\n\nVideo and images are both `VIDEO` segments and differ only in `meta_type`. `search_capcut_material` finds neither — the caller supplies the source. Use `apply_video` to add one (pass `meta_type=\"photo\"` for an image), `update_material` to change the source or volume, `update_placement` to change timing and on-screen layout, and `remove_material` to delete it.\n\nAn image holds a single frame, so any duration is valid and no source-length warning is raised; the protocol forbids setting `speed` on it.\n\nAdding does not move existing segments: when `layer` is omitted, the lowest free layer for that time range is used, so a collision with existing video on the main track stacks it as an upper layer (picture-in-picture) instead of pushing later segments aside. To append to the end of the main track, compute `start_ms` yourself so it falls after the last segment.\n\n## References on Demand\n\n| When to read | Document |\n| --- | --- |\n| Before any caption or material operation, to learn how to call it | [application.md](reference/application.md) |\n| The calling guide and function docs do not explain a validation error | [validation.md](reference/validation.md) |\n| Reviewing draft differences or diagnosing Merge behavior | [merge_diff.md](reference/merge_diff.md) |\n| Diagnosing segment structure or looking up protocol fields | [STDraft_Protocol.md](reference/STDraft_Protocol.md) |\n"
}

SHA-256 of public snapshot: d993a12c44e9cd15a764ba8eadf6d023abaa60a1da7b909a619255a26a1a0f80