{"id":107232,"plugin_id":"plugin_asdk_app_6ab639b28e2081919b704b4ada7e478f","kind":"skill","collection_source":"plugin_package","comparison_source":"plugin_package","observed_at":"2026-11-20T06:12:15.199Z","digest":"ff7682a87f7da62532978bc9bc8c460de4205a4f6d1fa06afb37f908e6887286","against":41650,"payload":{"description":"Edit footage the user already has: trim, resize to 9:16 or 16:9, join clips, add a music bed and add captions from the user's timings or text, or from a transcription of the footage. Use when the footage already exists and only needs editing, not new scenes.","included_files":[{"relative_path":"agents/openai.yaml","size_in_bytes":475},{"relative_path":"assets/icon.svg","size_in_bytes":430}],"name":"subtitles-and-cut","skill_md_contents":"---\nname: subtitles-and-cut\ndescription: \"Edit footage the user already has: trim, resize to 9:16 or 16:9, join clips, add a music bed and add captions from the user's timings or text, or from a transcription of the footage. Use when the footage already exists and only needs editing, not new scenes.\"\n---\n\n# Subtitles and cut\n\nEdit footage the user already has: trim, resize to 9:16 or 16:9, join clips, add a music bed and add captions from the user's timings or text, or from a transcription of the footage.\n\nUse this skill via the get_skill(skill_id=\"subtitles-and-cut\") tool call: make it first and follow what it returns from the start. Its files are read with get_skill(skill_id=\"subtitles-and-cut\", path=...) when it names them.\n"},"changes":[{"path":"/description","type":"changed","before":"Trim, resize to 9:16 or 16:9, join clips, add a music bed and burn captions from timings, a script or a transcription of the footage, on footage the user already has: free, except a transcription or a whip-pan transition clip. Use when the footage already exists and only needs editing, not new scenes.","after":"Edit footage the user already has: trim, resize to 9:16 or 16:9, join clips, add a music bed and add captions from the user's timings or text, or from a transcription of the footage. Use when the footage already exists and only needs editing, not new scenes."},{"path":"/included_files","type":"changed","before":[{"relative_path":"agents/openai.yaml","size_in_bytes":379},{"relative_path":"assets/icon.svg","size_in_bytes":430},{"relative_path":"references/ass-skeleton.md","size_in_bytes":1081}],"after":[{"relative_path":"agents/openai.yaml","size_in_bytes":475},{"relative_path":"assets/icon.svg","size_in_bytes":430}]},{"path":"/skill_md_contents","type":"changed","before":"---\nname: subtitles-and-cut\ndescription: \"Trim, resize to 9:16 or 16:9, join clips, add a music bed and burn captions from timings, a script or a transcription of the footage, on footage the user already has: free, except a transcription or a whip-pan transition clip. Use when the footage already exists and only needs editing, not new scenes.\"\n---\n\n## When\n\nEditing, not generating: cut a long take, make a vertical from a horizontal, join\ntakes, burn subtitles. Not for generating scenes.\n\n## Ask first\n\n1. **The footage** — links (uploaded or from `read_project`), each clip's length in\n   seconds (`extract_frames` needs it; `read_project` reports `seconds` only for items the app has\n   placed and saved, a generated clip's `wait_task` result has it as `duration_seconds`, and\n   uploads carry none), and\n   the target frame.\n2. **Captions** — text with timings (SRT-like), a script to spread evenly, the footage's own\n   speech (transcribed, a few credits per minute), or none.\n3. **Sound** — keep the original, add a bed, or both.\n\n## Steps\n\n**Before anything.** `list_projects` (or `create_project`) for the `project_id` and, when the\nproject has several modules, the `module_id` — `extract_frames` and `run_ffmpeg` take that\npair. Nothing below spends credits. The one exception is a music bed the user wants\ngenerated: one `generate_music` under the usual quote (`estimate_cost` with the same\nproject, told to the user, then the call with that `quote_id` and `confirmed_by_user=true`,\nand `wait_task` for the link); a bed is at most 120 s (the tool's cap) and is looped at the\ncut (`-stream_loop -1` on the bed input, `-shortest`) for longer footage.\n\n**1. Look first (free).** `extract_frames(video_url, duration=<that clip's length>,\nat_seconds=[…])` at a few timestamps to see what is in the footage before cutting; confirm the trim points with the user.\n\n**2. Captions.** Write the `.ass` sidecar, starting from `get_skill_file(skill_id=\"subtitles-and-cut\", path=\"references/ass-skeleton.md\")`: one dialogue line per cue with start/end from\nthe user's timings. When only a script is given, spread the lines across the trimmed\nlength in proportion to their character counts and say the timing is approximate. When the\nuser wants the footage's own speech captioned, `analyze_media(media_url, question=\"Transcribe\nthe speech with start and end timestamps for every line\", confirmed_by_user=true)` — the one\npaid call with no quote: it is charged by clip length, a few credits per minute, the user is\ntold that and agrees first, and the finished run (`wait_task`) reports `credits_charged_estimate`.\nCues come from those timestamps, offset by the trim start.\nStyle: bottom-anchored, white with a dark outline, 15% of the height from the bottom\nso phone UI does not cover it.\n\n**3. The cut (free).** `run_ffmpeg` takes at most 10 inputs and 4 outputs: with more than\nnine clips (plus the bed) concatenate in groups of at most 10 first — each input scaled, cropped,\n`setsar=1` and set to one frame rate in that group call, since clips of different sizes do not join —\n`wait_task`, and feed\nthose to the final call, repeating until the final call fits. That call: `-ss`/`-t` for the trim, `scale`+`crop` for 9:16\n(centre crop unless the user points at a subject), `concat` for joins, `ass=subs.ass` for\ncaptions, the bed mixed under with `amix`. Output `final.mp4`. `wait_task`, return the\nlink and `open_in_frameo`.\n\nA whip-pan transition between two shots (a 2 s clip that lands on the next shot) is a paid `generate_video` from the next shot's first frame, with the prompt from `get_presets([\"whip-pan\"])`, quoted with `estimate_cost` first; the preset's notes give the length and the trim.\n\n## Done\n\nThe cut in the Frameo project, shown with `show_generations` and `final: true`\nwhere the chat app displays Frameo cards.\n`open_in_frameo` on the result opens the project in the Frameo app, where every take is ready for retakes and edits.\n\n## Files\n\n- `references/ass-skeleton.md` — a minimal `.ass` file to fill in, read in step 2.\n","after":"---\nname: subtitles-and-cut\ndescription: \"Edit footage the user already has: trim, resize to 9:16 or 16:9, join clips, add a music bed and add captions from the user's timings or text, or from a transcription of the footage. Use when the footage already exists and only needs editing, not new scenes.\"\n---\n\n# Subtitles and cut\n\nEdit footage the user already has: trim, resize to 9:16 or 16:9, join clips, add a music bed and add captions from the user's timings or text, or from a transcription of the footage.\n\nUse this skill via the get_skill(skill_id=\"subtitles-and-cut\") tool call: make it first and follow what it returns from the start. Its files are read with get_skill(skill_id=\"subtitles-and-cut\", path=...) when it names them.\n"}],"summary":"Fields changed: 3. /description, /included_files, /skill_md_contents.","summary_kind":"deterministic","summary_metadata":{}}