{"id":116129,"plugin_id":"plugin_asdk_app_6ae37a13301c81919b3c62b884f60c6b","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-25T18:15:59.481Z","digest":"a658e90c5217f39d519fd68cb12aaa1fcd28c4c8dec31adc316486c82a1024b7","against":null,"payload":{"description":"Use when generated clips must become a finished video on Scenario via MCP: cutting a shot list together, laying a timeline, concatenating with transitions, overlaying a logo or title card, adding a music bed or voiceover, burning in or exporting captions and subtitles, trimming and splitting, or producing vertical and square variants of one master. Keywords: edit, assemble, stitch, concat, compositor, timeline, layers, overlay, captions, SRT, ad, UGC, social cut.","included_files":[],"name":"scenario-video-assembly","skill_md_contents":"---\nname: scenario-video-assembly\ndescription: \"Use when generated clips must become a finished video on Scenario via MCP: cutting a shot list together, laying a timeline, concatenating with transitions, overlaying a logo or title card, adding a music bed or voiceover, burning in or exporting captions and subtitles, trimming and splitting, or producing vertical and square variants of one master. Keywords: edit, assemble, stitch, concat, compositor, timeline, layers, overlay, captions, SRT, ad, UGC, social cut.\"\nlicense: MIT\n---\n\n# Scenario Video Assembly\n\n## Overview\n\nScenario has no editing tools on the MCP surface. Every compositor, concatenator, trimmer and\ncaptioner is a deterministic model run through `model_run`. The compositor, concatenator and trimmer\nids are fixed and named below; Scenario ships two captioners, so that one is discovered with\n`recommend`. Connection and the core loop: see the `scenario` skill; the clips themselves: see\n`scenario-video`. If a sibling skill named here is missing from your available skills, load it with\n`skill_get` (Scenario MCP) or ask the user to install it\n(https://github.com/scenario-labs/skills#install); unattended, proceed from tool schemas and flag\nthe gap.\n\n## Quick reference: pick the backend first\n\n| Need                                       | Model                          |\n| ------------------------------------------ | ------------------------------ |\n| Clips end to end, optional transitions     | `model_scenario-video-concat`  |\n| Anything overlapping: overlay, bed, titles | `model_scenario-compose-video` |\n| Still layout (thumbnails, sheets, key art) | `model_scenario-compose-image` |\n\nThese ids are constants: each is Scenario's single deterministic tool for its operation, so\ndiscovery would only re-derive it.\n\nConcat is sequential: `videos` takes 2 to 50 files (never 1), `preserveAudio` (default true) carries\neach clip's own track into the cut, and the optional `transitions` array's \"length must be number of\nvideos - 1\". Each entry is an object `{type, duration}`, never a bare string: `type` is one of 18\nnames read off the schema (`fade`, the default, is the plain crossfade; `dissolve` is a different\neffect; `none` a hard cut) and `duration` runs 0.1 to 5 seconds, default 0.5. Omit the array for\nhard cuts throughout, the right call whenever the brief does not ask one shot to flow into the next.\n\n`preserveAudio` is not a guarantee of sync: a concatenated cut has come back with its audio drifting\nagainst the picture, with and without transitions (a confirmed defect at authoring time). A concat\nof clips carrying dialogue or effects is verified, never trusted: `asset_get` the output and compare\n`properties.duration` with the inputs' sum (each transition shortens the cut by up to its\n`duration`), then download it and check that the audio and video streams run the same length (a\nlocal probe of the download is inspection, not editing) and that a visible cue (a cut, a mouth\nopening, an impact) lands on its sound. When speech must stay locked to the picture, assemble in\nVideo Studio instead: each clip layer carries its own track at its `startTime`, so a drift\nintroduced by joining has nowhere to arise, at the price of hard cuts or per-layer fades in place of\nthe transition set. Concat stays the tool for silent clips and for cuts whose bed is laid\nafterwards.\n\nVideo Studio is an absolute timeline: `layers` holds 1 to 50 image, video or audio sources placed by\n`startTime` and stacked by `zIndex` (higher in front), with per-layer `fadeIn`/`fadeOut` rather than\na between-clip array, so a cross-fade between two clips belongs in concat. At least one layer must\nbe a video, so a music bed over a still is rejected.\n\n## The Video Studio contract\n\nPer layer, three timing ideas have confusable names:\n\n- `startTime` and `endTime` place the layer on the timeline.\n- `trimStart` and `trimEnd` are amounts shaved off the head and tail of the source, not in and out\n  points: to play the first 20 seconds of a 90-second track, set `trimEnd: 70`.\n- `duration` overrides the layer's length. The top-level `duration` is a different field, setting\n  the whole composition, and applies only when `durationMode` is `\"custom\"`.\n\nEverything is in seconds at `step: 0.1`, so do not promise frame-accurate cuts. `x` and `y` are\nstrings taking pixels, percentages or words, and `anchor` says which point of the layer they\naddress: `top-left`, `top-center`, `top-right`, `center-left`, `center`, `center-right`,\n`bottom-left`, `bottom-center`, `bottom-right` (the middle one is bare `center`), defaulting to\n`\"top-left\"`. A bottom-right logo is `x: \"right\"`, `y: \"bottom\"`, `anchor: \"bottom-right\"`, flush to\nthe edge unless you inset it with a percentage.\n\n`canvasMode` and `durationMode` both default to `\"auto\"`, computed from the layers: a custom frame\nis `canvasMode: \"custom\"` plus numeric `canvasWidth` and `canvasHeight` (there are no top-level\n`width`/`height`, and unlike the layers' string `width`/`height` these are numbers), and a custom\nlength is `durationMode: \"custom\"` plus the top-level `duration`. `fit` only acts on a layer that\nalso sets the layer's own `width` and `height`, strings like `x` and `y`: to reframe a clip, set\nboth to the canvas size as bare pixel numbers in strings (`width: \"1920\"`, `height: \"1080\"`, the\nform of the schema's own `\"0\"` default; a percent string also works) and pass `\"cover\"` (crops) or\n`\"contain\"` (letterboxes), since the default `\"fill\"` stretches. Give an overlay layer an explicit\n`width` and `height` even at its native size: leaving them empty is documented as preserving the\noriginal but does not reliably, and a 560x80 strip came back at 1792x256 on a 1920x1080 canvas. The\noutput field is `videoOutputFormat` here, `imageOutputFormat` in Image Studio, and `outputFormat` in\nconcat and the trim utilities.\n\nA layer's `type` (image, video, audio, or mask) is optional and otherwise inferred from `source`.\nThere is no text layer, so titles, lower thirds and end cards arrive as rendered PNGs composited as\nimage layers; `scenario-text-overlay` renders them letter-perfect.\n\n## Worked example: three clips, a music bed, and captions\n\n1. For every source, `asset_get` and read `properties`: the real `duration` (audio carries it too),\n   `frameRate` on video, and `width`/`height` on video and images alike. A model asked for eight\n   seconds does not always return exactly eight.\n2. Add them up to get each clip's `startTime`, then `model_schema_get` on\n   `model_scenario-compose-video`.\n3. `model_run` it with `layers` holding the three clips at their computed `startTime`s\n   (`zIndex: 0`), a logo PNG pinned by `x`/`y`/`anchor` at `zIndex: 1`, and the music as an audio\n   layer trimmed to the clips' total with `trimEnd`, since auto `durationMode` computes from every\n   layer, the bed included. `volume` (0 to 2) and `mute` are per-layer and apply to video layers\n   too, so balance the bed from either side. Set `canvasMode: \"custom\"` with `canvasWidth` and\n   `canvasHeight`; `fps` defaults to 30 and takes whole numbers from 1 to 120, so set it to the\n   clips' measured `frameRate` when they agree (rounded), which is what step 1 read it for.\n4. `jobs_wait`, then caption the finished cut rather than each clip: `model_scenario-caption-studio`\n   (an authoring-time pick, since Scenario ships two captioners: re-discover with `recommend`) takes\n   it as `video` and transcribes whatever audio the master actually carries, so lower the bed's\n   `volume` rather than muting the dialogue. For Caption Studio, follow `scenario-caption-studio`\n   for corrected-SRT input and rendered-caption verification rather than inferring an upload route\n   from a file-typed schema: the exposed `upload_asset` kinds do not include text. It burns captions\n   in by default, returns a sidecar when `outputSrt` is true, and positions them with `textPosition`\n   (`top`, `middle` or `bottom`, default `bottom`, so move it off a bottom-edge overlay). Other\n   captioners use their own live input contracts.\n5. `asset_display` to review, then `asset_download` with `format` left unset (it is an image\n   conversion target) for the file.\n\nFor a revision handoff, retain the clean master, source assets, actual submitted layer payload,\nmeasured timings, narration text and voice settings, title PNGs with their editable layout settings,\nand any corrected SRT and returned caption theme. Keep output ids linked to the recipe. Revise the\nrequested layer and recaption from the clean master; do not stack new captions over a burned export.\nThese records support reconstruction, not a promise of a native editor project or a tested replay in\na new environment.\n\nTrim, split and resize have their own tool models. Note `model_scenario-video-cut`'s\n`startTime`/`endTime` are source in and out points, not timeline placement.\n\n## Common mistakes\n\n- Reaching for an MCP tool like `video_compose`, or for local ffmpeg to do the edit itself. The\n  editing surface is `model_run` on tool models; probing a download is fine.\n- Handing concat one clip, or one transition per clip: the minimum is 2 videos, and transitions run\n  one fewer.\n- Trusting `dry_run` here as validation: it returns a cost estimate only, and assembly payloads are\n  the most structurally complex in the catalog.\n- Captioning a concatenated master before checking its sync: the captioner times its lines to the\n  audio it hears, so drifted audio ships drifted captions on top of it.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}