[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MKG3XZ0E1879N142QEF04J":3,"skill-same:01M6MKG3XZ0E1879N142QEF04J":70},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":51,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":54,"updatedAt":55,"install":56,"resources":69},"01M6MKG3XZ0E1879N142QEF04J","video",null,"Use when a brief has to become a film. Turns a one line ask into a Claude Design prompt written in the animations-v3 engine's own language, plus the built piece.jsx and a contact sheet to look at before anyone renders. Covers reference roles, the kit, the storyboard gate, the motion floor, and the verification commands. Do not use for backend work, UI design, or marketing copy alone.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fohad6k\u002Fditto\u002Fskills\u002Fvideo\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"Video","ui design","when","animations","jsx","for","at","kit","line","commands","do","storyboard","design","motion","use","claude design","ask","work","marketing","brief","ui","verification","2026-11-10 10:12:30",false,"---\nname: video\ndescription: Use when a brief has to become a film. Turns a one line ask into a Claude Design prompt written in the animations-v3 engine's own language, plus the built piece.jsx and a contact sheet to look at before anyone renders. Covers reference roles, the kit, the storyboard gate, the motion floor, and the verification commands. Do not use for backend work, UI design, or marketing copy alone.\n---\n\n# Emulo video\n\nYou take a brief and hand back a film. Not a prompt, a film: the prompt that\nbuilt it, the composition files, and frames somebody can look at.\n\n## 0. Load the profile before you write a word\n\n1. Locate `emulo.py` two directories above this skill; fall back to `.\u002Femulo.py`\n   only for a direct repo checkout.\n2. Store the resolved absolute path as `EMULO_PY`, then run\n   `python \"$EMULO_PY\" plugin profile-path --domain video`.\n3. If it exits nonzero, give its exact recovery instruction and stop loading\n   personal context. Never substitute a generic creative persona.\n4. Read every returned path completely. First is the core working profile,\n   second is the video profile. Both outrank anything below.\n5. If the repo has `videos\u002FREADME.md`, it routes short-form work.\n   **This skill owns long-form and commercial film only.** A vertical Reel that\n   is a designed film, not a screen recording, is this skill.\n\n## 1. What you hand back\n\n**A folder the person can upload to Claude Design and get a film.** That is the\ndeliverable. Not a prompt in a chat message, not a description of a film, not a\nlist of ideas. A folder.\n\nBuild it at `videos\u002F_kits\u002F\u003Cbrand>\u002F` in this exact shape, because the shape is\nwhat makes it work:\n\n| # | Artefact | Why it is there |\n|---|---|---|\n| 1 | `PROMPT.md` | the brief. One page, in the engine's language |\n| 2 | `START-HERE.md` | **the upload order.** Which files, in which order, in one message. Without it the person guesses and the guess is wrong |\n| 3 | `ATTACH\u002F` | every asset the film needs, including `animations-v3.jsx` itself |\n| 4 | `frames\u002F` | reference stills whose **filenames carry the instruction** |\n| 5 | `KIT.md` | the manifest: every file, its pixel size, its known defects |\n\nOptionally, and only after the four above are finished: `build\u002Fpiece.jsx` plus\n`build\u002Fframes\u002F`, the film built and rendered locally so you can look at it before\nanyone else does. That is verification, not the deliverable. A kit with no local\nbuild still ships. A local build with no kit does not.\n\n### The three things that decide whether the folder works\n\n**Ship the engine inside `ATTACH\u002F`.** `animations-v3.jsx` goes in the folder with\nthe assets. Claude Design needs the runtime it is being asked to write against.\nLeaving it out is the most common way a good prompt produces a bad film.\n\n**Isolated parts, never a screenshot of a whole screen.** One object per file,\ntransparent, 1600px minimum on the long edge, plus 4K plates at the film's aspect\nratio. A whole screen dropped in is a slab and reads as broken. Claude Design\nfilms fail on missing assets, never on prompt length.\n\n**Put the instruction in the filename.** `REF-VERCEL_03_object-became-the-mark.png`\nteaches; `ref3.png` does not. The person uploading them keeps the names, so every\nfile carries its own lesson into the context.\n\n### Name what is missing. Never invent a substitute.\n\nIf an asset does not exist, say so in `PROMPT.md` under its own heading, and say\nwhat to do instead. A brief that admits two missing assets is usable. A brief that\nquietly fakes them produces a film with two broken beats and no way to tell why.\n\n### Every prompt contains, in this order and by name\n\n1. **the brief in the engine's language**: `OM_SCENES`, `CUES`, named `Easing`\n2. **the transformation chain, as match anchors**: what becomes what\n3. **the asset list**, with real filenames, so no beat is blocked on a missing part\n4. **the failure conditions for this specific film**, not generic ones\n5. **the verification commands**, so the claim \"it works\" has an output behind it\n\nA worked example of the whole shape is `videos\u002F_kits\u002Fclaude\u002F`: brief, upload\norder, 31 assets with the official mark split into stackable layers, twelve\ninstruction-named frames, and two missing assets named rather than faked.\n\n## 2. The engine\n\n`animations-v3.jsx` is the Claude Design runtime. Read\n`videos\u002F_kits\u002F_engine\u002FREADME.md` once, then work from this table.\n\n**Never edit `animations-v3.jsx`.** Its own header says re-running\n`copy_starter_component` overwrites it. Every improvement made there is\ndestroyed on the next host copy. The leverage is in the brief.\n\n| Use | Never use |\n|---|---|\n| `Easing.easeOutExpo` and the named curves | `cubic-bezier(...)`, any CSS string |\n| `OM_SCENES` named sections with `dur` | absolute frame numbers as the structure |\n| `CUES.SectionName` to key choreography | wall clock, `setTimeout`, `requestAnimationFrame` |\n| `animate({from, to, start, end, ease})(T)` | `useEffect` painting anything visible |\n| `interpolate([...], [...], ease)(T)` | CSS keyframes running on their own |\n| `\u003CShot from to>` for a hard cut | conditional mounting per section |\n| one `\u003CCompositionStage>` as the only exportable root | the exportable attribute anywhere else |\n\nThe model in one sentence: the animation is one element tree rendered as a pure\nfunction of one authored time axis, so nothing mounts or unmounts at a section\nboundary and any object can persist, move or morph across the whole film by\nordinary interpolation. That is why this engine suits the work. Zero cuts, one\nobject transforming across the entire film, and the collision law are its\ndefaults instead of things a brief has to fight for.\n\n```jsx\n\u003CCompositionStage width={1080} height={1920} bg=\"#161309\"\n                  scenes={window.OM_SCENES} playback={window.OM_PLAYBACK}>\n  \u003CPiece \u002F>          \u002F\u002F ONE component, the whole film\n\u003C\u002FCompositionStage>\n```\n\n```js\nuseComposition() -> { T, CUES, time, duration, authoredTotal, playing }\n```\n\n`OM_SCENES` and `OM_PLAYBACK` are JSON string literals in plain inline\n`\u003Cscript>` tags of the main document, not `type=\"text\u002Fbabel\"`, passed through\nuntouched. Every entry needs a `desc`, one plain sentence, because the user\nreads it in the timeline popover. Never hand-set `nat`.\n\n```html\n\u003Cscript>window.OM_SCENES = '[{\"name\":\"Strike\",\"dur\":2.5,\"desc\":\"The mark lands and throws green across the ground\"}]';\u003C\u002Fscript>\n\u003Cscript>window.OM_PLAYBACK = '{\"mode\":\"loop\"}';\u003C\u002Fscript>\n```\n\n**Easing, the complete list.** `linear`; `easeIn\u002FeaseOut\u002FeaseInOut` for `Quad`,\n`Cubic`, `Quart`, `Expo`, `Sine`; `easeInBack`, `easeOutBack`, `easeInOutBack`;\n`easeOutElastic`. Back and elastic overshoot, so they are the game-feel curves\nand belong nowhere near a logo or an official brand file.\n\n**Render from `T` only.** The exporter seeks each frame with a synchronous\ncommit and may serialise the stage the moment the seek returns, so anything\npainted from an effect or a private animation loop exports stale.\n\n**Never render `\u003CCaptions>`.** Ohad films the export off his phone and adds his\nown Hebrew and English. A burned caption ruins that. Locked on-screen copy is a\nnormal element placed where the composition wants it.\n\n**Set `bg` to the film's ground**, never the `#0b0b0e` default, and never\n`#000000`. A designed world needs somewhere for light to fall off to.\n\nDefine exactly three or four motion helpers up front and use no easing or\ntransform outside them:\n\n```js\nMOTION.slam    Easing.easeOutExpo     arrivals and impacts\nMOTION.snap    Easing.easeOutBack     chips landing, overshoot capped at 6%\nMOTION.drive   Easing.easeInOutQuart  travel, light, drift\nMOTION.settle  Easing.easeOutQuart    the final resolve\n```\n\n## 3. Assign the references. Never average them.\n\nEvery reference gets **one job** and an explicit do-not-copy list. Without the\nline \"do not average the references\" the model blends three styles into mush.\nThis is the single cheapest fix in the whole system.\n\n| Reference | Its one job | Never take |\n|---|---|---|\n| `videos\u002Fvercel-spec\u002Fvercel-spec_1920x1080_60fps.mp4` | transformation, depth, scale contrast, the zero-cut continuous composition | its palette, and never its grey placeholder chrome, which is what the no-kit build produced |\n| Spotify, `videos\u002Frefnces\u002Fmotion\u002FVideo-53319.mp4` | camera and easing: three events, the hold, the settle | its green, its product |\n| Claude, `videos\u002Frefnces\u002Fmotion\u002FoFSdbD1WKeB9fUJJ.mp4` | monochrome identity, typography, restraint | its brand, its interface |\n| `videos\u002F_kits\u002Fduolingo\u002F` | the logo built by assembly, and the one-object-huge-on-dark grammar | its colour, its mascot |\n\nWrite it into the prompt in this shape:\n\n```\nUse X as the PRIMARY authority for: pacing, restraint, match anchors, scale\ncontrast, camera push and pull, depth, the final hold.\nUse Y only for: monochrome identity, typography, exact logo, clarity.\n\nDo not copy X's design. Do not introduce X's colour. Do not average the\nreferences.\n```\n\n### Read the source. Five films, one engine.\n\n`videos\u002F_handoff\u002F_film-sources\u002F` holds the source of **five different finished\nfilms**, all built on the same engine. Read across them. One film teaches you\nthat film; five films on one engine teach you the workflow, which is the thing\nthis skill is actually for.\n\n| File | The film |\n|---|---|\n| `vercel-film.jsx` (49 KB) | the spec commercial that got 321 upvotes on r\u002FClaudeAI |\n| `claude-master.jsx` (68 KB) | the Claude cinematic master, 1920x1080 60fps 20.0s |\n| `claude-film.jsx` (41 KB) | an earlier Claude cut, so you can diff a film against its own revision |\n| `film.jsx` (62 KB) | a third long film |\n| `reel.jsx` (16 KB) and `clip.jsx` (5 KB) | the same grammar at reel and clip length |\n\nSupporting them:\n\n| File | What it gives you |\n|---|---|\n| `animations-v3.jsx` (55,474 bytes) | the engine. **Byte-identical in every one of the three source archives**, verified by hash. It is a fixed substrate, not a per-film thing. Never edit it |\n| `PROMPT-1.md` and `PROMPT-2.md` | the real prompt pair that produced one of these films. The storyboard-gate prompt, then the build prompt |\n| `camera_keyframes.json` | real camera data from a finished film, instead of invented easing |\n| `ui.jsx`, `tweaks-panel.jsx`, `support.js` | the host scaffold the films run inside |\n\n**How to read them, and this is the point.** Do not copy one film. Open at least\nthree and ask what is the *same* in all of them: how a scene list is declared,\nwhere the transformation chain is expressed, how an entrance is timed against\nthe thing it hits, how the last three seconds are built, what never appears.\nThe constants across five films are the workflow. Anything present in only one\nis that film's costume, and copying it is how you get a film that looks like a\ntribute instead of a piece of work.\n\nTwo ratios that hold across them:\n\n**Motion budget, roughly 70\u002F20\u002F10.** Seventy percent of the movement is the\nobject transforming, twenty the camera pushing or pulling, ten the camera\ntravelling. When a film feels busy but dead, this has inverted and the camera is\ndoing the work the object should be doing.\n\n**Build in stages, and gate between them.** Build the first five to eight\nseconds. Render. Look at a contact sheet. Only then continue. A twenty second\nfilm built before anyone looked is a twenty second film nobody can fix, because\nthe defect is in the concept and the concept is now load-bearing.\n\nAlso in the repo, for the current job rather than the general workflow:\n`videos\u002F_handoff\u002Fvercel\u002Freel\u002FStoryboard.dc.html` (the largest storyboard that\nexists), and `videos\u002F_kits\u002Fclaude\u002Fframes\u002F`, twelve stills whose filenames carry\nthe instruction.\n\n## 4. Build the kit before you write the prompt\n\nFilms fail on missing assets, not on prompt length. The Vercel film was built\nfrom an 8,000 word prompt with a camera scale graph, a match anchor chain, an\neasing table and a frame by frame shot list, and every frame of it is grey\nrectangles standing in for text and a hand drawn triangle in place of the real\nmark. The prompt was not too weak. It handed the model nothing real to put in\nthe frame, and placeholders are the only thing a model can draw with no assets.\n\n**Claude Code builds the kit. Claude Design animates it.** That split is the\npipeline.\n\n1. **Measure the reference at 1:1**, one file, never a contact sheet. Write down\n   beats, ground colour, mean luminance, mean saturation, and what physically\n   occupies the frame.\n2. **Brand intake.** Official marks live on the brand's own guidelines\n   subdomain, served gzipped, mixed in with their \"Please Don't\" examples.\n   Render a light and dark contact sheet and look before naming anything.\n3. **Rebuild the product UI as live DOM carrying real strings**, then shoot it\n   at 3x to 5x into flat plates with `_tools\u002Fshoot.mjs`. Interfaces are rebuilt.\n   World art is rendered and composited. Nothing is faked.\n4. **Cut parts, not screens.** A whole screen is a slab, and a slab cannot be\n   animated, only slid. Ship a `parts\u002F` folder of isolated transparent objects\n   at 1600px and up: every button, chip, node, bar, tile, badge, icon. Plus 4K\n   landscape plates for the ground.\n5. **Split the mark into its own layers.** An official SVG splits into layers\n   that stack back pixel perfect. Verify it: stacked against the original, the\n   maximum difference on any pixel should be 1 of 255, which is antialiasing.\n   Then the film **assembles** the mark instead of cutting to it.\n6. **Optimise.** Every file under about 350 KB, the whole kit under about 4 MB,\n   so it survives being carried into a Claude Design project.\n7. **Open every file and log its defects in `KIT.md`.** Clipped buttons, missing\n   alpha, wrong aspect, white emblems that vanish on a white card. Every defect\n   you found goes in the prompt under KNOWN KIT DEFECTS with what the film must\n   do about it. If you found none, say you opened every file and found none.\n\nAspect is a real defect class. Rendering 1200x800 chips into a 224x160 box\nstretches every flag horizontally by 7%, which is subtle enough to survive\nreview and wrong in every frame.\n\nPublished artifacts run under a strict CSP that blocks every external host, so\nnothing in a kit may point at a CDN. Everything is a project file or a data URI.\n\n## 5. Write `OM_SCENES` first\n\nIt is the outline, and the section names become the cue vocabulary the rest of\nthe brief speaks in. Six sections is a good film. Ten is a slideshow.\n\nThe Vercel film, verbatim, as the shape to aim at:\n\n```\nThe Blade 4.6 · Aperture 2.0 · Preview 2.0 · Production 2.25 ·\nEverywhere 2.25 · Scale 2.25 · Convergence 2.0 · Lockup 1.75\n```\n\nEach `desc` is one sentence naming a physical event, not a mood. \"The triangle\nbecomes an aperture, the camera pushes through it and pulls back into a full\nproduct preview\" is a `desc`. \"A sense of speed and possibility\" is not.\n\n## 6. The transformation chain, as match anchors\n\nName the one object that carries the film and forbid breaking it.\n\n> Every scene inherits one visible object, shape, line or motion vector from the\n> previous scene. Never: scene fades out, empty background, next scene fades in.\n> The incoming beat is visible while the outgoing is still 25 to 50% visible.\n\nWorked examples from films that shipped:\n\n- **Duolingo.** One green circle never leaves the screen: Duo's mark, then the\n  lesson node, then the thing every name collapses into, then Duo again.\n- **Spotify.** The track *Midnight Signal* is printed on the player bar file and\n  on the phone file, so the same song moves bar to desktop to phone to lineup.\n- **Emulo.** The faceless silhouette is on screen at T=0 and in all six\n  sections, and the payoff is the solid robot arriving in front of it so the two\n  together are exactly the shipped mark.\n\n**The colour rule that comes with this.** An object that will become an official\nlayer corrects to **that layer's** colour, never to the brand's published one.\nDuolingo's `duo-01-field.svg` is filled `#50C800` while Feather Green `#58CC02`\nis the guidelines and product value. Correcting to the published green would\nhave stepped colour on the exact frame that must be invisible. The file wins\nover the guidelines page.\n\n## 7. The prompt\n\nFill this. Delete nothing structural. A brief that is long and contains no\nfilenames is the wrong brief.\n\n```text\nYou are directing a \u003CN> second \u003Cvertical|landscape> spec commercial for \u003CBRAND>,\nbuilt on the animations-v3 composition engine. Cinematic. Few objects, large, lit.\n\nFORMAT. WRITE IT LITERALLY.\n\n  \u003CCompositionStage width={\u003CW>} height={\u003CH>} bg=\"\u003Cground hex>\"\n                    scenes={window.OM_SCENES} playback={window.OM_PLAYBACK}>\n\n\u003CW> wide by \u003CH> tall. If your composition is \u003Cwider than it is tall | not\n\u003CW>x\u003CH>> you have failed before anything else is judged.\n\nTHE ONE LAW\n\nEvery object on screen is a file from the list below. The timeline never draws a\n\u003CBRAND> screen, never draws the mark, never stands text in with a grey\nrectangle, never approximates imagery with a gradient. It places, masks, crops,\nlights and moves those files.\n\nIf a beat needs an object the kit does not contain, say so and stop. Do not\nsubstitute a div. If you cannot resolve the paths, tell me before building\nanything rather than drawing replacements.\n\nREFERENCES\n\n\u003Cone job per reference, with a do-not-copy list. Then: do not average them.>\n\nTHE ASSETS\n\n  \u003Cevery file, its pixel size, and one line on what it is for. Name which\n   element level parts exist and what they are meant to do on their own.>\n\nTHE BAR, AND WHAT IT RULES OUT\n\n\u003Cthe genre exclusions, not craft notes. Genre exclusions are what the model\nalready understands: six disconnected slides, a SaaS product tour, a dashboard\nmontage, a conference presentation, a developer tutorial, a browser screen\nrecording, a wall of technology logos, a generic futuristic AI advertisement.>\n\n- no paragraphs, no terminal dumps, no reports, no lists of findings. If a frame\n  needs more than about eight words to be understood, the frame is wrong\n- no charts, no graphs, no dashboards, no code editors\n- no neon, no glow, no purple, no gradient meshes, no particle fields\n\nAt most ONE object carries text in any frame, and that object is a real thing\nwith edges, not a caption floating in space.\n\nGROUND AND LIGHT\n\nMeasured off the reference film, not chosen:\n\n  frame average sits between \u003Chex> and \u003Chex>, \u003Cchannel> dominant\n  mean luminance \u003Cn> of 255\n  mean saturation \u003Cn>\n\nThe base is \u003Chex> and never pure black. One warm key light, \u003Cposition>, fixed.\nEvery object carries a contact shadow and a cast shadow. Depth is blur and\nscale. Bloom on \u003Cnamed elements> only. One grain pass at low opacity.\n\nLOCKED COPY\n\n  \u003Cthree or four lines, nothing else>\n\nNo feature list, no metric, no URL, no invented tagline, no subtitle under the\nlogo. Set in \u003Ctypeface, and say plainly if it stands in for a licensed brand\nfont>. Revealed through a horizontal mask, never typed letter by letter.\n\nTHE ENGINE\n\n\u003Cscript>window.OM_SCENES = '[\n {\"name\":\"\u003CName>\",\"dur\":\u003Cs>,\"desc\":\"\u003Cone plain sentence>\"},\n ...\n]';\u003C\u002Fscript>\n\u003Cscript>window.OM_PLAYBACK = '{\"mode\":\"loop\"}';\u003C\u002Fscript>\n\nKey everything to T from useComposition() against those cues. One continuous\ncomposition, zero cuts.\n\n  MOTION.slam    Easing.easeOutExpo     arrivals and impacts\n  MOTION.snap    Easing.easeOutBack     landings, overshoot capped at 6%\n  MOTION.drive   Easing.easeInOutQuart  travel, light, drift\n  MOTION.settle  Easing.easeOutQuart    the final resolve\n\nNothing eases outside those four. No elastic, no Back curve on an official brand\nfile, no setTimeout, no requestAnimationFrame, no useEffect painting, no wall\nclock, no random, no CSS keyframes running on their own. Render everything from\nT so any seek reproduces its frame. Never render \u003CCaptions>. Never edit\nanimations-v3.jsx.\n\nTHE ANCHOR\n\n\u003Cthe one object physically present across beats that carries the film. Name it\nand forbid breaking it.>\n\nTHE SECTIONS\n\n\u003Cone block per OM_SCENES entry. Each block carries:\n   what is on screen and which file\n   coverage as a percentage of frame width for every hero object\n   what causes the next thing to happen\n   a \"Do not:\" line specific to this beat>\n\nCAMERA\n\n\u003CN> events and nothing else moving the frame:\n\n  1. \u003Ccue range>   \u003Cwhat>\n  2. \u003Ccue range>   \u003Cwhat>\n\nBetween them the camera holds and the objects do the work. No drifting, no\nbreathing zoom, no shake, no orbit, no continuous parallax.\n\nMotion budget:\n  60% local object and geometric transformation\n  20% surface, lighting, parallax, environment\n  20% camera scale and reframing\n\nWHERE THE COLOUR COMES FROM\n\n\u003Cname the objects allowed to be saturated, and say the ground picks up their\ncolour. Forbid coloured light with no object making it.>\n\nMOTION SHAPE, MEASURED\n\n\u003Cthe numbers from §8. State the reference figures and the floor this film must\nclear.>\n\nKNOWN KIT DEFECTS\n\n  \u003Cevery defect you found opening the files, and what the film must do about it>\n\nFAILURE CONDITIONS\n\n\u003C15 to 25 lines, each a specific observable defect for THIS film. §10.>\n\nBEFORE YOU BUILD, RETURN AND STOP\n\n1. the CompositionStage line, so I can see the dimensions\n2. the OM_SCENES literal\n3. a \u003CN> frame storyboard, and per frame: which asset, its coverage as a\n   percentage of frame width, how many elements are moving, and the WORD COUNT\n   on screen. Any frame over eight words is a defect, tell me and fix it\n4. your impact list with times\n5. confirmation the anchor object is on screen in every section\n6. anything you cannot verify\n\nDo not animate until I approve.\n```\n\nThen `PROMPT-2.md`, the approval:\n\n```text\nApproved. Before you build, confirm these four:\n\n  \u003Cfour checks specific to this film, each one a thing that was measured off the\n   reference and could quietly go missing>\n\nNow build it from the approved storyboard. Deterministic, keyed to T, kit files\nonly. When it is running, show me \u003Cthe cue boundaries> at full size before\nanything else.\n```\n\n## 8. The motion floor, measured\n\nZero cuts alone reads dead. Cut rate and energy are two separate specifications\nand a brief has to carry both.\n\nFrame to frame motion energy, sampled at 15fps:\n\n| Film | mean | peak | frames above 4.0 | near-still | cuts |\n|---|---|---|---|---|---|\n| Vercel, the reference | 2.378 | 13.005 | 22.0% | 26.2% | zero |\n| Duolingo v1 | 6.557 | | 40.2% | | zero |\n| Duolingo v2, rejected | 2.565 | 76.545 | 13.6% | **50.2%** | zero |\n\nRead the v2 row. Half of that film is frozen. The mean looks acceptable only\nbecause a handful of enormous transitions drag it up, and the peak is six times\nthe reference. That is the signature of a slideshow with big transitions between\nstatic cards. A motion designer produces the opposite shape: a lower peak and\nfar less stillness, because something is always moving.\n\nThe floor to write into a prompt:\n\n- near-still frames below 26%\n- no single frame above 25 energy\n- frames above 4.0 above 22%\n- at least two elements mid-transformation at every moment that is not a hold\n- a growing hero gains at least 35% of frame width per 0.5s\n- holds are named and counted. Two or three in a film, plus the final lockup\n\n**The freeze test.** If a frame's motion would survive freezing every gradient\nin it, the motion is real. A continuously drifting pool or breathing gradient\nlowers the near-still number without adding one frame of real motion. That is\nthe metric moving, not the film, and we have shipped a bad video that exact way\nbefore by optimising the measurement instead of the thing it measured.\n\n**Luminance is one film or two.** Measured on a rejected build: greetings 19.9,\ntransition 75.1, UI middle 226.2, outro 180.4. A 19.9 to 226.2 span is not a\ngrade change, it is a different film glued between two designed worlds. Name one\nground for the whole piece and a ceiling for the brightest section.\n\n**Coverage stops things coming out tiny.** Hero object 25% to 45% of frame width\nas a floor, and higher on payoff beats. In the rejected middle the nodes sat at\nroughly 6%, which is why nothing read and nothing felt like it was moving.\n\n**The source material never leaves the middle.** Measured on two boards that came\nback: the product was off screen for 72% and 68% of running time. Both opened on\nthe real product, spent the middle on coloured rectangles, and returned for a\nclosing beat. That is a template reel with a product bookend, and it is the\nsingle reason both read as cheap. State a floor as a percentage of frame area and\nput \"any beat takes place on a bare ground\" in the failure conditions.\n\nThe rule is about **chrome**, not content. Name the product's own components off\nthe screenshot, the sidebar, the tab strip, the chip row, the player bar, and\nrequire them present by name. The strongest form: let the product's own controls\ncause the film. A chip being struck is what recolours the page. Then collision,\ncausality and real product behaviour are the same move, and the film cannot be\ndescribed without naming the product.\n\n## 9. What physically happens in the beat\n\nEverything in section 8 can be green on a film that comes back rejected. The\nverbatim verdict on one that was: \"its just boring words with ok animations\ninstead of showing crazy animation crazy things happening with animation like\nyou did with the hook with the puppet inside the chatbox ui.\" That build cleared\nthe structure, the coverage floors and the energy floors. It was still a\nsequence of phrases arriving over a lit ground.\n\nRead `videos\u002F_handoff\u002F_film-sources\u002FITERATION-LOG.md` before you write a brief.\nIt is the only file that records what was rejected, in his words, next to what\nreplaced it. Finished code cannot tell you the words were there first.\n\n### The per-beat test\n\nFor every `OM_SCENES` entry, write three lines before anything is built. If line\n2 is empty, the beat is a card, and a card reads as boring however it eases in.\n\n1. the phrase on screen\n2. **a body** doing something, named with a verb: dives, hammers, hops, is pulled off its feet\n3. the surface it does it to, named as a kit file or a rebuilt UI part\n\n**A body is a character or an object with mass. A word is not a body.** Letters\nthat hammer, shatter or fly are still kinetic typography, which is the exact\nthing that got rejected. If line 2 names the phrase itself, the test fails.\n\nRejected: \"Create completely\" over a fixed box at `left: 1090, top: 224,\nwidth: 470, height: 630`, whose children only widen in place\n(`claude-film.jsx:530-537`). Approved: nine blocks fly in from\n`left: tx + Math.cos(a) * 1000 * (1 - p)`, each carrying `blur(6 * (1 - p))` and\n`rotate((1-p) * 26deg) scale(.7 + .3*p)` on a 52ms stagger, while a body hammers\nalongside and squashes on every landing (`claude-master.jsx:1012-1044`).\n\nNote what separates them, because it is not the count of pieces. Nine flying\nrectangles with no body beside them is still the rejected beat with more parts.\n\n### Ban grow-in-place\n\nFixed `left` and `top` with `width`, `height` or `opacity` animating inside the\nobject's own bounding box is what a model writes by default, because it is safe\nand can never collide. Every hero entrance carries position, rotation, blur and\nscale at once, and starts **at least 0.35 of stage width outside where it\nlands**. Express every distance as a fraction of stage width, never in raw\npixels: the films are authored at 1920x1080 and the rebuilt UI at 2560x1600, so\na pixel figure copied between them is wrong by a third.\n\nAn object that travelled has a before-state the viewer never saw, so its arrival\ncarries information. An object that grew was always there.\n\n### The character must be attached to real geometry\n\nDerive the body's transform from the target object's live animated values every\nframe, including rotation:\n\n```\nconst rad = bars[0].rot * Math.PI \u002F 180;\ncx0 = bars[0].x - Math.cos(rad) * bars[0].w \u002F 2;\ncy0 = bars[0].y - Math.sin(rad) * bars[0].w \u002F 2 - 34;\nrotc = bars[0].rot - 90;\n```\n\nThat expression is the tip of the rotated bar, and `rot - 90` keeps the body\nstanding perpendicular on it (`claude-master.jsx:833-838`). Generate paths from\nthe target's own data too, so a climb right to left is an emergent property of\nthe chart rather than an authored path that happens to match.\n\n**The reference film also gets this wrong, and you should see where.** In the\nresearch dive the source cards compute `cy = -180 + 1460 * easeInOutCubic(rDive)`\nwhile the critter three lines below is `y = -200 + 1500 * easeInOutCubic(rDive)`.\nTwo independent expressions off one progress variable, 20px apart at the start\nand 60px at the end. Delete the critter and every card lights exactly the same.\nIt reads acceptably and it is still a sticker, and it will drift the first time\nanything is retimed. Couple to the object, not to a shared clock.\n\n### Simulated UI, operated at speed\n\nHe asked for this by name: \"i want like in the reference video when it shows like\na mimic ui fast paced doing on it with the mouse and text and stuff.\" Section 7\nbans faking a screen as static art. It does not ban rebuilding one. **Never draw\na grey rectangle standing in for a product screen. Rebuild the UI as live DOM,\none element per part, and operate it.** When a film has a product in it, it must\ncarry at least one operated-UI beat.\n\n- **Rebuild, do not screenshot.** `ui.jsx` builds sidebar, top bar, greeting, six\n  shortcut tiles and a six-card carousel as separate positioned divs. A\n  screenshot can only be pushed and cropped. A DOM rebuild lets one card lift.\n- **The cursor is an object with momentum**, and every key carries its intent in\n  a comment. `film.jsx` BALL_RAW is 39 keyframes: `{ t: 2.80, x: 812, y: 872 }`\n  grabs the progress knob, `{ t: 3.86, x: 960, y: 836 }` punches play. A failure\n  is recorded in the same file: easeInOut on consecutive keys made the roll stop\n  and restart at every card. Use one ease-out across the span and let friction\n  decelerate.\n- **Sample the path, then derive everything from one number.**\n  `const bPrev = ballAt(T - 0.022); const speed = Math.hypot(vx, vy)` feeds\n  squash `clamp(speed\u002F5200, 0, .46)`, heading `Math.atan2`, motion blur\n  `clamp(speed\u002F900, 0, 9)`, trail opacity and audio gain. Hand-keying five of\n  those separately is how a fast move ends up mismatched.\n- **Every UI state change is caused by an impact**, and the two tables share\n  timestamps: `IMP = [0.30, 2.62, 3.86, 4.24, ...]` against\n  `HOME_TRIG = [4.24, 4.52, 4.80, 5.08, ...]`, each region a 40ms staggered\n  cascade off its own hit. A screen that assembles on a schedule is a slideshow.\n  A screen that answers 300ms after something hits it is alive.\n- **One impact function drives shake, camera bump and blur together**, sign\n  flipping on alternate hits: `Math.pow(1 - d\u002F.34, 2.1) * Math.sin(d*108) *\n  (i % 2 ? 1 : -1)`, consumed as `cam.s *= 1 + sh*.022`, `shakeX = sh*11`,\n  `mBlur = min(abs(sh)*4, 7)`. Fifteen hits in sixteen seconds, none of them\n  feeling repeated.\n- **A control being operated reads its value off the cursor**, it is not keyed\n  alongside it: `scrubF = clamp((b.x - TR0)\u002F(TR1 - TR0), 0, 1)`. Two objects\n  keyed in parallel drift a few pixels and the shot reads fake.\n- **A click is three asymmetric ramps**: 80ms down, 20ms held, 120ms up, with the\n  button swelling 12% starting 160ms before contact. Symmetric press animation\n  reads as a CSS demo.\n- **Passing near a thing knocks it, by distance not by keyframe**:\n  `knock = rolling * max(0, 1 - abs(b.x - CARD_CX(i))\u002F120)`. Hand-authored\n  reaction windows break the moment you retime the roll. A falloff survives it.\n- **Dim the interface under the copy, never cut away from it.** `DIM` keys\n  brightness across the whole UI, 1.0 down to 0.42 then 0.26, plus a corner\n  scrim. The app stays visibly running behind the words.\n\n### Delete these from the background\n\nThe fix for a boring beat is more happening in the middle of the frame and less\nat the edges. Deleted from the approved build: giant background words, the\nword-storm, decorative hairlines, ambient panels behind the hero, and the light\nfield cut to a single soft wash. `STORM` is still declared empty at\n`claude-master.jsx:192-193` with its renderer live, which is what deleting it\nproperly looks like.\n\n### Occupied holds\n\nSection 12 law 5 fixes the camera to three moves. This is its other half: **fill\nevery camera lock with a body doing something.** All three locks in the approved\nfilm are occupied, and the longest one is the busiest stretch in the picture.\nWhen the frame holds, the content earns the motion.\n\n### Gate the weakest beat, not only the opening\n\nThe eight-second gate in the next section catches a bad opening. It cannot catch\na strong opening followed by three flat beats, which is exactly what was rejected\nhere: \"the intro very strong... the only parts i dont like is the think create\nhandoff.\"\n\nSo after the opening passes, render the **capability stretch** and look at that\ntoo. Do not self-grade it. Put the contact sheet in front of the person who asked\nfor the film and ask which seconds are the worst. Their answer is the list.\nRebuild those beats against the per-beat test above, and only then build the rest.\n\n\n## 10. Build it, look at it, then continue\n\nDo not build the whole film and then find out.\n\n1. **Build the first 5 to 8 seconds only.** Wire `build\u002Findex.html` and\n   `build\u002Fpiece.jsx` against the kit. The host scaffold is fixed, and\n   `videos\u002F_kits\u002Fduolingo\u002Fbuild\u002F` is the working copy to clone:\n\n```html\n\u003Cscript>window.OM_SCENES = '[...]';\u003C\u002Fscript>\n\u003Cscript>window.OM_PLAYBACK = '{\"mode\":\"loop\"}';\u003C\u002Fscript>\n\n\u003Cscript src=\"..\u002F..\u002Fnode_modules\u002Freact\u002Fumd\u002Freact.development.js\">\u003C\u002Fscript>\n\u003Cscript src=\"..\u002F..\u002Fnode_modules\u002Freact-dom\u002Fumd\u002Freact-dom.development.js\">\u003C\u002Fscript>\n\u003Cscript src=\"..\u002F..\u002Fnode_modules\u002F@babel\u002Fstandalone\u002Fbabel.js\">\u003C\u002Fscript>\n\u003Cscript type=\"text\u002Fbabel\" src=\"..\u002F..\u002F_engine\u002Fanimations-v3.jsx\">\u003C\u002Fscript>\n\u003Cscript type=\"text\u002Fbabel\" src=\".\u002Fpiece.jsx\">\u003C\u002Fscript>\n\n\u003Cscript type=\"text\u002Fbabel\">\n  \u002F* ?still=1 freezes the transport so the capture harness can seek\n     deterministically. The shipped composition autoplays as normal. *\u002F\n  const still = new URLSearchParams(location.search).has('still');\n  ReactDOM.createRoot(document.getElementById('root')).render(\n    \u003CCompositionStage width={1080} height={1920} bg=\"#06120A\"\n                      autoplay={still ? 'false' : 'true'}\n                      loop={still ? 'false' : 'true'}\n                      scenes={window.OM_SCENES} playback={window.OM_PLAYBACK}>\n      \u003CPiece \u002F>\n    \u003C\u002FCompositionStage>\n  );\n\u003C\u002Fscript>\n```\n\n   `piece.jsx` opens with one path constant and the four motion helpers, and\n   nothing else in the file knows where the kit lives:\n\n```js\nconst BASE = '..\u002FATTACH\u002F';   \u002F\u002F the ONLY line that changes when assets move\n\nconst MOTION = {\n  slam:   (o) => animate(Object.assign({ ease: Easing.easeOutExpo },    o)),\n  snap:   (o) => animate(Object.assign({ ease: Easing.easeOutBack },    o)),\n  drive:  (o) => animate(Object.assign({ ease: Easing.easeInOutQuart }, o)),\n  settle: (o) => animate(Object.assign({ ease: Easing.easeOutQuart },   o)),\n};\n```\n\n2. **Shoot it and look.** Snapshots cost seconds, renders cost 25 minutes.\n\n```bash\nnode videos\u002F_kits\u002F_tools\u002Fframes.mjs \u003Cproject> 0,0.6,1.4,2.2,3.0,4.1,5.2,6.4,7.6\n```\n\n   The tool prints the stage size and duration, flags a wrong aspect, and prints\n   every page error under `PAGE ERRORS:`. A single\n   `Failed to load resource: net::ERR_FILE_NOT_FOUND` means the film is drawing\n   nothing where an asset should be, and it is blocking. Fix `BASE` or the kit\n   path before you judge a single frame.\n\n   The seek listener is on the **stage element**, not on `document`; dispatching\n   on `document` silently does nothing and every frame comes back identical.\n   The stage autoplays, so seek before you shoot.\n3. **Gate on quality before continuing.** Open the frames at 1:1, not as a\n   contact sheet. If the first 8 seconds are not the level, nothing after them\n   will be, and every hour spent on the back half is spent twice.\n4. Only then build the rest.\n5. **Diff the template against the generated file** whenever another tool has\n   touched the project.\n\n## 11. Failure conditions\n\nGeneric failure conditions catch nothing. Write 15 to 25 lines, each a specific\nobservable defect for **this** film. These are the ones that recur, as a\nstarting set to specialise:\n\n- the composition is not `\u003CW>x\u003CH>`\n- any object on screen was drawn rather than placed\n- the ground is pure black anywhere\n- a frame is empty between beats, or a beat takes place on a bare ground\n- any frame contains a paragraph, a report, a terminal dump, or a list\n- more than one object carries text in the same frame\n- a frame needs more than eight words to be understood\n- the anchor object is absent from any section\n- the mark or lockup is stretched, skewed, rotated, glowed, recoloured, extruded\n  or animated\n- a gradient stands in for real imagery\n- the camera moves outside its named events\n- the final hold is shorter than 1.5 seconds, or the mark is still moving on the\n  final frame\n- the film cuts, or `\u003CCaptions>` is rendered\n- `animations-v3.jsx` was edited\n- it reads as a product tour rather than a film\n\n## 12. Verify, with output\n\nA green command is not visual approval. Report the numbers, do not estimate\nthem.\n\n```bash\nnode videos\u002F_kits\u002F_tools\u002Fframes.mjs \u003Cproject>\n```\nstage dimensions, duration, and the contact sheet. Wrong aspect fails here.\n\n```bash\nffprobe -v error -select_streams v:0 -show_entries stream=width,height,r_frame_rate,bit_rate,duration -of default=nw=1 \u003Cexport>.mp4\n```\nthe floor for a landscape film is 1920x1080, 60fps, 4.69 Mbps.\n\n```bash\nffmpeg -i \u003Cexport>.mp4 -vf \"select='gt(scene,0.2)',showinfo\" -f null - 2>&1 | grep -c showinfo\n```\ncut count. A promo should return zero. `scene_score` measures nothing else on a\nzero-cut film, so it is a cut detector and never a motion metric.\n\nMotion energy, near-still percentage, peak and per-section mean luminance are\nmeasured off the export, not estimated, and reported next to the floors in §8.\n\nBrowser frames carry zero motion blur, so an export reads as stop-motion next to\nthe preview. Render at 240fps and `tmix=frames=4` down to 60. Smoothness and\nsharpness are separate problems: duplicate frames, BT.601 versus BT.709, chroma\nand pixel ratio are the measured causes, and `-tune animation`, `-tune grain`\nand `gradfun` are all wrong advice.\n\nFor a vertical film the Instagram feed crops the top 285 px, so nothing load\nbearing goes there.\n\n## 13. The laws that cost real renders\n\nEach of these was paid for once. None of them is a preference.\n\n1. **Reference roles are assigned, never averaged.** Vercel for transformation\n   and depth. Spotify for camera and easing. Write \"do not average the\n   references\" verbatim.\n2. **Build the first 5 to 8 seconds and gate on quality before continuing.**\n3. **Never fix a concept problem with easing.** If a transition reads as a cut,\n   the thing you animate and the thing you land on are two different objects.\n   No curve repairs that. Split the mark into layers and assemble it.\n4. **A flash cannot replace geometry in a transition.** Brightness that hides a\n   missing seam is a defect. Every luminance jump names the object state,\n   evidence or medium change it accompanies.\n5. **The camera moves once, at the moment that matters.** Three events in a 12\n   second film, and nothing else moving the frame. Between them the camera holds\n   and the objects do the work.\n6. **Objects must exceed the frame.** Everything safely centred reads as\n   scaling, not as camera movement. The player bar at its peak is wider than the\n   frame. The screen fills past its edges.\n7. **Zero cuts alone reads dead.** Energy is specified separately from cut rate,\n   with the numbers in §8.\n8. **Rendered assets, not browser-drawn shapes.** A div is not a card, a\n   gradient is not album art, a triangle you drew is not the mark. If the kit\n   does not have it, stop and say so.\n9. **Nothing fades in.** Every entrance hits something and the impact causes the\n   next beat. A particle that is not consumed by the letter it belongs to is\n   litter, not a cause. Either it causes the thing or it is not there.\n10. **2D, never 3D.** The cinematic look is flat layer compositing. The camera\n    push is `scale()` on a container and depth is blur plus scale. 3D scenes are\n    what produce the game look and the lag. Flat compositing is not flat\n    lighting: name a light source with a position, give grounds a falloff, give\n    every object a contact shadow and a cast shadow.\n11. **Every number on screen is a real published figure**, read on a stated date\n    and hardcoded. Never invent one, round one, animate a count up from zero, or\n    turn it into a chart.\n12. **Do not open a prompt with an essay about why the last attempt failed.**\n    These prompts do not apologise or narrate history. They specify. Do not\n    describe a mood where a number will do. Do not write a scene without a\n    coverage percentage.\n\n## 14. Working files\n\n| What | Where |\n|---|---|\n| the engine and its contract | `videos\u002F_kits\u002F_engine\u002F` |\n| kit split, brief template, tools | `videos\u002F_kits\u002FREADME.md`, `_BRIEF-TEMPLATE.md`, `_tools\u002F` |\n| the 26 section anatomy and the two gates | `docs\u002FMASTER-PROMPT-STANDARD.md` |\n| worked prompts that shipped | `videos\u002F_kits\u002F{spotify,duolingo,emulo}\u002FPROMPT-*.md` |\n| the correction rounds, which is where the lessons are | `videos\u002F_kits\u002Fduolingo\u002FPROMPT-IMPROVE*.md`, `PROMPT-V3*.md` |\n| the reference film | `videos\u002Fvercel-spec\u002F` |\n| short-form, a different job | `videos\u002FREADME.md` and its router |\n","# Emulo video\n\nYou take a brief and hand back a film. Not a prompt, a film: the prompt that\nbuilt it, the composition files, and frames somebody can look at.\n\n## 0. Load the profile before you write a word\n\n1. Locate `emulo.py` two directories above this skill; fall back to `.\u002Femulo.py`\n   only for a direct repo checkout.\n2. Store the resolved absolute path as `EMULO_PY`, then run\n   `python \"$EMULO_PY\" plugin profile-path --domain video`.\n3. If it exits nonzero, give its exact recovery instruction and stop loading\n   personal context. Never substitute a generic creative persona.\n4. Read every returned path completely. First is the core working profile,\n   second is the video profile. Both outrank anything below.\n5. If the repo has `videos\u002FREADME.md`, it routes short-form work.\n   **This skill owns long-form and commercial film only.** A vertical Reel that\n   is a designed film, not a screen recording, is this skill.\n\n## 1. What you hand back\n\n**A folder the person can upload to Claude Design and get a film.** That is the\ndeliverable. Not a prompt in a chat message, not a description of a film, not a\nlist of ideas. A folder.\n\nBuild it at `videos\u002F_kits\u002F\u003Cbrand>\u002F` in this exact shape, because the shape is\nwhat makes it work:\n\n| # | Artefact | Why it is there |\n|---|---|---|\n| 1 | `PROMPT.md` | the brief. One page, in the engine's language |\n| 2 | `START-HERE.md` | **the upload order.** Which files, in which order, in one message. Without it the person guesses and the guess is wrong |\n| 3 | `ATTACH\u002F` | every asset the film needs, including `animations-v3.jsx` itself |\n| 4 | `frames\u002F` | reference stills whose **filenames carry the instruction** |\n| 5 | `KIT.md` | the manifest: every file, its pixel size, its known defects |\n\nOptionally, and only after the four above are finished: `build\u002Fpiece.jsx` plus\n`build\u002Fframes\u002F`, the film built and rendered locally so you can look at it before\nanyone else does. That is verification, not the deliverable. A kit with no local\nbuild still ships. A local build with no kit does not.\n\n### The three things that decide whether the folder works\n\n**Ship the engine inside `ATTACH\u002F`.** `animations-v3.jsx` goes in the folder with\nthe assets. Claude Design needs the runtime it is being asked to write against.\nLeaving it out is the most common way a good prompt produces a bad film.\n\n**Isolated parts, never a screenshot of a whole screen.** One object per file,\ntransparent, 1600px minimum on the long edge, plus 4K plates at the film's aspect\nratio. A whole screen dropped in is a slab and reads as broken. Claude Design\nfilms fail on missing assets, never on prompt length.\n\n**Put the instruction in the filename.** `REF-VERCEL_03_object-became-the-mark.png`\nteaches; `ref3.png` does not. The person uploading them keeps the names, so every\nfile carries its own lesson into the context.\n\n### Name what is missing. Never invent a substitute.\n\nIf an asset does not exist, say so in `PROMPT.md` under its own heading, and say\nwhat to do instead. A brief that admits two missing assets is usable. A brief that\nquietly fakes them produces a film with two broken beats and no way to tell why.\n\n### Every prompt contains, in this order and by name\n\n1. **the brief in the engine's language**: `OM_SCENES`, `CUES`, named `Easing`\n2. **the transformation chain, as match anchors**: what becomes what\n3. **the asset list**, with real filenames, so no beat is blocked on a missing part\n4. **the failure conditions for this specific film**, not generic ones\n5. **the verification commands**, so the claim \"it works\" has an output behind it\n\nA worked example of the whole shape is `videos\u002F_kits\u002Fclaude\u002F`: brief, upload\norder, 31 assets with the official mark split into stackable layers, twelve\ninstruction-named frames, and two missing assets named rather than faked.\n\n## 2. The engine\n\n`animations-v3.jsx` is the Claude Design runtime. Read\n`videos\u002F_kits\u002F_engine\u002FREADME.md` once, then work from this table.\n\n**Never edit `animations-v3.jsx`.** Its own header says re-running\n`copy_starter_component` overwrites it. Every improvement made there is\ndestroyed on the next host copy. The leverage is in the brief.\n\n| Use | Never use |\n|---|---|\n| `Easing.easeOutExpo` and the named curves | `cubic-bezier(...)`, any CSS string |\n| `OM_SCENES` named sections with `dur` | absolute frame numbers as the structure |\n| `CUES.SectionName` to key choreography | wall clock, `setTimeout`, `requestAnimationFrame` |\n| `animate({from, to, start, end, ease})(T)` | `useEffect` painting anything visible |\n| `interpolate([...], [...], ease)(T)` | CSS keyframes running on their own |\n| `\u003CShot from to>` for a hard cut | conditional mounting per section |\n| one `\u003CCompositionStage>` as the only exportable root | the exportable attribute anywhere else |\n\nThe model in one sentence: the animation is one element tree rendered as a pure\nfunction of one authored time axis, so nothing mounts or unmounts at a section\nboundary and any object can persist, move or morph across the whole film by\nordinary interpolation. That is why this engine suits the work. Zero cuts, one\nobject transforming across the entire film, and the collision law are its\ndefaults instead of things a brief has to fight for.\n\n```jsx\n\u003CCompositionStage width={1080} height={1920} bg=\"#161309\"\n                  scenes={window.OM_SCENES} playback={window.OM_PLAYBACK}>\n  \u003CPiece \u002F>          \u002F\u002F ONE component, the whole film\n\u003C\u002FCompositionStage>\n```\n\n```js\nuseComposition() -> { T, CUES, time, duration, authoredTotal, playing }\n```\n\n`OM_SCENES` and `OM_PLAYBACK` are JSON string literals in plain inline\n`\u003Cscript>` tags of the main document, not `type=\"text\u002Fbabel\"`, passed through\nuntouched. Every entry needs a `desc`, one plain sentence, because the user\nreads it in the timeline popover. Never hand-set `nat`.\n\n```html\n\u003Cscript>window.OM_SCENES = '[{\"name\":\"Strike\",\"dur\":2.5,\"desc\":\"The mark lands and throws green across the ground\"}]';\u003C\u002Fscript>\n\u003Cscript>window.OM_PLAYBACK = '{\"mode\":\"loop\"}';\u003C\u002Fscript>\n```\n\n**Easing, the complete list.** `linear`; `easeIn\u002FeaseOut\u002FeaseInOut` for `Quad`,\n`Cubic`, `Quart`, `Expo`, `Sine`; `easeInBack`, `easeOutBack`, `easeInOutBack`;\n`easeOutElastic`. Back and elastic overshoot, so they are the game-feel curves\nand belong nowhere near a logo or an official brand file.\n\n**Render from `T` only.** The exporter seeks each frame with a synchronous\ncommit and may serialise the stage the moment the seek returns, so anything\npainted from an effect or a private animation loop exports stale.\n\n**Never render `\u003CCaptions>`.** Ohad films the export off his phone and adds his\nown Hebrew and English. A burned caption ruins that. Locked on-screen copy is a\nnormal element placed where the composition wants it.\n\n**Set `bg` to the film's ground**, never the `#0b0b0e` default, and never\n`#000000`. A designed world needs somewhere for light to fall off to.\n\nDefine exactly three or four motion helpers up front and use no easing or\ntransform outside them:\n\n```js\nMOTION.slam    Easing.easeOutExpo     arrivals and impacts\nMOTION.snap    Easing.easeOutBack     chips landing, overshoot capped at 6%\nMOTION.drive   Easing.easeInOutQuart  travel, light, drift\nMOTION.settle  Easing.easeOutQuart    the final resolve\n```\n\n## 3. Assign the references. Never average them.\n\nEvery reference gets **one job** and an explicit do-not-copy list. Without the\nline \"do not average the references\" the model blends three styles into mush.\nThis is the single cheapest fix in the whole system.\n\n| Reference | Its one job | Never take |\n|---|---|---|\n| `videos\u002Fvercel-spec\u002Fvercel-spec_1920x1080_60fps.mp4` | transformation, depth, scale contrast, the zero-cut continuous composition | its palette, and never its grey placeholder chrome, which is what the no-kit build produced |\n| Spotify, `videos\u002Frefnces\u002Fmotion\u002FVideo-53319.mp4` | camera and easing: three events, the hold, the settle | its green, its product |\n| Claude, `videos\u002Frefnces\u002Fmotion\u002FoFSdbD1WKeB9fUJJ.mp4` | monochrome identity, typography, restraint | its brand, its interface |\n| `videos\u002F_kits\u002Fduolingo\u002F` | the logo built by assembly, and the one-object-huge-on-dark grammar | its colour, its mascot |\n\nWrite it into the prompt in this shape:\n\n```\nUse X as the PRIMARY authority for: pacing, restraint, match anchors, scale\ncontrast, camera push and pull, depth, the final hold.\nUse Y only for: monochrome identity, typography, exact logo, clarity.\n\nDo not copy X's design. Do not introduce X's colour. Do not average the\nreferences.\n```\n\n### Read the source. Five films, one engine.\n\n`videos\u002F_handoff\u002F_film-sources\u002F` holds the source of **five different finished\nfilms**, all built on the same engine. Read across them. One film teaches you\nthat film; five films on one engine teach you the workflow, which is the thing\nthis skill is actually for.\n\n| File | The film |\n|---|---|\n| `vercel-film.jsx` (49 KB) | the spec commercial that got 321 upvotes on r\u002FClaudeAI |\n| `claude-master.jsx` (68 KB) | the Claude cinematic master, 1920x1080 60fps 20.0s |\n| `claude-film.jsx` (41 KB) | an earlier Claude cut, so you can diff a film against its own revision |\n| `film.jsx` (62 KB) | a third long film |\n| `reel.jsx` (16 KB) and `clip.jsx` (5 KB) | the same grammar at reel and clip length |\n\nSupporting them:\n\n| File | What it gives you |\n|---|---|\n| `animations-v3.jsx` (55,474 bytes) | the engine. **Byte-identical in every one of the three source archives**, verified by hash. It is a fixed substrate, not a per-film thing. Never edit it |\n| `PROMPT-1.md` and `PROMPT-2.md` | the real prompt pair that produced one of these films. The storyboard-gate prompt, then the build prompt |\n| `camera_keyframes.json` | real camera data from a finished film, instead of invented easing |\n| `ui.jsx`, `tweaks-panel.jsx`, `support.js` | the host scaffold the films run inside |\n\n**How to read them, and this is the point.** Do not copy one film. Open at least\nthree and ask what is the *same* in all of them: how a scene list is declared,\nwhere the transformation chain is expressed, how an entrance is timed against\nthe thing it hits, how the last three seconds are built, what never appears.\nThe constants across five films are the workflow. Anything present in only one\nis that film's costume, and copying it is how you get a film that looks like a\ntribute instead of a piece of work.\n\nTwo ratios that hold across them:\n\n**Motion budget, roughly 70\u002F20\u002F10.** Seventy percent of the movement is the\nobject transforming, twenty the camera pushing or pulling, ten the camera\ntravelling. When a film feels busy but dead, this has inverted and the camera is\ndoing the work the object should be doing.\n\n**Build in stages, and gate between them.** Build the first five to eight\nseconds. Render. Look at a contact sheet. Only then continue. A twenty second\nfilm built before anyone looked is a twenty second film nobody can fix, because\nthe defect is in the concept and the concept is now load-bearing.\n\nAlso in the repo, for the current job rather than the general workflow:\n`videos\u002F_handoff\u002Fvercel\u002Freel\u002FStoryboard.dc.html` (the largest storyboard that\nexists), and `videos\u002F_kits\u002Fclaude\u002Fframes\u002F`, twelve stills whose filenames carry\nthe instruction.\n\n## 4. Build the kit before you write the prompt\n\nFilms fail on missing assets, not on prompt length. The Vercel film was built\nfrom an 8,000 word prompt with a camera scale graph, a match anchor chain, an\neasing table and a frame by frame shot list, and every frame of it is grey\nrectangles standing in for text and a hand drawn triangle in place of the real\nmark. The prompt was not too weak. It handed the model nothing real to put in\nthe frame, and placeholders are the only thing a model can draw with no assets.\n\n**Claude Code builds the kit. Claude Design animates it.** That split is the\npipeline.\n\n1. **Measure the reference at 1:1**, one file, never a contact sheet. Write down\n   beats, ground colour, mean luminance, mean saturation, and what physically\n   occupies the frame.\n2. **Brand intake.** Official marks live on the brand's own guidelines\n   subdomain, served gzipped, mixed in with their \"Please Don't\" examples.\n   Render a light and dark contact sheet and look before naming anything.\n3. **Rebuild the product UI as live DOM carrying real strings**, then shoot it\n   at 3x to 5x into flat plates with `_tools\u002Fshoot.mjs`. Interfaces are rebuilt.\n   World art is rendered and composited. Nothing is faked.\n4. **Cut parts, not screens.** A whole screen is a slab, and a slab cannot be\n   animated, only slid. Ship a `parts\u002F` folder of isolated transparent objects\n   at 1600px and up: every button, chip, node, bar, tile, badge, icon. Plus 4K\n   landscape plates for the ground.\n5. **Split the mark into its own layers.** An official SVG splits into layers\n   that stack back pixel perfect. Verify it: stacked against the original, the\n   maximum difference on any pixel should be 1 of 255, which is antialiasing.\n   Then the film **assembles** the mark instead of cutting to it.\n6. **Optimise.** Every file under about 350 KB, the whole kit under about 4 MB,\n   so it survives being carried into a Claude Design project.\n7. **Open every file and log its defects in `KIT.md`.** Clipped buttons, missing\n   alpha, wrong aspect, white emblems that vanish on a white card. Every defect\n   you found goes in the prompt under KNOWN KIT DEFECTS with what the film must\n   do about it. If you found none, say you opened every file and found none.\n\nAspect is a real defect class. Rendering 1200x800 chips into a 224x160 box\nstretches every flag horizontally by 7%, which is subtle enough to survive\nreview and wrong in every frame.\n\nPublished artifacts run under a strict CSP that blocks every external host, so\nnothing in a kit may point at a CDN. Everything is a project file or a data URI.\n\n## 5. Write `OM_SCENES` first\n\nIt is the outline, and the section names become the cue vocabulary the rest of\nthe brief speaks in. Six sections is a good film. Ten is a slideshow.\n\nThe Vercel film, verbatim, as the shape to aim at:\n\n```\nThe Blade 4.6 · Aperture 2.0 · Preview 2.0 · Production 2.25 ·\nEverywhere 2.25 · Scale 2.25 · Convergence 2.0 · Lockup 1.75\n```\n\nEach `desc` is one sentence naming a physical event, not a mood. \"The triangle\nbecomes an aperture, the camera pushes through it and pulls back into a full\nproduct preview\" is a `desc`. \"A sense of speed and possibility\" is not.\n\n## 6. The transformation chain, as match anchors\n\nName the one object that carries the film and forbid breaking it.\n\n> Every scene inherits one visible object, shape, line or motion vector from the\n> previous scene. Never: scene fades out, empty background, next scene fades in.\n> The incoming beat is visible while the outgoing is still 25 to 50% visible.\n\nWorked examples from films that shipped:\n\n- **Duolingo.** One green circle never leaves the screen: Duo's mark, then the\n  lesson node, then the thing every name collapses into, then Duo again.\n- **Spotify.** The track *Midnight Signal* is printed on the player bar file and\n  on the phone file, so the same song moves bar to desktop to phone to lineup.\n- **Emulo.** The faceless silhouette is on screen at T=0 and in all six\n  sections, and the payoff is the solid robot arriving in front of it so the two\n  together are exactly the shipped mark.\n\n**The colour rule that comes with this.** An object that will become an official\nlayer corrects to **that layer's** colour, never to the brand's published one.\nDuolingo's `duo-01-field.svg` is filled `#50C800` while Feather Green `#58CC02`\nis the guidelines and product value. Correcting to the published green would\nhave stepped colour on the exact frame that must be invisible. The file wins\nover the guidelines page.\n\n## 7. The prompt\n\nFill this. Delete nothing structural. A brief that is long and contains no\nfilenames is the wrong brief.\n\n```text\nYou are directing a \u003CN> second \u003Cvertical|landscape> spec commercial for \u003CBRAND>,\nbuilt on the animations-v3 composition engine. Cinematic. Few objects, large, lit.\n\nFORMAT. WRITE IT LITERALLY.\n\n  \u003CCompositionStage width={\u003CW>} height={\u003CH>} bg=\"\u003Cground hex>\"\n                    scenes={window.OM_SCENES} playback={window.OM_PLAYBACK}>\n\n\u003CW> wide by \u003CH> tall. If your composition is \u003Cwider than it is tall | not\n\u003CW>x\u003CH>> you have failed before anything else is judged.\n\nTHE ONE LAW\n\nEvery object on screen is a file from the list below. The timeline never draws a\n\u003CBRAND> screen, never draws the mark, never stands text in with a grey\nrectangle, never approximates imagery with a gradient. It places, masks, crops,\nlights and moves those files.\n\nIf a beat needs an object the kit does not contain, say so and stop. Do not\nsubstitute a div. If you cannot resolve the paths, tell me before building\nanything rather than drawing replacements.\n\nREFERENCES\n\n\u003Cone job per reference, with a do-not-copy list. Then: do not average them.>\n\nTHE ASSETS\n\n  \u003Cevery file, its pixel size, and one line on what it is for. Name which\n   element level parts exist and what they are meant to do on their own.>\n\nTHE BAR, AND WHAT IT RULES OUT\n\n\u003Cthe genre exclusions, not craft notes. Genre exclusions are what the model\nalready understands: six disconnected slides, a SaaS product tour, a dashboard\nmontage, a conference presentation, a developer tutorial, a browser screen\nrecording, a wall of technology logos, a generic futuristic AI advertisement.>\n\n- no paragraphs, no terminal dumps, no reports, no lists of findings. If a frame\n  needs more than about eight words to be understood, the frame is wrong\n- no charts, no graphs, no dashboards, no code editors\n- no neon, no glow, no purple, no gradient meshes, no particle fields\n\nAt most ONE object carries text in any frame, and that object is a real thing\nwith edges, not a caption floating in space.\n\nGROUND AND LIGHT\n\nMeasured off the reference film, not chosen:\n\n  frame average sits between \u003Chex> and \u003Chex>, \u003Cchannel> dominant\n  mean luminance \u003Cn> of 255\n  mean saturation \u003Cn>\n\nThe base is \u003Chex> and never pure black. One warm key light, \u003Cposition>, fixed.\nEvery object carries a contact shadow and a cast shadow. Depth is blur and\nscale. Bloom on \u003Cnamed elements> only. One grain pass at low opacity.\n\nLOCKED COPY\n\n  \u003Cthree or four lines, nothing else>\n\nNo feature list, no metric, no URL, no invented tagline, no subtitle under the\nlogo. Set in \u003Ctypeface, and say plainly if it stands in for a licensed brand\nfont>. Revealed through a horizontal mask, never typed letter by letter.\n\nTHE ENGINE\n\n\u003Cscript>window.OM_SCENES = '[\n {\"name\":\"\u003CName>\",\"dur\":\u003Cs>,\"desc\":\"\u003Cone plain sentence>\"},\n ...\n]';\u003C\u002Fscript>\n\u003Cscript>window.OM_PLAYBACK = '{\"mode\":\"loop\"}';\u003C\u002Fscript>\n\nKey everything to T from useComposition() against those cues. One continuous\ncomposition, zero cuts.\n\n  MOTION.slam    Easing.easeOutExpo     arrivals and impacts\n  MOTION.snap    Easing.easeOutBack     landings, overshoot capped at 6%\n  MOTION.drive   Easing.easeInOutQuart  travel, light, drift\n  MOTION.settle  Easing.easeOutQuart    the final resolve\n\nNothing eases outside those four. No elastic, no Back curve on an official brand\nfile, no setTimeout, no requestAnimationFrame, no useEffect painting, no wall\nclock, no random, no CSS keyframes running on their own. Render everything from\nT so any seek reproduces its frame. Never render \u003CCaptions>. Never edit\nanimations-v3.jsx.\n\nTHE ANCHOR\n\n\u003Cthe one object physically present across beats that carries the film. Name it\nand forbid breaking it.>\n\nTHE SECTIONS\n\n\u003Cone block per OM_SCENES entry. Each block carries:\n   what is on screen and which file\n   coverage as a percentage of frame width for every hero object\n   what causes the next thing to happen\n   a \"Do not:\" line specific to this beat>\n\nCAMERA\n\n\u003CN> events and nothing else moving the frame:\n\n  1. \u003Ccue range>   \u003Cwhat>\n  2. \u003Ccue range>   \u003Cwhat>\n\nBetween them the camera holds and the objects do the work. No drifting, no\nbreathing zoom, no shake, no orbit, no continuous parallax.\n\nMotion budget:\n  60% local object and geometric transformation\n  20% surface, lighting, parallax, environment\n  20% camera scale and reframing\n\nWHERE THE COLOUR COMES FROM\n\n\u003Cname the objects allowed to be saturated, and say the ground picks up their\ncolour. Forbid coloured light with no object making it.>\n\nMOTION SHAPE, MEASURED\n\n\u003Cthe numbers from §8. State the reference figures and the floor this film must\nclear.>\n\nKNOWN KIT DEFECTS\n\n  \u003Cevery defect you found opening the files, and what the film must do about it>\n\nFAILURE CONDITIONS\n\n\u003C15 to 25 lines, each a specific observable defect for THIS film. §10.>\n\nBEFORE YOU BUILD, RETURN AND STOP\n\n1. the CompositionStage line, so I can see the dimensions\n2. the OM_SCENES literal\n3. a \u003CN> frame storyboard, and per frame: which asset, its coverage as a\n   percentage of frame width, how many elements are moving, and the WORD COUNT\n   on screen. Any frame over eight words is a defect, tell me and fix it\n4. your impact list with times\n5. confirmation the anchor object is on screen in every section\n6. anything you cannot verify\n\nDo not animate until I approve.\n```\n\nThen `PROMPT-2.md`, the approval:\n\n```text\nApproved. Before you build, confirm these four:\n\n  \u003Cfour checks specific to this film, each one a thing that was measured off the\n   reference and could quietly go missing>\n\nNow build it from the approved storyboard. Deterministic, keyed to T, kit files\nonly. When it is running, show me \u003Cthe cue boundaries> at full size before\nanything else.\n```\n\n## 8. The motion floor, measured\n\nZero cuts alone reads dead. Cut rate and energy are two separate specifications\nand a brief has to carry both.\n\nFrame to frame motion energy, sampled at 15fps:\n\n| Film | mean | peak | frames above 4.0 | near-still | cuts |\n|---|---|---|---|---|---|\n| Vercel, the reference | 2.378 | 13.005 | 22.0% | 26.2% | zero |\n| Duolingo v1 | 6.557 | | 40.2% | | zero |\n| Duolingo v2, rejected | 2.565 | 76.545 | 13.6% | **50.2%** | zero |\n\nRead the v2 row. Half of that film is frozen. The mean looks acceptable only\nbecause a handful of enormous transitions drag it up, and the peak is six times\nthe reference. That is the signature of a slideshow with big transitions between\nstatic cards. A motion designer produces the opposite shape: a lower peak and\nfar less stillness, because something is always moving.\n\nThe floor to write into a prompt:\n\n- near-still frames below 26%\n- no single frame above 25 energy\n- frames above 4.0 above 22%\n- at least two elements mid-transformation at every moment that is not a hold\n- a growing hero gains at least 35% of frame width per 0.5s\n- holds are named and counted. Two or three in a film, plus the final lockup\n\n**The freeze test.** If a frame's motion would survive freezing every gradient\nin it, the motion is real. A continuously drifting pool or breathing gradient\nlowers the near-still number without adding one frame of real motion. That is\nthe metric moving, not the film, and we have shipped a bad video that exact way\nbefore by optimising the measurement instead of the thing it measured.\n\n**Luminance is one film or two.** Measured on a rejected build: greetings 19.9,\ntransition 75.1, UI middle 226.2, outro 180.4. A 19.9 to 226.2 span is not a\ngrade change, it is a different film glued between two designed worlds. Name one\nground for the whole piece and a ceiling for the brightest section.\n\n**Coverage stops things coming out tiny.** Hero object 25% to 45% of frame width\nas a floor, and higher on payoff beats. In the rejected middle the nodes sat at\nroughly 6%, which is why nothing read and nothing felt like it was moving.\n\n**The source material never leaves the middle.** Measured on two boards that came\nback: the product was off screen for 72% and 68% of running time. Both opened on\nthe real product, spent the middle on coloured rectangles, and returned for a\nclosing beat. That is a template reel with a product bookend, and it is the\nsingle reason both read as cheap. State a floor as a percentage of frame area and\nput \"any beat takes place on a bare ground\" in the failure conditions.\n\nThe rule is about **chrome**, not content. Name the product's own components off\nthe screenshot, the sidebar, the tab strip, the chip row, the player bar, and\nrequire them present by name. The strongest form: let the product's own controls\ncause the film. A chip being struck is what recolours the page. Then collision,\ncausality and real product behaviour are the same move, and the film cannot be\ndescribed without naming the product.\n\n## 9. What physically happens in the beat\n\nEverything in section 8 can be green on a film that comes back rejected. The\nverbatim verdict on one that was: \"its just boring words with ok animations\ninstead of showing crazy animation crazy things happening with animation like\nyou did with the hook with the puppet inside the chatbox ui.\" That build cleared\nthe structure, the coverage floors and the energy floors. It was still a\nsequence of phrases arriving over a lit ground.\n\nRead `videos\u002F_handoff\u002F_film-sources\u002FITERATION-LOG.md` before you write a brief.\nIt is the only file that records what was rejected, in his words, next to what\nreplaced it. Finished code cannot tell you the words were there first.\n\n### The per-beat test\n\nFor every `OM_SCENES` entry, write three lines before anything is built. If line\n2 is empty, the beat is a card, and a card reads as boring however it eases in.\n\n1. the phrase on screen\n2. **a body** doing something, named with a verb: dives, hammers, hops, is pulled off its feet\n3. the surface it does it to, named as a kit file or a rebuilt UI part\n\n**A body is a character or an object with mass. A word is not a body.** Letters\nthat hammer, shatter or fly are still kinetic typography, which is the exact\nthing that got rejected. If line 2 names the phrase itself, the test fails.\n\nRejected: \"Create completely\" over a fixed box at `left: 1090, top: 224,\nwidth: 470, height: 630`, whose children only widen in place\n(`claude-film.jsx:530-537`). Approved: nine blocks fly in from\n`left: tx + Math.cos(a) * 1000 * (1 - p)`, each carrying `blur(6 * (1 - p))` and\n`rotate((1-p) * 26deg) scale(.7 + .3*p)` on a 52ms stagger, while a body hammers\nalongside and squashes on every landing (`claude-master.jsx:1012-1044`).\n\nNote what separates them, because it is not the count of pieces. Nine flying\nrectangles with no body beside them is still the rejected beat with more parts.\n\n### Ban grow-in-place\n\nFixed `left` and `top` with `width`, `height` or `opacity` animating inside the\nobject's own bounding box is what a model writes by default, because it is safe\nand can never collide. Every hero entrance carries position, rotation, blur and\nscale at once, and starts **at least 0.35 of stage width outside where it\nlands**. Express every distance as a fraction of stage width, never in raw\npixels: the films are authored at 1920x1080 and the rebuilt UI at 2560x1600, so\na pixel figure copied between them is wrong by a third.\n\nAn object that travelled has a before-state the viewer never saw, so its arrival\ncarries information. An object that grew was always there.\n\n### The character must be attached to real geometry\n\nDerive the body's transform from the target object's live animated values every\nframe, including rotation:\n\n```\nconst rad = bars[0].rot * Math.PI \u002F 180;\ncx0 = bars[0].x - Math.cos(rad) * bars[0].w \u002F 2;\ncy0 = bars[0].y - Math.sin(rad) * bars[0].w \u002F 2 - 34;\nrotc = bars[0].rot - 90;\n```\n\nThat expression is the tip of the rotated bar, and `rot - 90` keeps the body\nstanding perpendicular on it (`claude-master.jsx:833-838`). Generate paths from\nthe target's own data too, so a climb right to left is an emergent property of\nthe chart rather than an authored path that happens to match.\n\n**The reference film also gets this wrong, and you should see where.** In the\nresearch dive the source cards compute `cy = -180 + 1460 * easeInOutCubic(rDive)`\nwhile the critter three lines below is `y = -200 + 1500 * easeInOutCubic(rDive)`.\nTwo independent expressions off one progress variable, 20px apart at the start\nand 60px at the end. Delete the critter and every card lights exactly the same.\nIt reads acceptably and it is still a sticker, and it will drift the first time\nanything is retimed. Couple to the object, not to a shared clock.\n\n### Simulated UI, operated at speed\n\nHe asked for this by name: \"i want like in the reference video when it shows like\na mimic ui fast paced doing on it with the mouse and text and stuff.\" Section 7\nbans faking a screen as static art. It does not ban rebuilding one. **Never draw\na grey rectangle standing in for a product screen. Rebuild the UI as live DOM,\none element per part, and operate it.** When a film has a product in it, it must\ncarry at least one operated-UI beat.\n\n- **Rebuild, do not screenshot.** `ui.jsx` builds sidebar, top bar, greeting, six\n  shortcut tiles and a six-card carousel as separate positioned divs. A\n  screenshot can only be pushed and cropped. A DOM rebuild lets one card lift.\n- **The cursor is an object with momentum**, and every key carries its intent in\n  a comment. `film.jsx` BALL_RAW is 39 keyframes: `{ t: 2.80, x: 812, y: 872 }`\n  grabs the progress knob, `{ t: 3.86, x: 960, y: 836 }` punches play. A failure\n  is recorded in the same file: easeInOut on consecutive keys made the roll stop\n  and restart at every card. Use one ease-out across the span and let friction\n  decelerate.\n- **Sample the path, then derive everything from one number.**\n  `const bPrev = ballAt(T - 0.022); const speed = Math.hypot(vx, vy)` feeds\n  squash `clamp(speed\u002F5200, 0, .46)`, heading `Math.atan2`, motion blur\n  `clamp(speed\u002F900, 0, 9)`, trail opacity and audio gain. Hand-keying five of\n  those separately is how a fast move ends up mismatched.\n- **Every UI state change is caused by an impact**, and the two tables share\n  timestamps: `IMP = [0.30, 2.62, 3.86, 4.24, ...]` against\n  `HOME_TRIG = [4.24, 4.52, 4.80, 5.08, ...]`, each region a 40ms staggered\n  cascade off its own hit. A screen that assembles on a schedule is a slideshow.\n  A screen that answers 300ms after something hits it is alive.\n- **One impact function drives shake, camera bump and blur together**, sign\n  flipping on alternate hits: `Math.pow(1 - d\u002F.34, 2.1) * Math.sin(d*108) *\n  (i % 2 ? 1 : -1)`, consumed as `cam.s *= 1 + sh*.022`, `shakeX = sh*11`,\n  `mBlur = min(abs(sh)*4, 7)`. Fifteen hits in sixteen seconds, none of them\n  feeling repeated.\n- **A control being operated reads its value off the cursor**, it is not keyed\n  alongside it: `scrubF = clamp((b.x - TR0)\u002F(TR1 - TR0), 0, 1)`. Two objects\n  keyed in parallel drift a few pixels and the shot reads fake.\n- **A click is three asymmetric ramps**: 80ms down, 20ms held, 120ms up, with the\n  button swelling 12% starting 160ms before contact. Symmetric press animation\n  reads as a CSS demo.\n- **Passing near a thing knocks it, by distance not by keyframe**:\n  `knock = rolling * max(0, 1 - abs(b.x - CARD_CX(i))\u002F120)`. Hand-authored\n  reaction windows break the moment you retime the roll. A falloff survives it.\n- **Dim the interface under the copy, never cut away from it.** `DIM` keys\n  brightness across the whole UI, 1.0 down to 0.42 then 0.26, plus a corner\n  scrim. The app stays visibly running behind the words.\n\n### Delete these from the background\n\nThe fix for a boring beat is more happening in the middle of the frame and less\nat the edges. Deleted from the approved build: giant background words, the\nword-storm, decorative hairlines, ambient panels behind the hero, and the light\nfield cut to a single soft wash. `STORM` is still declared empty at\n`claude-master.jsx:192-193` with its renderer live, which is what deleting it\nproperly looks like.\n\n### Occupied holds\n\nSection 12 law 5 fixes the camera to three moves. This is its other half: **fill\nevery camera lock with a body doing something.** All three locks in the approved\nfilm are occupied, and the longest one is the busiest stretch in the picture.\nWhen the frame holds, the content earns the motion.\n\n### Gate the weakest beat, not only the opening\n\nThe eight-second gate in the next section catches a bad opening. It cannot catch\na strong opening followed by three flat beats, which is exactly what was rejected\nhere: \"the intro very strong... the only parts i dont like is the think create\nhandoff.\"\n\nSo after the opening passes, render the **capability stretch** and look at that\ntoo. Do not self-grade it. Put the contact sheet in front of the person who asked\nfor the film and ask which seconds are the worst. Their answer is the list.\nRebuild those beats against the per-beat test above, and only then build the rest.\n\n\n## 10. Build it, look at it, then continue\n\nDo not build the whole film and then find out.\n\n1. **Build the first 5 to 8 seconds only.** Wire `build\u002Findex.html` and\n   `build\u002Fpiece.jsx` against the kit. The host scaffold is fixed, and\n   `videos\u002F_kits\u002Fduolingo\u002Fbuild\u002F` is the working copy to clone:\n\n```html\n\u003Cscript>window.OM_SCENES = '[...]';\u003C\u002Fscript>\n\u003Cscript>window.OM_PLAYBACK = '{\"mode\":\"loop\"}';\u003C\u002Fscript>\n\n\u003Cscript src=\"..\u002F..\u002Fnode_modules\u002Freact\u002Fumd\u002Freact.development.js\">\u003C\u002Fscript>\n\u003Cscript src=\"..\u002F..\u002Fnode_modules\u002Freact-dom\u002Fumd\u002Freact-dom.development.js\">\u003C\u002Fscript>\n\u003Cscript src=\"..\u002F..\u002Fnode_modules\u002F@babel\u002Fstandalone\u002Fbabel.js\">\u003C\u002Fscript>\n\u003Cscript type=\"text\u002Fbabel\" src=\"..\u002F..\u002F_engine\u002Fanimations-v3.jsx\">\u003C\u002Fscript>\n\u003Cscript type=\"text\u002Fbabel\" src=\".\u002Fpiece.jsx\">\u003C\u002Fscript>\n\n\u003Cscript type=\"text\u002Fbabel\">\n  \u002F* ?still=1 freezes the transport so the capture harness can seek\n     deterministically. The shipped composition autoplays as normal. *\u002F\n  const still = new URLSearchParams(location.search).has('still');\n  ReactDOM.createRoot(document.getElementById('root')).render(\n    \u003CCompositionStage width={1080} height={1920} bg=\"#06120A\"\n                      autoplay={still ? 'false' : 'true'}\n                      loop={still ? 'false' : 'true'}\n                      scenes={window.OM_SCENES} playback={window.OM_PLAYBACK}>\n      \u003CPiece \u002F>\n    \u003C\u002FCompositionStage>\n  );\n\u003C\u002Fscript>\n```\n\n   `piece.jsx` opens with one path constant and the four motion helpers, and\n   nothing else in the file knows where the kit lives:\n\n```js\nconst BASE = '..\u002FATTACH\u002F';   \u002F\u002F the ONLY line that changes when assets move\n\nconst MOTION = {\n  slam:   (o) => animate(Object.assign({ ease: Easing.easeOutExpo },    o)),\n  snap:   (o) => animate(Object.assign({ ease: Easing.easeOutBack },    o)),\n  drive:  (o) => animate(Object.assign({ ease: Easing.easeInOutQuart }, o)),\n  settle: (o) => animate(Object.assign({ ease: Easing.easeOutQuart },   o)),\n};\n```\n\n2. **Shoot it and look.** Snapshots cost seconds, renders cost 25 minutes.\n\n```bash\nnode videos\u002F_kits\u002F_tools\u002Fframes.mjs \u003Cproject> 0,0.6,1.4,2.2,3.0,4.1,5.2,6.4,7.6\n```\n\n   The tool prints the stage size and duration, flags a wrong aspect, and prints\n   every page error under `PAGE ERRORS:`. A single\n   `Failed to load resource: net::ERR_FILE_NOT_FOUND` means the film is drawing\n   nothing where an asset should be, and it is blocking. Fix `BASE` or the kit\n   path before you judge a single frame.\n\n   The seek listener is on the **stage element**, not on `document`; dispatching\n   on `document` silently does nothing and every frame comes back identical.\n   The stage autoplays, so seek before you shoot.\n3. **Gate on quality before continuing.** Open the frames at 1:1, not as a\n   contact sheet. If the first 8 seconds are not the level, nothing after them\n   will be, and every hour spent on the back half is spent twice.\n4. Only then build the rest.\n5. **Diff the template against the generated file** whenever another tool has\n   touched the project.\n\n## 11. Failure conditions\n\nGeneric failure conditions catch nothing. Write 15 to 25 lines, each a specific\nobservable defect for **this** film. These are the ones that recur, as a\nstarting set to specialise:\n\n- the composition is not `\u003CW>x\u003CH>`\n- any object on screen was drawn rather than placed\n- the ground is pure black anywhere\n- a frame is empty between beats, or a beat takes place on a bare ground\n- any frame contains a paragraph, a report, a terminal dump, or a list\n- more than one object carries text in the same frame\n- a frame needs more than eight words to be understood\n- the anchor object is absent from any section\n- the mark or lockup is stretched, skewed, rotated, glowed, recoloured, extruded\n  or animated\n- a gradient stands in for real imagery\n- the camera moves outside its named events\n- the final hold is shorter than 1.5 seconds, or the mark is still moving on the\n  final frame\n- the film cuts, or `\u003CCaptions>` is rendered\n- `animations-v3.jsx` was edited\n- it reads as a product tour rather than a film\n\n## 12. Verify, with output\n\nA green command is not visual approval. Report the numbers, do not estimate\nthem.\n\n```bash\nnode videos\u002F_kits\u002F_tools\u002Fframes.mjs \u003Cproject>\n```\nstage dimensions, duration, and the contact sheet. Wrong aspect fails here.\n\n```bash\nffprobe -v error -select_streams v:0 -show_entries stream=width,height,r_frame_rate,bit_rate,duration -of default=nw=1 \u003Cexport>.mp4\n```\nthe floor for a landscape film is 1920x1080, 60fps, 4.69 Mbps.\n\n```bash\nffmpeg -i \u003Cexport>.mp4 -vf \"select='gt(scene,0.2)',showinfo\" -f null - 2>&1 | grep -c showinfo\n```\ncut count. A promo should return zero. `scene_score` measures nothing else on a\nzero-cut film, so it is a cut detector and never a motion metric.\n\nMotion energy, near-still percentage, peak and per-section mean luminance are\nmeasured off the export, not estimated, and reported next to the floors in §8.\n\nBrowser frames carry zero motion blur, so an export reads as stop-motion next to\nthe preview. Render at 240fps and `tmix=frames=4` down to 60. Smoothness and\nsharpness are separate problems: duplicate frames, BT.601 versus BT.709, chroma\nand pixel ratio are the measured causes, and `-tune animation`, `-tune grain`\nand `gradfun` are all wrong advice.\n\nFor a vertical film the Instagram feed crops the top 285 px, so nothing load\nbearing goes there.\n\n## 13. The laws that cost real renders\n\nEach of these was paid for once. None of them is a preference.\n\n1. **Reference roles are assigned, never averaged.** Vercel for transformation\n   and depth. Spotify for camera and easing. Write \"do not average the\n   references\" verbatim.\n2. **Build the first 5 to 8 seconds and gate on quality before continuing.**\n3. **Never fix a concept problem with easing.** If a transition reads as a cut,\n   the thing you animate and the thing you land on are two different objects.\n   No curve repairs that. Split the mark into layers and assemble it.\n4. **A flash cannot replace geometry in a transition.** Brightness that hides a\n   missing seam is a defect. Every luminance jump names the object state,\n   evidence or medium change it accompanies.\n5. **The camera moves once, at the moment that matters.** Three events in a 12\n   second film, and nothing else moving the frame. Between them the camera holds\n   and the objects do the work.\n6. **Objects must exceed the frame.** Everything safely centred reads as\n   scaling, not as camera movement. The player bar at its peak is wider than the\n   frame. The screen fills past its edges.\n7. **Zero cuts alone reads dead.** Energy is specified separately from cut rate,\n   with the numbers in §8.\n8. **Rendered assets, not browser-drawn shapes.** A div is not a card, a\n   gradient is not album art, a triangle you drew is not the mark. If the kit\n   does not have it, stop and say so.\n9. **Nothing fades in.** Every entrance hits something and the impact causes the\n   next beat. A particle that is not consumed by the letter it belongs to is\n   litter, not a cause. Either it causes the thing or it is not there.\n10. **2D, never 3D.** The cinematic look is flat layer compositing. The camera\n    push is `scale()` on a container and depth is blur plus scale. 3D scenes are\n    what produce the game look and the lag. Flat compositing is not flat\n    lighting: name a light source with a position, give grounds a falloff, give\n    every object a contact shadow and a cast shadow.\n11. **Every number on screen is a real published figure**, read on a stated date\n    and hardcoded. Never invent one, round one, animate a count up from zero, or\n    turn it into a chart.\n12. **Do not open a prompt with an essay about why the last attempt failed.**\n    These prompts do not apologise or narrate history. They specify. Do not\n    describe a mood where a number will do. Do not write a scene without a\n    coverage percentage.\n\n## 14. Working files\n\n| What | Where |\n|---|---|\n| the engine and its contract | `videos\u002F_kits\u002F_engine\u002F` |\n| kit split, brief template, tools | `videos\u002F_kits\u002FREADME.md`, `_BRIEF-TEMPLATE.md`, `_tools\u002F` |\n| the 26 section anatomy and the two gates | `docs\u002FMASTER-PROMPT-STANDARD.md` |\n| worked prompts that shipped | `videos\u002F_kits\u002F{spotify,duolingo,emulo}\u002FPROMPT-*.md` |\n| the correction rounds, which is where the lessons are | `videos\u002F_kits\u002Fduolingo\u002FPROMPT-IMPROVE*.md`, `PROMPT-V3*.md` |\n| the reference film | `videos\u002Fvercel-spec\u002F` |\n| short-form, a different job | `videos\u002FREADME.md` and its router |\n",{"name":5,"description":7},"main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002Fohad6k\u002Fditto\u002Fskills\u002Fvideo",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill video",{"tool":62,"command":63},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill video",{"tool":65,"command":66},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill video","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fohad6k\u002Fditto\u002Fskills\u002Fvideo\u002FSKILL.md",true,[],[71,81,89,97,105,113],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":75,"licenseFileUrl":76,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":80},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":75,"licenseFileUrl":85,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":80},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":75,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":80},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":75,"licenseFileUrl":101,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":80},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":75,"licenseFileUrl":109,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":80},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":75,"licenseFileUrl":117,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":80},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]