{"id":105512,"plugin_id":"plugin_asdk_app_6ae2bcab7b48819189184b8a61de40a0","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-19T06:10:19.770Z","digest":"929a73d0ff09fc4f39542a4790f0ba15bd7aec13df4411123c110fdc8a913170","against":null,"payload":{"description":"Recreate the structure and style of a reference video with the user's own footage in Donkey Cut. Use when the user shares a video to copy.","included_files":[],"name":"replicating-a-video","skill_md_contents":"---\nname: replicating-a-video\ndescription: \"Recreate the structure and style of a reference video with the user's own footage in Donkey Cut. Use when the user shares a video to copy.\"\n---\n\n# Replicating a video you can watch\nSomeone points at a video — a file they imported, a link you brought in, a clip on their timeline — and asks for one like it. Everything on the screen gets rebuilt out of this editor's own parts: every card of type, every shape, every colour, every move, at the time it happens. The footage inside the shots is the one thing you cannot rebuild, because it is the person's to bring — so each shot stands as a block in the colour the reference has behind it, with nothing written on it. When the ask is for the shots filled — with stock footage, Pexels clips, real footage — you find it yourself on Pexels (below) and the blocks become those clips.\n\n**Clipping a long source.** A talk, an interview or a stream is mostly material that only makes sense in place. find_highlights ranks its stretches from the transcript, so an hour is read for its handful of moments without watching all of it; watch_video the spans it returns before committing, since the ranking never saw the picture. add_clip `spans` lays a pick down — several stretches of one source as one run of clips, the material between them left out — and a two-span result is one clip whose halves were never next to each other.\n**Watch the whole thing first.** Every decision below comes off the record, so the record has to be complete: watch from 0 and keep going until `unwatchedSeconds` is 0, writing each pass into note_source before the next one. Anything over a couple of minutes gets a coarse pass end to end first (`interval_seconds` 15-30) to learn its shape, then a dense pass (0.5) over the stretches that carry text or cut fast. Read every card word for word — its text, its face, where it sits in the frame, when it comes and goes — because a turn later the sheets are gone and the notes are all you have. Reading type is what `detail` is for: the dense pass over a stretch carrying words runs at `detail` read, and a face or treatment you are about to name runs at original, where the frame arrives at the source's own resolution. When the cards ARE the narration — a caption track of what the speaker is saying — the transcript already holds every word, and the close passes are for how they are set: face, weight, size, colour, placement, how many words ride a card, how it enters and leaves. Read a few of those at original and take the rest from the transcript.\n\n**Measure it.** A contact sheet tells you what happens; the numbers come from the source's pixels. A reference recorded off a screen — a phone filming an editing app, a letterboxed film — has its picture inside a bigger frame: find_picture finds that box and keeps it on the source (detect_cuts does on its first read), every measuring tool and compare_to_source then reads inside it, and their x, y, w, h are fractions of it, so they land on the cut's frame as they are; set_aspect to its `aspect`. detect_cuts reads every frame: each cut on its frame, the `shots` between them, and the `changes` inside a shot — a word landing, a word swapping fill for outline, a shape popping in. Run it over the whole source before the read passes, which then land a frame in every shot and change, and time each title from them. Its times are to the millisecond, and every tool lands such a time on the frame it names: write them back as read. sample_color reads the hex of any region at any second. track_element gives an element's box frame by frame and the ease of each move; with match ink it gives a title's ink box. track_camera gives a shot's camera move frame by frame — zoom, shift, turn — and says when the picture under it is one frozen frame. Run it over every shot before you describe how it moves: a beat zoom on a frozen frame, a shake or a slow push reads on a contact sheet as a held shot with exposure flicker, and detect_cuts lists its pulses as whole-frame `changes` — a run of those inside one shot is a camera move until track_camera says otherwise. A cut whose `change` sits far below a new shot's, or a few frames that open just before a real cut, is rarely a shot of its own: it is usually the next shot's subject laid over this one, a cutout flashed in. Look at those frames one at a time, and build every one you find; it is part of the edit's look, not a glitch to skip. A fade of the whole picture to black or white, or up out of it, is no cut: detect_cuts lists it in `fades` with its start, length, amount and ease read off every frame, and add_effect flash takes them as they come (fade, tone, amount, fade_ease) — never time or shape a fade from a few sampled colours.\n\n**Lay down the sound, then block out the cuts.** Cuts timed to a reference are timed to its sound, and its music is the cut's soundtrack: bring that track in as an audio file of its own — import_media with `audio_only` on the link the reference came from — and add_clip it at 0, where it lines up with the picture. The reference itself stays off every timeline, its sound included, so it can be cleared out once the build is done while the music plays on. A reference with no link (a file the person imported) is the one case for detach_audio with its `assetId`, which plays the track straight off the reference. add_clip with `blocks` lays the skeleton from `shots` in one call — one block per shot on track 0, each its shot's `from` and `to` as read so every cut lands on its frame, flash cuts included, `color` what sample_color reads behind it and `label` naming what the person drops there. The label rides the timeline chip; the frame shows the colour alone. Footage dropped on a block, or replace_item, takes its place and its length, so everything built on top keeps its timing. When the ask is the reference's own picture playing, add_clip `spans` lays its shots down instead, one span per shot at those same times.\n\n**Fill the shots from Pexels, when asked.** The reference's own frames never go in the cut; Pexels' free footage does. Search it on the web: https://www.pexels.com/search/videos/<words>/?orientation=landscape (portrait for a 9:16 cut), asking for every result's link, id and title. Search per shot by what it shows — the subject and what they wear, the action, the angle, the light, the time of day — and look again with other words when a page has nothing close; one creator's series often covers a whole template, so a good hit's neighbours are worth a search of their own. import_media `urls` takes the video page links (pexels.com/video/<slug>-<id>/) and brings each down as its 1080p file, the Pexels id in its name. Watch the candidates beside the reference shot and keep the one that matches subject, angle and motion — a candidate is footage to judge, not a source to replicate: one scan pass over the stretch you would use settles it, and the whole-watch and word-for-word reading above are the reference's alone; replace_item puts it on that shot's block, trim_clip sets its in so the motion lands where the reference's does, set_framing zooms and pans to the reference's framing, and match_color_grade with ref_asset_id the reference and ref_at a moment inside the shot grades it to the reference's frame. Pexels files carry their own sound: when the reference's music is the soundtrack, set_clip_muted with `ids` mutes every footage clip in one call, so only the music plays. A shot whose camera moves — a push, a punch-in on the beat, a shake, a tilt — is measured with track_camera over that shot of the reference and keyed on its clip with set_clip_keyframes from the `path` and `moves` it returns. When it says `still`, the reference froze a frame and moved it: freeze_frame at a timeline second inside the shot's clip, for the shot's length, at that clip's index, delete_item the moving clip, and key the moves on the still. An overlay that shows the next shot's subject over the current one is that shot's clip again on a track above, its subject extracted with set_removal. Such a cutout is usually flashed in on its own picture, a frame at a time: a solid white silhouette, then the subject, then blown out, then the subject. Read those frames one by one, split the cutout a clip per frame, and give each its set_clip_effects flash: fade \"from\" at amount 1 for the silhouette, a pop at 0.6-0.9 for a blown-out frame, none for a plain one. A cutout that flickers between the subject and its negative every frame — detect_cuts marks such a run `flicker` — is one clip with a negative effect strobing at half the timeline's frame rate, which flips it each frame. Name every Pexels id you used when you close.\n\n**Rebuild the text as elements.** One title per card, a stretch of cards per add_title call — the words exactly as they read, size in px at 1080 wide, and x/y where suggest_font sets it on that card — a title is set from the middle of its line, so the centre of its ink box (track_element, match ink, the text's colour) sits off it by the face's own offset. A run of lines timed one after another is add_text_sequence in one call. Match the case the reference uses, and its colour from sample_color. The face comes off the frame: suggest_font with the card's moment, a region close around its words and the words themselves ranks every face Donkey has and hands back the font, weight, size, tracking and x/y to set. Call it on each card: cards in one face share its weight, size and tracking, but each sits its own way in its space, so its x/y comes from its own read, never from a neighbour's place. A title that cycles through typefaces is one call per face it shows. A no_match verdict means the reference uses a face Donkey does not bundle: say so, and set the closest one it named. Without a suggestion, size comes off the ink: capitals stand about 0.7 of the size tall, so size is the ink height in px at 1080 wide ÷ 0.7 (h × 1920 ÷ 0.7 on 9:16). A cycle whose faces change on the music's beats times itself with set_overlay_animation font_cycle_beats on the soundtrack clip after detect_beats; one whose changes follow the reference's own rhythm takes font_cycle_switches, the timeline seconds detect_cuts reads each change at.\n\n**Then the motion.** set_overlay_keyframes gives each card its own pose track — where it sits, at what scale, at what second. track_element over a move hands you the keys: each move's from/to, start/end and ease, with scale as w over the resting w. Run it over a card's whole stay, `from` its first frame `to` its last, even when the card looks still: one frame reads where it sits and how big, never the slow drift or grow it makes while it holds, which the call hands back as a move like any other. set_overlay_animation composes on top for the entrance, the exit, a loop, and what a line does while it holds; 0.3-0.6s reads as an entrance, and a per-letter style is what makes a card read as typed. A line whose letters land one at a time is a per-letter entrance read off detect_cuts' `changes`, and it is read in one call, never by eye from sheets: track_element with match letters, the line's `text`, a seed close around the landed line, `from` before the first letter shows and `to` just after the last one lands. Its `entrance` is the set_overlay_animation call — in_style, in_seconds, in_stagger, in_sequence, in_sequence_at, in_distance, in_ease, in_fade, in_blur — and `starts`, the source second the title's ramp begins; pass them as they come. Digits spinning into place like a slot machine and letters popping in where they stand are read by the same call: it hands back a slot entrance with the reel's turn, spacing, band and landing bounce (a fast spin seems to turn the wrong way between frames, so take the turn from the call, never from a sheet), or a typewriter. A zoom through a letter until its ink fills the frame is a dive exit: run track_camera over the zoom first, and when it hands back an `anchor` — the reference growing the letter where it stands rather than flying it to the centre — set out_anchor to it, end the dive where the reference's frame fills and match its pace with out_ease against compare_to_source. Its `crosses` says whether the letters pass in front of or behind other ink on their way in — a smaller line above them — and so which of the two takes the lower row. motion_blur on the element (update_overlay) is for letters that streak along their fall; one that comes in soft is in_blur. add_shape, a stretch per call, is the rest of the graphics: bars, cards, rules, a block of color behind a line.\n\n**Look at what you made.** A build that reads right from your own notes is still a guess until you measure it. compare_to_source does: mode sweep scores every frame of the cut against the source — 0 is the same picture, under 5 reads as one — and names the worst stretches with a grid of where each differs; mode moments shows those peaks beside the source's frames. Sweep as you build, since an error in the first card is in every card after it: look at the worst stretches, fix what differs, sweep again, and stop when the median is under 5 and no stretch stands out. A `shift` means the right thing lands early or late by that much. Read each picture for colour, the words and their face, where a thing sits, its size, and how far along a move is; a title the same colour as the block behind it reads as correct in the document and shows up here, and a sweep's `titles` names each title whose letters are another colour than the source's. A block keeps its footage's difference, so judge a shot by the cells over what you built. That is the only difference no edit removes: a glow, a tint on type, a soft edge or a flash is built like everything else (a glow is a bright shadow at shadow_y 0 on the title or shape, keyed in by the opacity of a copy that wears it), so a stretch over what you built stands out until you build it.\n\n**Say what plays.** Close by naming what fills the shots — each Pexels id by shot — and what you checked. A shell gets what to drop in: how many shots, how long each one runs, and that the titles and timing are built around them.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}