goatedit-mcp 1.1.19 → 1.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20269,7 +20269,7 @@ var BASE_TOOLS = [
20269
20269
  inputSchema: {
20270
20270
  type: "object",
20271
20271
  properties: {
20272
- url: str("Publicly reachable https URL of the video, audio or image, or a `magnific:<id>` url from search_stock."),
20272
+ url: str("Publicly reachable https URL of the video, audio or image, a `magnific:<id>` url from search_stock, or an `sfx:<id>` url from search_sfx."),
20273
20273
  name: str("Display name for the bin."),
20274
20274
  type: { type: "string", enum: ["video", "audio", "image"], description: "Kind of media." },
20275
20275
  duration: num("Duration in seconds. Required for video and audio, but treated as a hint \u2014 the probe on import overrides it when they disagree."),
@@ -21140,9 +21140,15 @@ var BASE_TOOLS = [
21140
21140
  "cropRight",
21141
21141
  "cropBottom",
21142
21142
  "cropRadius",
21143
- "cropFeather"
21143
+ "cropFeather",
21144
+ "shapeWidth",
21145
+ "shapeHeight",
21146
+ "shapeCornerRadius",
21147
+ "shapeStrokeWidth",
21148
+ "shapeDash",
21149
+ "shapeGap"
21144
21150
  ],
21145
- description: "Property to animate. posX/posY and opacity are 0..1 fractions, rotation is degrees, scaleX/scaleY are multipliers (1 = unchanged), pathTrimEnd 0\u21921 draws a pen stroke on, textPathOffset slides text along its path (0..1) and textPathWave is the height of the wave bending it (px @1080p). cropLeft/Top/Right/Bottom are 0..1 of the layer cut from that side (set_mask crop sets them once), cropRadius rounds the crop's corners and cropFeather softens its edge, both px @1080p."
21151
+ description: "Property to animate. posX/posY and opacity are 0..1 fractions, rotation is degrees, scaleX/scaleY are multipliers (1 = unchanged), pathTrimEnd 0\u21921 draws a pen stroke on, textPathOffset slides text along its path (0..1) and textPathWave is the height of the wave bending it (px @1080p). cropLeft/Top/Right/Bottom are 0..1 of the layer cut from that side (set_mask crop sets them once), cropRadius rounds the crop's corners and cropFeather softens its edge, both px @1080p. shapeWidth/shapeHeight/shapeCornerRadius/shapeStrokeWidth/shapeDash/shapeGap animate a shape layer in its own px @1080p (a square or circle needs width and height keyed together)."
21146
21152
  },
21147
21153
  keyframes: {
21148
21154
  type: "array",
@@ -21168,7 +21174,7 @@ var BASE_TOOLS = [
21168
21174
  clipId: CLIP_ID,
21169
21175
  type: {
21170
21176
  type: "string",
21171
- description: "Effect type: blur, invert, hue, saturation, brightness, contrast, exposure, grayscale, sepia, gradientMap, vignette, filmGrain, flicker, posterizeTime, lensDistortion, chromaticAberration, lensFlare, liquidGlass, opacityFx, colorCorrection, depthMap, gradientMap, vegas, glow, pixelDissolve, motionBlur, dropShadow, reflection, colorama, outline, echo, flutedGlass, lightRays, halftone, datamosh, roughenEdges, filmStock, halation, starGlow, filmDamage, lightLeak, thermal, colorBalance, duotone, levels, monochrome, channelMixer, dither, threshold, fourColorGradient, lensBlur, boxBlur, directionalBlur, spinBlur, zoomBlur, sharpen, cameraShake, bulge, twirl, ripple, waveWarp, polarCoords, turbulentDisplace, elasticGrid, gridSplit, cubify, glitch, vhs, ntsc, crtScreen, ledScreen, rgbSplit, jpegGlitch, ascii, macpaint, modulation, stripe, risograph, emboss, bevel, inkBleed, paperTexture, paperCutout, crossHatch, scatter, blobTracker, edgeGlow, pageTurn, lightSweep, deepGlow, twister, fill, compositeOriginal, grid, repeater, plus transform, layer3d, camera3d (on a camera clip; use set_camera), model3d and showcase. Call describe_effect with a type for its parameters, their ranges and what they do before setting anything but the obvious. An unknown name comes back with the full list."
21177
+ description: "Effect type: blur, invert, hue, saturation, brightness, contrast, exposure, grayscale, sepia, gradientMap, vignette, filmGrain, flicker, posterizeTime, lensDistortion, chromaticAberration, lensFlare, liquidGlass, opacityFx, colorCorrection, depthMap, depthParticles, gradientMap, vegas, glow, pixelDissolve, motionBlur, dropShadow, reflection, colorama, outline, echo, flutedGlass, lightRays, halftone, datamosh, roughenEdges, filmStock, halation, starGlow, filmDamage, lightLeak, thermal, colorBalance, duotone, levels, monochrome, channelMixer, dither, threshold, fourColorGradient, lensBlur, boxBlur, directionalBlur, spinBlur, zoomBlur, sharpen, cameraShake, bulge, twirl, ripple, waveWarp, polarCoords, turbulentDisplace, elasticGrid, gridSplit, cubify, glitch, vhs, ntsc, crtScreen, ledScreen, rgbSplit, jpegGlitch, ascii, macpaint, modulation, stripe, risograph, emboss, bevel, inkBleed, paperTexture, paperCutout, crossHatch, scatter, blobTracker, edgeGlow, pageTurn, lightSweep, deepGlow, twister, fill, compositeOriginal, grid, repeater, plus transform, layer3d, camera3d (on a camera clip; use set_camera), model3d and showcase. Call describe_effect with a type for its parameters, their ranges and what they do before setting anything but the obvious. An unknown name comes back with the full list."
21172
21178
  },
21173
21179
  params: {
21174
21180
  type: "object",
@@ -21358,6 +21364,24 @@ var BASE_TOOLS = [
21358
21364
  },
21359
21365
  method: "searchStock"
21360
21366
  },
21367
+ {
21368
+ name: "search_sfx",
21369
+ description: 'Search GoatEdit\'s sound effect library: originals made by GoatEdit (pops, clicks, whooshes, swishes, risers, thuds, pings, chimes, shine, glitch, typing, page flips, shutter, blips) real CC0 recordings from Freesound (keyboards, paper, whooshes, risers, impacts, shutters, cash register) and Kenney\'s CC0 packs (UI sounds, impacts, power-ups, sci-fi). Every sound is free to use and to export, with no credit owed. Each result carries a `use` line saying which on-screen moment it is for \u2014 pick by that, never by guessing a filename. Bring one in by passing its `url` (sfx:<id>) and `name` to add_media_file (type "audio"), then place it with insert_clip on the sound-effects track (set_audio_master tags a track "sfx"), starting about two frames before the visual it belongs to. It comes in at -16 dB (clip volume 0.16), under the voice; leave that unless it is lost or too loud. Only on visible actions; vary the variant on repeated items.',
21370
+ inputSchema: {
21371
+ type: "object",
21372
+ properties: {
21373
+ query: str('What happens on screen or the sound wanted, e.g. "card lands", "whoosh", "notification".'),
21374
+ category: {
21375
+ type: "string",
21376
+ enum: ["pop", "click", "whoosh", "riser", "impact", "notify", "success", "error", "shine", "glitch", "typing", "paper", "camera", "tech"],
21377
+ description: "Only this kind of sound."
21378
+ },
21379
+ limit: num("How many results. Defaults to 12, at most 40.")
21380
+ },
21381
+ required: ["query"]
21382
+ },
21383
+ method: "searchSfx"
21384
+ },
21361
21385
  {
21362
21386
  name: "create_html_clip",
21363
21387
  description: "Place a CSS-animated HTML snippet on the timeline as a clip. This is the way to get motion that is miserable to keyframe and trivial in CSS: drifting mesh gradients, dot grids, typing input fields, tickers, pulsing badges, UI mock-ups. It renders deterministically \u2014 every animation is paused and seeked per frame \u2014 so the export is frame-identical to the preview, and the clip transforms, fades and keyframes like any other. Prefer CSS or WAAPI animation: a snippet carrying a script or a <video> renders through the costlier sandbox pipeline, and an <iframe> cannot be rasterised at all. Knobs declared as --custom-properties on :host can be overridden per clip through `vars`. Author against the clip box: it is `width` x `height` (defaulting to the project frame), and `100vw`/`100vh` mean exactly that box, not the browser window. Media queries, however, still see the editor window \u2014 size with the units, not with breakpoints. Reference images and footage through `slots` rather than inlining them; the result lists the available slot ids.",
@@ -21391,6 +21415,23 @@ var BASE_TOOLS = [
21391
21415
  },
21392
21416
  method: "addHtmlClip"
21393
21417
  },
21418
+ {
21419
+ name: "update_html_clip",
21420
+ description: "Change an HTML clip made with create_html_clip in place: new markup, some of its --custom-property `vars`, its `slots`, or its render size. The clip keeps its id, position, keyframes, parent and effects \u2014 revise a snippet with this, never by removing and re-creating it. `vars` and `slots` merge over the current values, so pass only what changes. New `html` clears slot overrides (slot ids are element order) unless `slots` is given in the same call. Every clip playing the same snippet changes with it; the reply says how many.",
21421
+ inputSchema: {
21422
+ type: "object",
21423
+ properties: {
21424
+ clipId: str("The HTML clip."),
21425
+ html: str("Replacement markup, with its <style> inline."),
21426
+ vars: { type: "object", description: 'CSS custom properties to change, e.g. { "--accent": "#ff5a1f" }. Merged over the current ones.' },
21427
+ slots: { type: "object", description: "Slot fills to change, keyed by slot id, as in create_html_clip. Merged over the current ones." },
21428
+ width: num("New render width in pixels."),
21429
+ height: num("New render height in pixels.")
21430
+ },
21431
+ required: ["clipId"]
21432
+ },
21433
+ method: "updateHtmlClip"
21434
+ },
21394
21435
  {
21395
21436
  name: "add_transition",
21396
21437
  description: 'Put a transition on a clip. edge "in" (the default) is the clip\'s start: mixed with the clip before it on the same track \u2014 transitions between two shots belong to the incoming clip, so pass the id of the SECOND shot \u2014 or, with nothing before it, transitioned in over whatever is below from its first frame. edge "out" is the clip\'s end: its last `duration` seconds take it out to whatever is below (the entrance played backwards for moves, a fade for dissolves) \u2014 for a clip that ends over a gap, the background or lower layers. A duration that does not fit is refused rather than silently ignored.',
@@ -21891,6 +21932,7 @@ var SEQUENCE_EDITS = /* @__PURE__ */ new Set([
21891
21932
  "setClipEffect",
21892
21933
  "setTextAnimation",
21893
21934
  "addHtmlClip",
21935
+ "updateHtmlClip",
21894
21936
  "setColorGrade",
21895
21937
  "setClipDenoise",
21896
21938
  "addTransition",
@@ -21916,7 +21958,17 @@ var SEQUENCE_EDITS = /* @__PURE__ */ new Set([
21916
21958
  "setMarkers",
21917
21959
  "setScene",
21918
21960
  "setAudioMaster",
21919
- "loopClip"
21961
+ "loopClip",
21962
+ "setCamera",
21963
+ "addShape3D",
21964
+ "updateShape3D",
21965
+ "create3dObject",
21966
+ "createShowcase",
21967
+ "animateClip",
21968
+ "animateScene",
21969
+ "joinScenes",
21970
+ "replaceClipMedia",
21971
+ "retimeRange"
21920
21972
  ]);
21921
21973
  var SEQUENCE_READS = /* @__PURE__ */ new Set([
21922
21974
  "getTimeline",
@@ -21980,6 +22032,38 @@ var TOOLS_BY_NAME = new Map([
21980
22032
  return tool ? [[alias, tool]] : [];
21981
22033
  })
21982
22034
  ]);
22035
+ var READ_ONLY_TOOLS = /* @__PURE__ */ new Set([
22036
+ "get_session_status",
22037
+ "get_design_guide",
22038
+ "get_project_state",
22039
+ "get_transcript",
22040
+ "render_preview_frame",
22041
+ "probe_audio",
22042
+ "export_range",
22043
+ "lint_timeline",
22044
+ "get_edit_log",
22045
+ "list_projects",
22046
+ "list_sequences",
22047
+ "export_design",
22048
+ "get_timeline",
22049
+ "get_clip",
22050
+ "list_checkpoints",
22051
+ "get_media_bin",
22052
+ "describe_motion",
22053
+ "lint_motion",
22054
+ "list_cuts",
22055
+ "measure_text",
22056
+ "describe_effect",
22057
+ "list_presets",
22058
+ "preview_media",
22059
+ "search_stock",
22060
+ "search_sfx",
22061
+ "get_style_profile",
22062
+ "list_plugins",
22063
+ "describe_plugin",
22064
+ "studio_tasks",
22065
+ "studio_workflows"
22066
+ ]);
21983
22067
  function editDistance(a, b) {
21984
22068
  const rows = [Array.from({ length: b.length + 1 }, (_, j) => j)];
21985
22069
  for (let i = 1; i <= a.length; i++) {
@@ -22062,8 +22146,8 @@ var SKILLS = [
22062
22146
  {
22063
22147
  "path": "SKILL.md",
22064
22148
  "uri": "skill://goatedit/goatedit-editing-story/SKILL.md",
22065
- "text": "---\nname: goatedit-editing-story\ndescription: Editing craft for GoatEdit \u2014 story structure and hooks, retention, where and why to cut (emotion, story, rhythm, eye trace), J and L cuts, pacing by format, cutting talking heads, choosing B-roll, captions with exact reading-speed and line rules, music, sound effects, ducking and loudness targets, and colour grading. Use when cutting footage, building a story from a transcript, adding captions, mixing sound, grading, or when an edit drags, confuses, or sounds amateur.\n---\n\n# Editing and story\n\n## Story first\n\nWrite or find the story before touching visuals. Every video, however short,\nhas the same spine:\n\n1. **Hook (0\u20133 s).** Say what this is and why it matters, in words and\n picture, before anything else. Open in the middle of the action, on a\n close-up, on the result, or on a bold claim. No logos, greetings or\n \"in this video\" first.\n2. **Promise.** Tell them what they will get \u2014 the list, the answer, the\n transformation. Previewing a list opens a loop the viewer wants closed.\n3. **Build.** One idea per beat, each raising a question the next answers.\n Cut anything that does not move the story, however good it looks.\n4. **Re-engage.** In anything over about a minute, add a turn, a reveal or a\n change of scene or pace every 45\u201390 s; long videos lose people at the\n points where nothing new arrives.\n5. **Payoff.** Answer the hook. Call back to the opening image.\n6. **Direction.** One clear next step (follow, comment a keyword, visit,\n buy), shown as well as said.\n\n**The test:** watch the first three seconds muted. Would a stranger know what\nthis is and want the rest?\n\n## Where to cut\n\nWhen choosing a cut, weigh in this order (Walter Murch's rule of six):\n**emotion** first, then **story**, then **rhythm**, then **eye trace** (where\nthe viewer is looking at the cut), then the screen's 2D plane, then 3D\ncontinuity. A cut that is right emotionally survives a continuity error; the\nreverse does not.\n\n- **Cut on action.** Cut in the middle of a movement \u2014 a turn, a hand\n reaching, a door \u2014 so the motion hides the cut.\n- **Cut on the eye.** Put the incoming subject where the viewer is already\n looking at the end of the outgoing shot.\n- **J cut:** the next shot's sound starts before its picture (we hear the\n answer, then see the speaker). **L cut:** the current sound carries over the\n next picture (the speaker keeps talking over B-roll). Both make dialogue\n flow; a straight cut on picture and sound together feels abrupt.\n- **Change the shot size or angle** across a cut of the same subject\n (wide to close, or 30\xB0 or more round). A small change looks like a jump.\n- **Keep screen direction.** People and objects keep moving the same way\n across cuts unless something turns them.\n- **Cut music on the beat or the bar**, and music edits on phrase boundaries.\n- **Let it breathe after a big moment** \u2014 hold 0.5\u20131 s before the next idea.\n\n## Pacing by format\n\n| Format | Average shot | Notes |\n| --- | --- | --- |\n| Reel / TikTok / Short | 1.1\u20131.5 s, none over about 3 s | first cut within 1 s, on the first charged word |\n| Ad (6\u201330 s) | 1\u20132 s | product or brand within the first 3\u20135 s |\n| YouTube explainer | 2\u20134 s visuals over steady voice | change the picture at least every 4\u20136 s |\n| Tutorial | as long as the action needs | zoom to the part being discussed; cut dead time |\n| Documentary / brand film | 3\u20136 s, longer holds on faces | let emotional beats breathe |\n| Music video / montage | on the beat; vary 1, 2 and 4 beats | build cut speed toward the drop |\n| Trailer | accelerate across the act; stop dead before the title | |\n\nFaster is not better by itself: change the pace to show what matters. Slow\ndown for the important line, speed up through set-up.\n\n## Cutting talking heads\n\n1. `get_transcript` (or `transcribe`). Every time comes from real word\n timings.\n2. Read every line. Keep the last clean take of each line; cut false starts\n and repeats.\n3. Cut between phrases, never inside one. Trim dead air to under 0.2 s but\n keep natural beats after commas and list markers (0.2\u20130.4 s). Remove a\n filler only when there is silence on both sides. Never speed up a voice.\n4. `apply_ai_edit` with `dryRun: true` first; check each proposed range\n against the transcript before applying.\n5. Hide jump cuts with a punch-in (scale 110\u2013120% on alternate cuts), a\n B-roll cover, or a graphic \u2014 not a dissolve.\n6. Transcripts end words 40\u201380 ms before the sound dies: cut after the decay.\n7. `create_checkpoint` before any destructive pass.\n\n## B-roll\n\n- One visual per noun phrase, starting on its word (at most 0.15 s early).\n- Prefer, in order: real footage of the thing named; a real screen recording\n zoomed to the part discussed; a clearly labelled mock; generated video with\n a concrete metaphor. `search_stock` for footage; check every result with\n `preview_media` before using it.\n- Every still or B-roll shot moves: a slow push of 3\u20138%, or a pan along the\n subject.\n- Use each B-roll shot once. Never invent results or numbers on screen.\n- In vertical video keep the speaker on screen about 45% of the time and\n never gone longer than about 3.5 s; mix split layouts (B-roll above,\n speaker below), full B-roll, and punch-ins.\n\n## Captions\n\n**Readable subtitles** (explainers, interviews, anything people must follow):\n- At most 42 characters per line and two lines, one line when it fits.\n- Reading speed at most 17\u201320 characters a second (about 160\u2013180 words a\n minute); children's content slower.\n- Break lines after punctuation and before conjunctions and prepositions.\n Never split an article from its noun, a first name from a last name, or a\n verb from its pronoun. Bottom-heavy shape.\n- On screen from the first word to just after the last; never across a scene\n cut if it can be avoided \u2014 split it at the cut instead.\n- Numbers one to ten in words, 11 and above in figures.\n\n**Social captions** (reels, shorts, ads):\n- 1\u20133 words per card, split on phrase boundaries (`generate_captions`\n `wordsPerChunk` 2\u20133), hard swaps, on screen two frames before the word.\n- Heavy sans, uppercase, about 60\u201364 px on a 1080\xD71920 frame, in the safe\n area \u2014 never over a mouth.\n- Colour on a quarter to a third of cards, whole card only, with fixed\n meaning (one colour for the key idea, one for the payoff or warning).\n- One style for the whole video; every card in the same box or the same\n treatment. Mixing boxed and bare looks cheap.\n- Captions are an overlay on top of the film, not a reserved band: keep the\n composition centred on the true centre of the frame.\n- Promote a word to a big designed graphic only at a real peak \u2014 at most one\n per beat and never two in a row.\n- Fix names the transcriber cannot know with `glossary`.\n\n## Sound\n\nSound is half the video. You cannot hear it, so measure it (`probe_audio`)\nand ask the user to listen.\n\n- **Tracks:** voice, music and effects on audio tracks of their own \u2014 sound on\n a video track is not mixed. Tag them with `set_audio_master` `roles`.\n- **Voice on top.** Music sits roughly 10\u201314 dB under speech\n (`set_audio_master` `ducking: true`, `duckDb` \u221210 to \u221214) and comes up\n between lines. The first second or two of a voiceover often wants the\n music lower still.\n- **Loudness targets** (integrated, from `probe_audio` `loudness`): YouTube,\n TikTok, Reels and Spotify about \u221214 LUFS; podcasts and Apple about \u221216 LUFS;\n broadcast \u221223 LUFS. True peak at or below \u22121 dBTP \u2014 turn on the limiter\n (`set_audio_master` `limiter: true`, `ceilingDb: -1`).\n- **Music** by mood: confident, darker beats for claims and news; light\n grooves for methods and how-tos; swelling strings or piano for emotion.\n Cut it on bars; end on the music's own ending (or a clean button), never a\n fade in the middle of a phrase. Fade in 0.3\u20131 s; fade out 1\u20133 s.\n- **Sound effects only on visible actions:** a soft air move on a real\n slide, a damped tap when a logo lands, a dry click for UI, paper for\n documents, one warm tone for a success. Vary files on repeated actions.\n No whoosh on every cut; no cartoon zaps unless the look is cartoon.\n- **Room tone.** Never cut voice to digital silence mid-scene; it sounds\n broken.\n- Never fade the last spoken word.\n\n## Grade\n\n- **Fix, then style.** First balance each shot: exposure so faces sit in the\n mids, white balance so whites are white, contrast so blacks are black but\n not crushed (`set_color_grade` exposure, temperature, tint, contrast).\n- **Match shots** in a scene to each other before adding a look; compare\n with `render_preview_frame` side by side.\n- **Skin first.** Midtones (`gamma`) are where skin lives; protect it when\n pushing a look. A look that turns skin green or grey is wrong whatever the\n palette.\n- **One look per video**, chosen in the brief: warm and soft for lifestyle\n and documentary; cool and contrasty for tech and thriller; lifted blacks\n (`lift`) for a film or matte feel; light saturation for premium.\n- Finish with texture when the look wants it: `filmGrain`, `halation`,\n `filmStock`, a gentle `vignette` \u2014 subtle enough that nobody names it.\n- Verify every grade by looking at frames; numbers can look right while the\n picture is wrong.\n",
22066
- "digest": "sha256:f056af026658635792303a5992c77751b19e3e4413f83660ffc7322aeed501b5"
22149
+ "text": '---\nname: goatedit-editing-story\ndescription: Editing craft for GoatEdit \u2014 story structure and hooks, retention, where and why to cut (emotion, story, rhythm, eye trace), J and L cuts, pacing by format, cutting talking heads, choosing B-roll, captions with exact reading-speed and line rules, music, sound effects, ducking and loudness targets, and colour grading. Use when cutting footage, building a story from a transcript, adding captions, mixing sound, grading, or when an edit drags, confuses, or sounds amateur.\n---\n\n# Editing and story\n\n## Story first\n\nWrite or find the story before touching visuals. Every video, however short,\nhas the same spine:\n\n1. **Hook (0\u20133 s).** Say what this is and why it matters, in words and\n picture, before anything else. Open in the middle of the action, on a\n close-up, on the result, or on a bold claim. No logos, greetings or\n "in this video" first.\n2. **Promise.** Tell them what they will get \u2014 the list, the answer, the\n transformation. Previewing a list opens a loop the viewer wants closed.\n3. **Build.** One idea per beat, each raising a question the next answers.\n Cut anything that does not move the story, however good it looks.\n4. **Re-engage.** In anything over about a minute, add a turn, a reveal or a\n change of scene or pace every 45\u201390 s; long videos lose people at the\n points where nothing new arrives.\n5. **Payoff.** Answer the hook. Call back to the opening image.\n6. **Direction.** One clear next step (follow, comment a keyword, visit,\n buy), shown as well as said.\n\n**The test:** watch the first three seconds muted. Would a stranger know what\nthis is and want the rest?\n\n## Where to cut\n\nWhen choosing a cut, weigh in this order (Walter Murch\'s rule of six):\n**emotion** first, then **story**, then **rhythm**, then **eye trace** (where\nthe viewer is looking at the cut), then the screen\'s 2D plane, then 3D\ncontinuity. A cut that is right emotionally survives a continuity error; the\nreverse does not.\n\n- **Cut on action.** Cut in the middle of a movement \u2014 a turn, a hand\n reaching, a door \u2014 so the motion hides the cut.\n- **Cut on the eye.** Put the incoming subject where the viewer is already\n looking at the end of the outgoing shot.\n- **J cut:** the next shot\'s sound starts before its picture (we hear the\n answer, then see the speaker). **L cut:** the current sound carries over the\n next picture (the speaker keeps talking over B-roll). Both make dialogue\n flow; a straight cut on picture and sound together feels abrupt.\n- **Change the shot size or angle** across a cut of the same subject\n (wide to close, or 30\xB0 or more round). A small change looks like a jump.\n- **Keep screen direction.** People and objects keep moving the same way\n across cuts unless something turns them.\n- **Cut music on the beat or the bar**, and music edits on phrase boundaries.\n- **Let it breathe after a big moment** \u2014 hold 0.5\u20131 s before the next idea.\n\n## Pacing by format\n\n| Format | Average shot | Notes |\n| --- | --- | --- |\n| Reel / TikTok / Short | 1.1\u20131.5 s, none over about 3 s | first cut within 1 s, on the first charged word |\n| Ad (6\u201330 s) | 1\u20132 s | product or brand within the first 3\u20135 s |\n| YouTube explainer | 2\u20134 s visuals over steady voice | change the picture at least every 4\u20136 s |\n| Tutorial | as long as the action needs | zoom to the part being discussed; cut dead time |\n| Documentary / brand film | 3\u20136 s, longer holds on faces | let emotional beats breathe |\n| Music video / montage | on the beat; vary 1, 2 and 4 beats | build cut speed toward the drop |\n| Trailer | accelerate across the act; stop dead before the title | |\n\nFaster is not better by itself: change the pace to show what matters. Slow\ndown for the important line, speed up through set-up.\n\n## Cutting talking heads\n\n1. `get_transcript` (or `transcribe`). Every time comes from real word\n timings.\n2. Read every line. Keep the last clean take of each line; cut false starts\n and repeats.\n3. Cut between phrases, never inside one. Trim dead air to under 0.2 s but\n keep natural beats after commas and list markers (0.2\u20130.4 s). Remove a\n filler only when there is silence on both sides. Never speed up a voice.\n4. `apply_ai_edit` with `dryRun: true` first; check each proposed range\n against the transcript before applying.\n5. Hide jump cuts with a punch-in (scale 110\u2013120% on alternate cuts), a\n B-roll cover, or a graphic \u2014 not a dissolve.\n6. Transcripts end words 40\u201380 ms before the sound dies: cut after the decay.\n7. `create_checkpoint` before any destructive pass.\n\n## B-roll\n\n- One visual per noun phrase, starting on its word (at most 0.15 s early).\n- Prefer, in order: real footage of the thing named; a real screen recording\n zoomed to the part discussed; a clearly labelled mock; generated video with\n a concrete metaphor. `search_stock` for footage; check every result with\n `preview_media` before using it.\n- Every still or B-roll shot moves: a slow push of 3\u20138%, or a pan along the\n subject.\n- Use each B-roll shot once. Never invent results or numbers on screen.\n- In vertical video keep the speaker on screen about 45% of the time and\n never gone longer than about 3.5 s; mix split layouts (B-roll above,\n speaker below), full B-roll, and punch-ins.\n\n## Captions\n\n**Readable subtitles** (explainers, interviews, anything people must follow):\n- At most 42 characters per line and two lines, one line when it fits.\n- Reading speed at most 17\u201320 characters a second (about 160\u2013180 words a\n minute); children\'s content slower.\n- Break lines after punctuation and before conjunctions and prepositions.\n Never split an article from its noun, a first name from a last name, or a\n verb from its pronoun. Bottom-heavy shape.\n- On screen from the first word to just after the last; never across a scene\n cut if it can be avoided \u2014 split it at the cut instead.\n- Numbers one to ten in words, 11 and above in figures.\n\n**Social captions** (reels, shorts, ads):\n- 1\u20133 words per card, split on phrase boundaries (`generate_captions`\n `wordsPerChunk` 2\u20133), hard swaps, on screen two frames before the word.\n- Heavy sans, uppercase, about 60\u201364 px on a 1080\xD71920 frame, in the safe\n area \u2014 never over a mouth.\n- Colour on a quarter to a third of cards, whole card only, with fixed\n meaning (one colour for the key idea, one for the payoff or warning).\n- One style for the whole video; every card in the same box or the same\n treatment. Mixing boxed and bare looks cheap.\n- Captions are an overlay on top of the film, not a reserved band: keep the\n composition centred on the true centre of the frame.\n- Promote a word to a big designed graphic only at a real peak \u2014 at most one\n per beat and never two in a row.\n- Fix names the transcriber cannot know with `glossary`.\n\n## Sound\n\nSound is half the video. You cannot hear it, so measure it (`probe_audio`)\nand ask the user to listen.\n\n- **Tracks:** voice, music and effects on audio tracks of their own \u2014 sound on\n a video track is not mixed. Tag them with `set_audio_master` `roles`.\n- **Voice on top.** Music sits roughly 10\u201314 dB under speech\n (`set_audio_master` `ducking: true`, `duckDb` \u221210 to \u221214) and comes up\n between lines. The first second or two of a voiceover often wants the\n music lower still.\n- **Loudness targets** (integrated, from `probe_audio` `loudness`): YouTube,\n TikTok, Reels and Spotify about \u221214 LUFS; podcasts and Apple about \u221216 LUFS;\n broadcast \u221223 LUFS. True peak at or below \u22121 dBTP \u2014 turn on the limiter\n (`set_audio_master` `limiter: true`, `ceilingDb: -1`).\n- **Music** by mood: confident, darker beats for claims and news; light\n grooves for methods and how-tos; swelling strings or piano for emotion.\n Cut it on bars; end on the music\'s own ending (or a clean button), never a\n fade in the middle of a phrase. Fade in 0.3\u20131 s; fade out 1\u20133 s.\n- **Sound effects only on visible actions:** a soft air move on a real\n slide, a damped tap when a logo lands, a dry click for UI, paper for\n documents, one warm tone for a success. Vary files on repeated actions.\n No whoosh on every cut; no cartoon zaps unless the look is cartoon.\n Find them with `search_sfx` by the on-screen action ("card lands",\n "slides in", "typing") and pick by each result\'s `use` line; add with\n `add_media_file` (`sfx:<id>`), place on the sfx-role track about two frames\n before the visual. They come in at -16 dB; change that only by ear.\n- **Room tone.** Never cut voice to digital silence mid-scene; it sounds\n broken.\n- Never fade the last spoken word.\n\n## Grade\n\n- **Fix, then style.** First balance each shot: exposure so faces sit in the\n mids, white balance so whites are white, contrast so blacks are black but\n not crushed (`set_color_grade` exposure, temperature, tint, contrast).\n- **Match shots** in a scene to each other before adding a look; compare\n with `render_preview_frame` side by side.\n- **Skin first.** Midtones (`gamma`) are where skin lives; protect it when\n pushing a look. A look that turns skin green or grey is wrong whatever the\n palette.\n- **One look per video**, chosen in the brief: warm and soft for lifestyle\n and documentary; cool and contrasty for tech and thriller; lifted blacks\n (`lift`) for a film or matte feel; light saturation for premium.\n- Finish with texture when the look wants it: `filmGrain`, `halation`,\n `filmStock`, a gentle `vignette` \u2014 subtle enough that nobody names it.\n- Verify every grade by looking at frames; numbers can look right while the\n picture is wrong.\n',
22150
+ "digest": "sha256:2409fecd10f0230711b51f5e810245feb29df80c2f9555f400e5911a61cefab6"
22067
22151
  }
22068
22152
  ]
22069
22153
  },
@@ -22096,8 +22180,8 @@ var SKILLS = [
22096
22180
  {
22097
22181
  "path": "SKILL.md",
22098
22182
  "uri": "skill://goatedit/goatedit-motion-design/SKILL.md",
22099
- "text": '---\nname: goatedit-motion-design\ndescription: Motion design for GoatEdit \u2014 easing, durations, stagger, overshoot, hierarchy and holds with exact numbers; how one scene hands motion to the next (direction, matched speed, cutting mid-motion, carriers); the seam techniques (push, zoom-through, inverse zoom, match cut, morph, rack focus); keeping a scene alive without idle wobble; kinetic typography; and which GoatEdit tool does each. Use before animating anything, joining scenes, or when a video feels static, jumpy, floaty or "like slides".\n---\n\n# Motion design\n\nMotion has one job: show the viewer where to look next. Every move answers\n"what changed, and where should the eye go?" A video should feel like one\ncontinuous camera move through ideas, not a stack of slides that each animate\non their own.\n\n## The numbers\n\n| Principle | Rule |\n| --- | --- |\n| Easing | Never linear. Arriving: ease-out `[0.22,1,0.36,1]`. Leaving: ease-in `[0.55,0,1,0.45]`. Moving on screen: in-out `[0.65,0,0.35,1]`. Snappy arrivals: expo-out. |\n| Duration | Nudge 0.15 s. Entrance 0.3\u20130.5 s, never one element over 0.8 s. Across the frame 0.4\u20130.7 s. Camera push at a cut 0.35\u20130.45 s each side. Exit about 75% of its entrance. |\n| Stagger | 30\u201360 ms between siblings, in reading order or outward from the hero; the whole group inside 0.4\u20130.5 s. With 8+ items tighten the gap rather than lengthen the group. |\n| Overshoot | Pops and arrivals overshoot 5\u201310% and settle. Never on camera moves. No bounce-out or elastic-out eases: they read as a toy. |\n| Anticipation | A big exit starts with 0.1 s the other way, 3\u20135% of the distance. |\n| Hierarchy | One hero move at a time; everything else smaller, shorter or later. |\n| Consistency | Similar elements share one ease and one duration. Never a unique pair per element. |\n| Arcs | Organic things travel on curves; type and UI may go straight. |\n| Squash and stretch | Fast round things stretch along their travel and squash on impact. |\n| Motion blur | Only on fast moves, 2D layers only. |\n| Parallax | Background layers move 30\u201360% as far as the foreground. |\n| Holds | After an impact or reveal, hold 0.3\u20130.6 s. Text stays 0.3 s a word plus 0.5 s. |\n| Stillness before the payoff | Leave 0.3\u20130.75 s between the action and its result \u2014 the dramatic comma. |\n| Rhythm | Alternate fast and slow. Don\'t use the same join twice running unless it is a pattern. |\n| Sync | A visual lands 0.1\u20130.25 s before the word it shows, never after. With music, hero moves land on beats. |\n\n## One film, one current\n\n**Pick one direction for the whole video** \u2014 say, leftward \u2014 and send every\nordinary scene change that way. Other directions are reserved and mean\nsomething when spent:\n\n| Vector | Means |\n| --- | --- |\n| The current (e.g. left) | next beat, forward progress |\n| Up | a conclusion or reveal rising above what came before |\n| Zoom forward (push in) | going deeper into the same thought |\n| Zoom backward (pull out) | arrival: something bigger lands, the payoff |\n\n- Never run two scene changes back to back in opposite directions; ping-pong\n reads as a mistake. A change of direction needs a visible cause (a click,\n an impact) or a new chapter.\n\n## How one scene hands to the next\n\n**The rule:** how scene A leaves decides how scene B arrives \u2014 same axis,\nsame direction, matched speed, and the cut falls mid-motion on both sides.\n\n1. **Axis.** Sideways stays sideways, vertical stays vertical, zoom stays\n zoom.\n2. **Direction.** Never mirror. On zoom, direction is whether things grow or\n shrink: a shrinking (pull-back) exit must be answered by an entrance that\n also shrinks into place (starts oversized), not one that grows from small.\n This is the most common mistake, because grow-from-small is everyone\'s\n default entrance.\n3. **Speed.** Exit with ease-in, enter with the matching ease-out, over the\n same distance and time \u2014 the two halves of one in-out curve, so the speed\n matches at the cut.\n4. **Phase.** Cut while both sides are moving. A scene that settles to rest\n before the cut, or an entrance that starts from rest after it, is a dead\n beat.\n5. **No crossfades between scenes.** A dissolve has nothing for the eye to\n follow. Keep dissolves for time passing or a dream-like mood.\n\n**Carriers.** The eye follows objects. The strongest join hands a concrete\nthing across the cut at the same place and speed: a card that becomes the\nnext screen, a word that becomes a heading, a dot that becomes a map pin, a\ncursor mid-path. Plan carriers at storyboard time.\n\n**Partial travel.** Scene pushes travel about 12% of the frame (about 230 px\nat 1920) with a quick fade, not a full-frame slide. Full-frame slides look\nlike a slideshow.\n\n## The joins, and the GoatEdit tool for each\n\n`list_cuts` shows every cut and which ones are still (`stillCuts`).\n`join_scenes` makes them flow. `auto` picks one and says why in `picked`.\n\n| Technique | Use for | GoatEdit |\n| --- | --- | --- |\n| **Push** (cut the curve) | the default scene change, in the film\'s current | `join_scenes` type `push`, `direction` = the current, `duration` 0.3\u20130.4 |\n| **Zoom-through** | going deeper: fly into one hero element, the next scene opens out of it | `join_scenes` type `zoomThrough`, `clipId` = that element. Never into one letter of a row |\n| **Inverse zoom** | the payoff arriving: outgoing shrinks away, incoming arrives oversized and settles | push-out camera keys with `set_keyframes`: out 1\u21920.8, in 1.25\u21921, expo-out, about 0.7 s total. Spend it once or twice per video |\n| **Match cut** | one layer becomes another in the same spot | `join_scenes` type `matchCut` with `fromClipId`/`toClipId` |\n| **Morph** | every layer grows out of its partner (Smart Animate) \u2014 the strongest join | `join_scenes` type `morph`; name partners with the same last word |\n| **Rack focus** | the one cut you want seen: same surface, new state | blur spike 8\u201312 px peak at the cut with a 1.06 scale breath (`set_clip_effect` blur keyframes); at most once every 8 s |\n| **Hard cut on a beat** | energy, music videos, reels | no join; cut exactly on the beat marker |\n\nBlur on zoom joins: about 10 px for text-sized subjects, 18\u201320 px for\nfull-frame surfaces. Use two or three join types per video and repeat them;\nvariety for its own sake reads as a template showcase.\n\n## Keeping a scene alive\n\nA scene that finishes its entrance with seconds left is a planning problem.\nFill it with story, not wobble. Idle loops on graphics (floating, breathing,\npulsing glow) read as "the video is waiting" \u2014 don\'t. Each stretch between\nentrance and exit belongs to one of these:\n\n- **Staged reveals** \u2014 hold content back and reveal it on the words that\n name it. The default when a scene has two or more ideas.\n- **Camera with intent** \u2014 start wide, travel, arrive on the subject. A slow\n push on a photo or footage (3\u20138% over the shot) counts; `animate_scene`\'s\n `hold` drift on pictures does this.\n A push through a scene with depth is not one zoom: split it into planes\n (backdrop, subject, props in front) and let each grow at its own rate \u2014\n near things grow faster than far ones. Everything on one null scaled\n equally reads flat. The direct way: switch each plane to 3D\n (`set_clip_effect` type `layer3d`, `posZ` 0 for the subject, 800\u20132000 for\n backdrops, negative for foreground props) and move one `set_camera`: a\n dolly (`z`), truck (`x`), orbit (`orbit` with `pivotZ` at the subject\'s\n depth) or lens pull (`focalLength`) moves every plane by its own depth.\n 3D planes stack by depth, not track, so an orbit passes them correctly;\n keep 2D layers (titles, adjustment layers) above or below all of them\n (`lint_timeline` flags one that splits them). For a backdrop set layer3d\n `fill: 1`: it grows just enough to cover the frame for the camera\'s whole\n move, so an orbit never shows its edge. `aperture` + `focus` racks focus between planes.\n- **Rig, don\'t copy keys** \u2014 `set_keyframes` `expression` links properties\n the way After Effects does: a null named "Controls" whose `posX` drives\n many layers (`layer("Controls").posX * 100`), a cascade with\n `valueAtTime(time - (index - 1) * 0.08)` on shared keys, an idle bob as two\n keys plus `loopOut("pingpong")`, `thisLayer.scaleX` to keep proportions.\n Change the one control, and everything tied to it follows.\n- **The product doing its thing** \u2014 a progress bar fills, a count ticks, a\n highlight steps down a list.\n- **Acted-out beats** \u2014 a card files into a stack, an item is dragged, a\n result assembles.\n- **Cursor-led** \u2014 an oversized cursor walks to a button and its click\n triggers the next beat.\n\nTest: pause on any second. Something meaningful should be mid-flight.\n\n**Cause and effect.** Chain moves so each is launched by the last \u2014 click,\nsquash, release, flight, impact, recoil, reveal. A reaction starts on the\nframe of its cause, not "shortly after". Heavy things rebound slower; small\nthings snap.\n\n## Entrances\n\n- **Waterfall entry** for titles, openers and lists: words arrive from below\n one after another, each starting before the last settles, gaps shrinking,\n the last one snapping. Heavy words travel 60\u201380 px over 0.16\u20130.2 s, normal\n words 40\u201350 px over 0.13\u20130.16 s, small words 30\u201345 px over 0.1\u20130.13 s.\n Opacity cuts on rather than fading.\n- **One direction per cascade.** Never ease-in-out on an entrance.\n- **Text keeps its own animation.** A text layer gets a text preset\n (`set_text_animation`, letters or words, `delay` for its place in the\n cascade), never a block keyframe move.\n- **Text leaves the way it came.** `set_text_animation` with\n `exit: { preset, duration, stagger, order }` plays a preset out at the clip\n end, carrying on in its own direction (rises in, rises out). Exit alone,\n with no entrance, keeps the words on from frame one. For a typed line that\n deletes itself, `unit: "letter"` plus `exit: { preset: "typewriterCursor",\n stagger: 0.03 }`: last letter first, with a caret that blinks just before.\n Check the reply\'s `exitStartsAt` and any overlap warning; `exit: null`\n removes it. Kinetic presets and countUp cannot be exits.\n\n| Feel | Hero title | Text | Row of words | Picture hero | Support |\n| --- | --- | --- | --- | --- | --- |\n| smooth | `cinematicRise` | `riseFade` | `riseFade` | blurIn, zoomIn, maskReveal | fadeUp |\n| snappy | `maskRise` | `slideUp` | `maskRise` | popIn, slideIn, maskReveal | slideIn outward from the hero |\n| bouncy | `springUp` | `scaleIn` | `bounceDrop` | dropIn, popIn, spinIn | popIn |\n\nPick one feel for the whole video. `animate_scene` applies these by role\n(ground, hero, support, text, detail, follower) with `style` = the feel; use\n`dryRun: true` to see the plan, then hand-key only the hero move.\n\n## Kinetic typography\n\n- Time every word to the voice: `set_text_animation` with `syncToWords`, or\n cut each word on at its real start from `get_transcript`.\n- One to four words on screen at a time; the key word bigger, heavier or in\n the accent.\n- Vary scale and position with the rhythm of the line \u2014 a stressed word hits\n harder (`slamIn`, `focusPull`), a soft word drifts (`riseFade`).\n- Move the camera, not every word: a group of words can push or rotate as one\n (parent them to a null with `add_null` and `set_parent`).\n- Hand from line to line with a word-level push in the current\'s direction.\n\n## Stepped motion\n\nFor a hand-made, editorial or collage feel, step graphics at 12 fps inside a\n24\u201330 fps video (`set_clip_effect` `posterizeTime`). Keep camera moves and\nfootage smooth.\n\n## Workflow in GoatEdit\n\n1. Approved stills, one element per layer, layers named for their partners.\n2. `animate_scene` (`all: true` or per scene) in one feel.\n3. Hand-key the hero move with `set_keyframes` (times relative to the clip\n start; posX/posY are fractions of the frame).\n4. `list_cuts`, then `join_scenes` on each still cut, in the current.\n5. `lint_motion`; run each finding\'s `fix` calls one at a time; lint again\n until only judgement notes remain.\n6. `export_range` strips around every join and hero move, then fix what you\n see. A lint pass is not a watch.\n\nGoatEdit specifics: HTML clips crop at their box when moved \u2014 animate inside\nthem with CSS. 3D frames render slowly through the bridge, so keep strips\nshort. `describe_motion` returns the numbers `lint_motion` checks.\n',
22100
- "digest": "sha256:22953267f71aa7809e8700016d831ae2db3fb9ffd76e27c19d2c0a3b4429b24f"
22183
+ "text": '---\nname: goatedit-motion-design\ndescription: Motion design for GoatEdit \u2014 easing, durations, stagger, overshoot, hierarchy and holds with exact numbers; how one scene hands motion to the next (direction, matched speed, cutting mid-motion, carriers); the seam techniques (push, zoom-through, inverse zoom, match cut, morph, rack focus); keeping a scene alive without idle wobble; kinetic typography; and which GoatEdit tool does each. Use before animating anything, joining scenes, or when a video feels static, jumpy, floaty or "like slides".\n---\n\n# Motion design\n\nMotion has one job: show the viewer where to look next. Every move answers\n"what changed, and where should the eye go?" A video should feel like one\ncontinuous camera move through ideas, not a stack of slides that each animate\non their own.\n\n## The numbers\n\n| Principle | Rule |\n| --- | --- |\n| Easing | Never linear. Arriving: ease-out `[0.22,1,0.36,1]`. Leaving: ease-in `[0.55,0,1,0.45]`. Moving on screen: in-out `[0.65,0,0.35,1]`. Snappy arrivals: expo-out. |\n| Duration | Nudge 0.15 s. Entrance 0.3\u20130.5 s, never one element over 0.8 s. Across the frame 0.4\u20130.7 s. Camera push at a cut 0.35\u20130.45 s each side. Exit about 75% of its entrance. |\n| Stagger | 30\u201360 ms between siblings, in reading order or outward from the hero; the whole group inside 0.4\u20130.5 s. With 8+ items tighten the gap rather than lengthen the group. |\n| Overshoot | Pops and arrivals overshoot 5\u201310% and settle. Never on camera moves. No bounce-out or elastic-out eases: they read as a toy. |\n| Anticipation | A big exit starts with 0.1 s the other way, 3\u20135% of the distance. |\n| Hierarchy | One hero move at a time; everything else smaller, shorter or later. |\n| Consistency | Similar elements share one ease and one duration. Never a unique pair per element. |\n| Arcs | Organic things travel on curves; type and UI may go straight. |\n| Squash and stretch | Fast round things stretch along their travel and squash on impact. |\n| Motion blur | Only on fast moves, 2D layers only. |\n| Parallax | Background layers move 30\u201360% as far as the foreground. |\n| Holds | After an impact or reveal, hold 0.3\u20130.6 s. Text stays 0.3 s a word plus 0.5 s. |\n| Stillness before the payoff | Leave 0.3\u20130.75 s between the action and its result \u2014 the dramatic comma. |\n| Rhythm | Alternate fast and slow. Don\'t use the same join twice running unless it is a pattern. |\n| Sync | A visual lands 0.1\u20130.25 s before the word it shows, never after. With music, hero moves land on beats. |\n\n## One film, one current\n\n**Pick one direction for the whole video** \u2014 say, leftward \u2014 and send every\nordinary scene change that way. Other directions are reserved and mean\nsomething when spent:\n\n| Vector | Means |\n| --- | --- |\n| The current (e.g. left) | next beat, forward progress |\n| Up | a conclusion or reveal rising above what came before |\n| Zoom forward (push in) | going deeper into the same thought |\n| Zoom backward (pull out) | arrival: something bigger lands, the payoff |\n\n- Never run two scene changes back to back in opposite directions; ping-pong\n reads as a mistake. A change of direction needs a visible cause (a click,\n an impact) or a new chapter.\n\n## How one scene hands to the next\n\n**The rule:** how scene A leaves decides how scene B arrives \u2014 same axis,\nsame direction, matched speed, and the cut falls mid-motion on both sides.\n\n1. **Axis.** Sideways stays sideways, vertical stays vertical, zoom stays\n zoom.\n2. **Direction.** Never mirror. On zoom, direction is whether things grow or\n shrink: a shrinking (pull-back) exit must be answered by an entrance that\n also shrinks into place (starts oversized), not one that grows from small.\n This is the most common mistake, because grow-from-small is everyone\'s\n default entrance.\n3. **Speed.** Exit with ease-in, enter with the matching ease-out, over the\n same distance and time \u2014 the two halves of one in-out curve, so the speed\n matches at the cut.\n4. **Phase.** Cut while both sides are moving. A scene that settles to rest\n before the cut, or an entrance that starts from rest after it, is a dead\n beat.\n5. **No crossfades between scenes.** A dissolve has nothing for the eye to\n follow. Keep dissolves for time passing or a dream-like mood.\n\n**Carriers.** The eye follows objects. The strongest join hands a concrete\nthing across the cut at the same place and speed: a card that becomes the\nnext screen, a word that becomes a heading, a dot that becomes a map pin, a\ncursor mid-path. Plan carriers at storyboard time.\n\n**Partial travel.** Scene pushes travel about 12% of the frame (about 230 px\nat 1920) with a quick fade, not a full-frame slide. Full-frame slides look\nlike a slideshow.\n\n## The joins, and the GoatEdit tool for each\n\n`list_cuts` shows every cut and which ones are still (`stillCuts`).\n`join_scenes` makes them flow. `auto` picks one and says why in `picked`.\n\n| Technique | Use for | GoatEdit |\n| --- | --- | --- |\n| **Push** (cut the curve) | the default scene change, in the film\'s current | `join_scenes` type `push`, `direction` = the current, `duration` 0.3\u20130.4 |\n| **Zoom-through** | going deeper: fly into one hero element, the next scene opens out of it | `join_scenes` type `zoomThrough`, `clipId` = that element. Never into one letter of a row |\n| **Inverse zoom** | the payoff arriving: outgoing shrinks away, incoming arrives oversized and settles | push-out camera keys with `set_keyframes`: out 1\u21920.8, in 1.25\u21921, expo-out, about 0.7 s total. Spend it once or twice per video |\n| **Match cut** | one layer becomes another in the same spot | `join_scenes` type `matchCut` with `fromClipId`/`toClipId` |\n| **Morph** | every layer grows out of its partner (Smart Animate) \u2014 the strongest join | `join_scenes` type `morph`; name partners with the same last word |\n| **Rack focus** | the one cut you want seen: same surface, new state | blur spike 8\u201312 px peak at the cut with a 1.06 scale breath (`set_clip_effect` blur keyframes); at most once every 8 s |\n| **Hard cut on a beat** | energy, music videos, reels | no join; cut exactly on the beat marker |\n\nBlur on zoom joins: about 10 px for text-sized subjects, 18\u201320 px for\nfull-frame surfaces. Use two or three join types per video and repeat them;\nvariety for its own sake reads as a template showcase.\n\n## Keeping a scene alive\n\nA scene that finishes its entrance with seconds left is a planning problem.\nFill it with story, not wobble. Idle loops on graphics (floating, breathing,\npulsing glow) read as "the video is waiting" \u2014 don\'t. Each stretch between\nentrance and exit belongs to one of these:\n\n- **Staged reveals** \u2014 hold content back and reveal it on the words that\n name it. The default when a scene has two or more ideas.\n- **Camera with intent** \u2014 start wide, travel, arrive on the subject. A slow\n push on a photo or footage (3\u20138% over the shot) counts; `animate_scene`\'s\n `hold` drift on pictures does this.\n A push through a scene with depth is not one zoom: split it into planes\n (backdrop, subject, props in front) and let each grow at its own rate \u2014\n near things grow faster than far ones. Everything on one null scaled\n equally reads flat. The direct way: switch each plane to 3D\n (`set_clip_effect` type `layer3d`, `posZ` 0 for the subject, 800\u20132000 for\n backdrops, negative for foreground props) and move one `set_camera`: a\n dolly (`z`), truck (`x`), orbit (`orbit` with `pivotZ` at the subject\'s\n depth) or lens pull (`focalLength`) moves every plane by its own depth.\n 3D planes stack by depth, not track, so an orbit passes them correctly;\n keep 2D layers (titles, adjustment layers) above or below all of them\n (`lint_timeline` flags one that splits them). For a backdrop set layer3d\n `fill: 1`: it grows just enough to cover the frame for the camera\'s whole\n move, so an orbit never shows its edge. `aperture` + `focus` racks focus between planes.\n- **Rig, don\'t copy keys** \u2014 `set_keyframes` `expression` links properties\n the way After Effects does: a null named "Controls" whose `posX` drives\n many layers (`layer("Controls").posX * 100`), a cascade with\n `valueAtTime(time - (index - 1) * 0.08)` on shared keys, an idle bob as two\n keys plus `loopOut("pingpong")`, `thisLayer.scaleX` to keep proportions.\n Change the one control, and everything tied to it follows.\n- **Animate the shape, not just its transform** \u2014 `set_keyframes` keys a\n shape layer\'s `shapeWidth`, `shapeHeight`, `shapeCornerRadius`,\n `shapeStrokeWidth`, `shapeDash` and `shapeGap`: a bar that grows from its\n edge instead of stretching its corners, a pill that rounds into a circle.\n Key width and height together on a square or circle.\n- **The product doing its thing** \u2014 a progress bar fills, a count ticks, a\n highlight steps down a list.\n- **Acted-out beats** \u2014 a card files into a stack, an item is dragged, a\n result assembles.\n- **Cursor-led** \u2014 an oversized cursor walks to a button and its click\n triggers the next beat.\n\nTest: pause on any second. Something meaningful should be mid-flight.\n\n**Cause and effect.** Chain moves so each is launched by the last \u2014 click,\nsquash, release, flight, impact, recoil, reveal. A reaction starts on the\nframe of its cause, not "shortly after". Heavy things rebound slower; small\nthings snap.\n\n## Entrances\n\n- **Waterfall entry** for titles, openers and lists: words arrive from below\n one after another, each starting before the last settles, gaps shrinking,\n the last one snapping. Heavy words travel 60\u201380 px over 0.16\u20130.2 s, normal\n words 40\u201350 px over 0.13\u20130.16 s, small words 30\u201345 px over 0.1\u20130.13 s.\n Opacity cuts on rather than fading.\n- **One direction per cascade.** Never ease-in-out on an entrance.\n- **Text keeps its own animation.** A text layer gets a text preset\n (`set_text_animation`, letters or words, `delay` for its place in the\n cascade), never a block keyframe move.\n- **Text leaves the way it came.** `set_text_animation` with\n `exit: { preset, duration, stagger, order }` plays a preset out at the clip\n end, carrying on in its own direction (rises in, rises out). Exit alone,\n with no entrance, keeps the words on from frame one. For a typed line that\n deletes itself, `unit: "letter"` plus `exit: { preset: "typewriterCursor",\n stagger: 0.03 }`: last letter first, with a caret that blinks just before.\n Check the reply\'s `exitStartsAt` and any overlap warning; `exit: null`\n removes it. Kinetic presets and countUp cannot be exits.\n\n| Feel | Hero title | Text | Row of words | Picture hero | Support |\n| --- | --- | --- | --- | --- | --- |\n| smooth | `cinematicRise` | `riseFade` | `riseFade` | blurIn, zoomIn, maskReveal | fadeUp |\n| snappy | `maskRise` | `slideUp` | `maskRise` | popIn, slideIn, maskReveal | slideIn outward from the hero |\n| bouncy | `springUp` | `scaleIn` | `bounceDrop` | dropIn, popIn, spinIn | popIn |\n\nPick one feel for the whole video. `animate_scene` applies these by role\n(ground, hero, support, text, detail, follower) with `style` = the feel; use\n`dryRun: true` to see the plan, then hand-key only the hero move.\n\n## Kinetic typography\n\n- Time every word to the voice: `set_text_animation` with `syncToWords`, or\n cut each word on at its real start from `get_transcript`.\n- One to four words on screen at a time; the key word bigger, heavier or in\n the accent.\n- Vary scale and position with the rhythm of the line \u2014 a stressed word hits\n harder (`slamIn`, `focusPull`), a soft word drifts (`riseFade`).\n- Move the camera, not every word: a group of words can push or rotate as one\n (parent them to a null with `add_null` and `set_parent`).\n- Hand from line to line with a word-level push in the current\'s direction.\n\n## Stepped motion\n\nFor a hand-made, editorial or collage feel, step graphics at 12 fps inside a\n24\u201330 fps video (`set_clip_effect` `posterizeTime`). Keep camera moves and\nfootage smooth.\n\n## Workflow in GoatEdit\n\n1. Approved stills, one element per layer, layers named for their partners.\n2. `animate_scene` (`all: true` or per scene) in one feel.\n3. Hand-key the hero move with `set_keyframes` (times relative to the clip\n start; posX/posY are fractions of the frame).\n4. `list_cuts`, then `join_scenes` on each still cut, in the current.\n5. `lint_motion`; run each finding\'s `fix` calls one at a time; lint again\n until only judgement notes remain.\n6. `export_range` strips around every join and hero move, then fix what you\n see. A lint pass is not a watch.\n\nGoatEdit specifics: HTML clips crop at their box when moved \u2014 animate inside\nthem with CSS. 3D frames render slowly through the bridge, so keep strips\nshort. `describe_motion` returns the numbers `lint_motion` checks.\n',
22184
+ "digest": "sha256:b3e82f40c23ddc9983d492580a4bd7c4647e2415d96d6245b839fe2253032101"
22101
22185
  }
22102
22186
  ]
22103
22187
  },
@@ -25505,6 +25589,7 @@ for (const [alias, name] of Object.entries(TOOL_ALIASES)) {
25505
25589
  const tool = BROWSER_TOOLS_BY_NAME.get(name);
25506
25590
  if (tool) BROWSER_TOOLS_BY_NAME.set(alias, tool);
25507
25591
  }
25592
+ var PROJECT_FREE_TOOLS = /* @__PURE__ */ new Set(["create_project", "begin_request", "record_choice", "set_style_brand"]);
25508
25593
  var SAVES_FRAMES = new Set(
25509
25594
  BROWSER_TOOLS.filter((t) => "saveToDisk" in (t.inputSchema.properties ?? {})).map((t) => t.name)
25510
25595
  );
@@ -25544,11 +25629,20 @@ async function callTool(name, args) {
25544
25629
  if (!tool) {
25545
25630
  throw new McpError(ErrorCode.MethodNotFound, `Unknown tool: ${name}`);
25546
25631
  }
25547
- const saveToDisk = SAVES_FRAMES.has(name) && forwarded.saveToDisk === true;
25548
- if (saveToDisk) delete forwarded.saveToDisk;
25632
+ const saveToDisk = SAVES_FRAMES.has(name) && forwarded.saveToDisk !== false;
25633
+ if (SAVES_FRAMES.has(name)) forwarded.saveToDisk = false;
25549
25634
  const invalid = validateArgs(tool, forwarded);
25550
25635
  if (invalid) throw new McpError(ErrorCode.InvalidParams, invalid);
25551
25636
  const target = projectId ?? chosenProjectId;
25637
+ if (!target && !READ_ONLY_TOOLS.has(tool.name) && !PROJECT_FREE_TOOLS.has(tool.name)) {
25638
+ const open = connectedProjects();
25639
+ if (open.length > 1) {
25640
+ throw new McpError(
25641
+ ErrorCode.InvalidParams,
25642
+ `${open.length} projects are open, so ${tool.name} needs projectId to say which one it edits. Open: ${open.map((p) => `${p.name ?? "untitled"} (${p.projectId})`).join(", ")}. Pass projectId on the call (or once on run_tools), or call use_project first.`
25643
+ );
25644
+ }
25645
+ }
25552
25646
  if (name === "import_local_file") return importLocalFile(forwarded, target);
25553
25647
  const result = await sendToBrowser(tool.method, forwarded, target);
25554
25648
  const withFile = saveFileToDisk(result);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "goatedit-mcp",
3
- "version": "1.1.19",
3
+ "version": "1.1.20",
4
4
  "description": "Local MCP server for the GoatEdit video editor: drive your open editor tab from Claude Code or any MCP client",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",