Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

motion-render

БесплатноБез исполняемых скриптовНе проверен

Use when turning a locked brief and beat map into a film file — deterministic seek(t) scene split into classic scripts (springs, springSum, stagger, density…

Fusengineот Fusengine★ 36 звёзд на GitHub

Об этом скилле

The production half of the fuse-motion pipeline: from `.motion/brief.md` and `.motion/beats.md` (owned by `motion-method`) to a verified file. A film is a pure function of time — an HTML or canvas scene exposing `window.seek(t)` — captured frame by frame by headless Chrome over the DevTools Protocol with zero dependencies, then encoded by ffmpeg (H.264 mp4 + palette GIF). Rendering is staged: `stills` (the default when `--stage` is omitted, so a forgotten flag can never skip a gate) → owner gate G1 → `draft` 540p → critic + owner gate G2 → `master`, whose FILE is verified by ffprobe, frame count, byte budget and SSIM against the approved stills.

Terminal subjects use VHS tapes; sound, when the brief asks for it, follows the audio reference. Templates are generalized from the proven docs/demo/statusline-mod/ and docs/demo/hook-sniper.tape pipelines and were run end to end before shipping.

Motion Render

Agent Workflow (MANDATORY)

  1. Read the locked inputs: .motion/brief.md (surfaces, byte budgets, aspect, duration) and .motion/beats.md — if either is missing, go back to motion-method.
  2. Check tools: ffmpeg -version, ffprobe -version, bun --version, a Chrome binary (or CHROME_BIN); vhs --version + ttyd for terminal films. Missing tool → say so, never fake a render.
  3. Scaffold the scene: motion-art-direction templates FIRST — composition-grid (layout), kinetic-type (word behaviours), cut-rhythm (beat map) — only after look.md and the key frames exist. This skill then adds the mechanics: the shell, the seek clock, capture and encode (never hand-roll a capture).
  4. Render stills → STOP at G1. draft → motion-critic → STOP at G2. master → verify the FILE. The harness motion scope denies draft/master until the owner types MOTION-APPROVE — stop at each gate anyway, never lean on the deny.
  5. Hand off: lead runs fuse-ai-pilot:sniper on the scripts and the challenger on the "done" claim.

Overview

Concern Choice Reference
Scene DOM, 2D canvas or a WebGL layer with window.seek(t), DURATION, FPS, STILLS, ready; a gesture in progress at every moment (validateDensity); look from motion-art-direction seek-contract.md
Reproducibility Time-driven only, seeded PRNG, double rAF, proven vs reported flags; CSS 3D and lit WebGL paths determinism.md
Stages stills (default, one per beat) → draft → master, budget log, --jobs chunks stages-budgets.md
Encoding libx264 yuv420p BT.709 faststart; GIF palettegen/paletteuse; master motion blur from subframes + tmix encoding.md
Delivery GIF inline + mp4 link on GitHub delivery-github.md
Terminal VHS tape + scripted demo vhs-terminal.md
Proof ffprobe facts, exact frames, budgets, SSIM, spikes, color tags verification.md
Sound Licensed track ~120 BPM, beat grid measured from the song, start on a downbeat, SFX by measured peak, -14 LUFS, silent cut audio.md

Critical Rules

  1. seek(t) is pure — same t, same pixels, any order. No CSS animation, no wall clock, no unseeded randomness, no state between frames.
  2. --stage defaults to stills — omitting it cannot skip a gate; unknown values exit 2. Pass a literal stage: the harness counts --stage "$S" as master. Stop at G1 and G2.
  3. Verify the file, not the frames — exact DURATION x FPS frames, h264/yuv420p, budget, SSIM vs approved stills. "ffmpeg exited 0" is not proof.
  4. No invented flags or APIs — every Chrome/ffmpeg option is either proven by the reference pipeline or labelled "reported, verify".
  5. Facts from files only — on-screen numbers from .motion/facts.md, labelled example data; no client names, no real spend, real masked screenshots (motion-assets).
  6. Fix in the scene, not with re-renders — a critic finding is a code change + a new draft, never a sequence of masters.

Architecture

.motion/
├── brief.md, beats.md, facts.md, assets.json   ← motion-method / motion-assets
├── scene/index.html + lib.js, beats.js|rhythm.js, grid.js, kinetic.js, timeline.js
│                                               ← classic scripts in that order (each within `FUSE_SOLID_MAX_LINES`):
│                                                 index-skeleton.md shell + timeline-seek.md clock
├── capture.js                                  ← capture-cdp.md
├── render.js + encode.js                       ← render-cli.md
├── terminal.tape + terminal-demo.sh            ← vhs-tape.md (terminal films)
├── stills/   still-1..N.png, contact.png       (G1 artifact)
├── out/      draft.mp4 (G2 artifact), master.
Полный SKILL.md на GitHub

Установить motion-render в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/audio.mdreferences/delivery-github.mdreferences/determinism.mdreferences/encoding.mdreferences/seek-contract.mdreferences/stages-budgets.mdreferences/templates/capture-cdp.mdreferences/templates/index-skeleton.mdreferences/templates/interaction-kit.mdreferences/templates/render-cli.mdreferences/templates/timeline-seek.mdreferences/templates/vhs-tape.mdreferences/templates/webgl-scene.mdreferences/verification.mdreferences/vhs-terminal.md

FAQ

Что делает скилл motion-render?

Use when turning a locked brief and beat map into a film file — deterministic seek(t) scene split into classic scripts (springs, springSum, stagger, density validator, actor, CSS 3D, cursor interaction, pinned lit three.js), zero-dependency Chrome capture, staged render (stills one per beat → draft → master with subframe motion blur, stills by default), ffmpeg mp4 + GIF, VHS terminal films, audio on a measured beat grid, and verification of the delivered file.

Как установить скилл motion-render?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл motion-render запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить motion-render с