360 Secure SkillHub
360 安全技能中心

motion-library

该 Skill 面向动效设计:下载并逐帧拆解品牌参考视频,测量声音与节奏,沉淀技法库和索引;再按 brief 选取参考、编写分镜、搭建 Blender 场景、拼接 ripomatic 并交付原创影片方案。

分类:创作
ronkenx9
热度 0.00
最近更新 2026-12-03 17:51:37

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add ronkenx9/motion-library-skill/motion-library
兼容性
通用兼容
联网要求
需要联网
数据出网
可选出网
Metadata
name
motion-library
description
Use this when building or growing a library of motion-design techniques from real brand videos, when breaking down a motion reference shot by shot, or when turning that library into an original storyboard or concept for a brief, and when building a whole film from references (picking refs per beat, Blender staging, transitions, and sound taken from what the references play on the same events). Do not use it to copy a reference.

Motion library: learn why great motion works, then invent

The goal is not to copy reference videos. Learn why great motion works, then invent original moves that still clear that bar.

First-Time Onboarding & Tool Check

When a user is new to motion-library (or starting in a new environment / project), run scripts/onboard.sh first:

  • It explains the 4 workflows (Grow Library → Study → Ripomatic → Original Film).
  • It checks required & recommended tools (ffmpeg, ffprobe, yt-dlp, python3, numpy, Blender, Google Chrome, node, uv, gemini-api) and prints exact install commands for anything missing before any work fails mid-run.

Load these files when you need them (paths are relative to this skill folder):

  • references/principles.md — ten evidence-backed principles and the remix operators
  • references/technique-families.md — families grouped by use (hook, feature, explainer, social proof, end card), with After Effects, Blender and code recipes
  • references/premium-sound.md — what brand mixes measure like, and how to build premium sound
  • brand/BRAND.md — the skill's own identity (twin-stars logo, colours, type, the stripes-are-the-past rule) with ready SVG/PNG files
  • references/preflight-checklist.md — rules and the checklist to run before every storyboard or render
  • references/breakdown-template.md — the breakdown file format
  • references/reference-to-film.md — the end-to-end way a film is built from references (X "2.7"): pick refs per beat, ripomatic, frame-by-frame study, assets first, Blender staging, transitions, pacing, delivery, owner rules
  • references/sound-from-references.md — pick each sound effect from what the references play on the same event; place cues in scene time; mix numbers
  • scripts/onboard.sh — first-time onboarding guide + checks required/recommended tools (ffmpeg, yt-dlp, Blender, Chrome, numpy, gemini-api) and suggests installs if missing
  • scripts/fetch.sh, scripts/extract.sh, scripts/analyze_sound.py — download (incl. --audio-only fast-path), frame (macOS-safe even without drawtext), and measure tempo, onsets, spectral bands, quiet pockets, and classified SFX hits
  • scripts/ingest.sh — one-command pipeline (fetch.sh → extract.sh → analyze_sound → raw MP4 cleanup)
  • scripts/make_ripomatic.py — frame-accurate ripomatic stitcher from shots.txt (validates bounds, resets PTS, normalizes to 1080p30, checks motion variance so clips never freeze, optionally muxes BG audio + builds 6×4 sheet)
  • scripts/rebuild_index.py — rebuild CATALOG.md + techniques.tsv from breakdowns/*.md, and query techniques by --query, --use, or --category
  • scripts/scan_sfx_refs.py — find the sound hits in reference windows, tag their kind, save the frame at each hit (pair sound with event)
  • scripts/beat_grid.py — tempo + first beat of a music window, so scenes can be authored in whole beats
  • scripts/blender_xfx.py — Blender helpers: sweep() gradient text reveal, retime() slow/speed a whole scene incl. image sequences
  • scripts/gradient_wipe.py — full-screen gradient light-band wipe between two clips
  • scripts/build_index.py — writes library/films.json and library/stats.json from the references and your library's CATALOG.md; the Motion Library site reads these live from GitHub, so run it and push after adding breakdowns

The owner's working library (videos, frames, breakdowns, lessons) is a separate folder. Pass it to the scripts with --library or the MOTION_LIBRARY environment variable. The default is ./motion-library.

A. Grow the library

  1. Pick sources. Prefer official brand uploads (check the channel name; fan re-uploads are common) and the most-saved motion posts on X. Skip live action, talking heads, screen recordings and near-duplicates, and log each exclusion with a reason.
  2. Fetch, frame, and measure sound in one command. Run scripts/ingest.sh --library <dir> <slug> <url> (or run fetch.sh, extract.sh, and analyze_sound individually). extract.sh auto-detects drawtext support so it works on macOS Homebrew ffmpeg; analyze_sound outputs frames/<slug>/sound.json with tempo, cut-to-onset sync vs chance, dynamic range, 3-band spectral balance, quiet pockets, and top classified SFX hits.
  3. Break down each video. Follow references/breakdown-template.md: overall feel, a shot-by-shot table, why it works, a full measured ## Sound section (plus at least one sound row in ## Techniques), and a techniques table tagged by category and by use. Only claim what you saw or measured, and say when a claim is from frames/measurements rather than from listening.
  4. Rebuild & query the indexes. Run scripts/rebuild_index.py --library <dir> to update CATALOG.md and techniques.tsv (or pass --query / --use / --category when picking references for a new brief).
  5. Clean up disk. ingest.sh removes the raw .mp4 automatically once sheets/<slug>.jpg exists (pass --keep-video if you still need it for scan_sfx_refs.py). Keep each source URL in the breakdown so it can be re-fetched.

B. The possibilities guide

Work from references/principles.md and references/technique-families.md. Start with the principles, then the remix operators, then technique cards grouped by use. Each card has recipes, public reference links, and invention prompts that push past the reference. Design sound with references/premium-sound.md: generic sound effects are the clearest tell of cheap or AI-made motion.

C. Use it on a brief

For a product launch film, board it first with the companion skill launch-storyboard: brief and target customer, hook, retention arc, the product's real UI library found and downloaded online, then 4–6 frames. Then run the steps below on that board.

  1. Name the use for each beat (hook, feature, explainer, social proof, end card).
  2. Pick one or two technique families per beat, read why they work, then run the invention prompts and remix operators until you have a move none of the references made.
  3. Storyboard each beat with timing, the visual, the motion move, on-screen text, and the sound cue. One idea per beat, one accent colour, a clear hero, a setup that pays off, and the 3–5 key actions that must land on a real sound.
  4. Run the pre-flight checklist in references/preflight-checklist.md before every storyboard or render.
  5. Keep a lessons file of the owner's revision notes, written as rules. Add each new round of feedback. A template is at the end of the checklist file.

Never post or publish anything. Hand concepts and renders to the owner for review. Only claim what was seen or measured.

D. Build a film from references (default workflow)

Follow references/reference-to-film.md. In short:

  1. Story in text first, then pick one reference per beat from the whole library (fetch missing ones) and cut a ripomatic.
  2. Study each reference frame by frame: measure the framing and timing, then compare side by side.
  3. Build the assets first from real sources: real device models, real UI rebuilt in HTML with the brand font, owner-named image sources, and the owner's own recordings with private content cut.
  4. Stage each beat as a Blender script. Check stills before any render.
  5. Every seam is a move (drop and rise, spin, gradient sweep or wipe, blur dissolve). Scenes run in whole beats, readable before short, one action at a time.
  6. Sound comes from the references, per references/sound-from-references.md. Typing is loud and the music ducks under it.
  7. Assemble, read the loudness and a contact sheet, then deliver. Render only when asked.