Communitygithub.com

motion-rules-cutin

Video and animation skill. Plan and render high-impact, full-screen 9:16 motion graphics cut-ins designed to elevate talking-head videos. Features a 48 px graph-paper canvas, heavy black caps titles with italic serif subtitles, speech-synchronized ghost-to-black title reveals, bright yellow numbered signposts, and a recurring pixel-art proxy mascot carrying documents and climbing code stacks. Designed by Shyamal Joshi.

Qu'est-ce que motion-rules-cutin ?

motion-rules-cutin is a Claude Code agent skill that video and animation skill. Plan and render high-impact, full-screen 9:16 motion graphics cut-ins designed to elevate talking-head videos. Features a 48 px graph-paper canvas, heavy black caps titles with italic serif subtitles, speech-synchronized ghost-to-black title reveals, bright yellow numbered signposts, and a recurring pixel-art proxy mascot carrying documents and climbing code stacks. Designed by Shyamal Joshi.

Compatible avec~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/shyamaljoshi1/motion-graphics-skills/tree/HEAD/skills/motion-rules-cutin

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Graph-Paper & Mascot Cut-In Motion Graphics

A tactical motion graphics specification engineered for editors and creators who produce talking-head videos and want strategically placed, 100% full-screen animated cut-ins that dramatically boost viewer retention and clarify complex points.

Visual Aesthetic: Warm off-white graph-paper background (48 px grid), heavy poster-weight black caps headlines, italic serif subtitle pairings, speech-synchronized ghost-to-black title fills, yellow signpost badges, and a charming orange pixel-art mascot that interacts with documents, code stacks, and branching logic.


0. Non-Negotiable Core Rules

  1. 100% Full-Screen Cut-Ins: When an animated graphic plays, it is 100% full-screen. Never use overlays, lower thirds, or split screens on top of the host. The host footage is fully concealed during the cut-in.
  2. Selective Strategic Coverage: Graphics are deployed strategically across 35% to 45% of total video runtime. Do not animate moments carried by the host's personal emotion or delivery; animate moments involving rules, data, lists, and mental models.
  3. Clip Durations: Each individual cut-in runs 3 to 10 seconds, cutting in and out cleanly on speech clause boundaries.
  4. Standalone Video Exports: Each graphic is rendered as its own clean MP4 clip (no audio), named with precise in/out timecodes for effortless dropping onto the editor's timeline.
  5. Technical Standards:
    • Canvas: 9:16 vertical (1080×1920 recommended, 720×1280 base).
    • Frame Rate: Match host video frame rate exactly (25, 30, or 60 fps constant).
    • Codec: H.264 (libx264), yuv420p, CRF 14–16, -preset slow.
    • Audio: Muted video stream (host audio plays on editor timeline).

1. Spatial Layout Grid & Safe Margins (9:16)

┌───────────────────────────────────────────────┐ 0%
│  Top Margin Safe Area                         │ 0% – 9%
├───────────────────────────────────────────────┤ 9%
│  HERO TITLE BLOCK (Ghost-to-Black Reveal)     │ 9% – 25%
│  Line 1: Italic Serif Subtitle (~42px)        │
│  Line 2: Heavy All-Caps Headline (~74px)      │
├───────────────────────────────────────────────┤ 25%
│                                               │
│  STAGE ARENA                                  │ 25% – 78%
│  - Pixel-Art Mascot interacting with props    │
│  - Yellow Signposts, Document Stacks,         │
│  - Branching Decision Paths, Test Loops       │
│                                               │
├───────────────────────────────────────────────┤ 78%
│  SYNCHRONIZED CAPTION BAR                     │ 78% – 88%
│  2–4 word chunks, hard-swapped on beat        │
├───────────────────────────────────────────────┤ 88%
│  Bottom Safe Margin (Platform UI clearance)   │ 88% – 100%
└───────────────────────────────────────────────┘

2. Design Tokens & Color Palette

:root {
  /* Canvas Surfaces */
  --bg-center:       #F2F2ED; /* Center soft highlight */
  --bg-base:         #EDEDE8; /* Base graph paper off-white */
  --bg-edge:         #E8E8E3; /* Subtle corner vignette */
  --grid-line:       #E5E5E0; /* 48 px grid lines (multiples of 48) */
  
  /* Ink & Typography */
  --ink:             #090904; /* High-contrast headlines and outlines */
  --ghost-grey:      #C9C9C4; /* Inactive title words awaiting speech */
  --doc-line-grey:   #CFCFCA; /* Faint placeholder lines inside documents */
  
  /* Signature Accents */
  --accent-yellow:   #FFD11F; /* Signposts, highlighted docs, focus badges */
  --signpost-brown:  #89572F; /* Wooden signpost stakes, scroll rods */
  --mascot-orange:   #D77A5B; /* Pixel-art mascot body fill */
  --slab-dark:       #202028; /* Code slabs and line stacks */
  
  /* State Indicators */
  --state-green:     #1FA855; /* Verified pass checkmarks */
  --state-red:       #E5383B; /* Struck-out wrong claims, torn documents */
  --state-blue:      #637AE7; /* Selection handles and connector paths */
}

Discipline: Strictly warm off-white + black ink + bright yellow + orange mascot. Red and green are reserved exclusively for binary pass/fail indicators.


3. Recurring Prop & Mascot Anatomy

  1. Pixel-Art Proxy Mascot:
    • 130 px wide stylized orange figure (#D77A5B) with bold black outlines and a clean white sticker contour.
    • Serves as the audience/AI proxy: carries documents, hops between code slabs, rides test loops, and reacts to outcomes.
    • Continuous 2-frame walking bob animation; never sits motionless for more than 1 second.
  2. Tactile Document Sheets:
    • White rounded rectangle (radius 8 px) with folded corner, 3 px black outline, and faint gray text lines.
    • Variants: Yellow (the modified file), Torn/Red (syntax error/regression), Scroll (system prompt between brown rods).
  3. Yellow Signpost Badges:
    • Yellow rounded badge with black number circle on left, bold caps rule title, and a brown vertical post below.
  4. Branching Decision Paths:
    • Black solid trunk splitting into two dotted paths with ? markers.
  5. Code Slab Stacks:
    • Heavy dark horizontal slabs (#202028) stacking on top of one another (5–8 per second) with numeric counters ("1,000 lines" vs "50 lines").
  6. Iterative Test Loop:
    • Two thick curved arrows circling a central TEST box that flips state: neutral → red ✕ → green ✓.

4. Motion Mechanics & Title Ghost-Fills

The Signature Ghost-to-Black Title Reveal:

  • When a cut-in appears, the entire title block is immediately present on screen rendered in ghost gray (#C9C9C4, ~35% opacity).
  • As each word is spoken by the narrator, it transitions instantly to solid black (#090904).
  • Italic serif subtitle enters a beat later and fills in identical speech-locked fashion.

Movement & Cut Principles:

  • Scene Entrances & Exits: Hard cut on speech boundaries (no wipes or cross-fades).
  • Element Pops: Scale 0.8 -> 1.06 -> 1.0 over 0.25 s (power2.out).
  • Hold Duration: Final resolved frame holds for ≥ 0.4 s before cutting back to host footage.

5. Cut-In Scene Selection & Planning Workflow

[Full Host Video] ──────────► 1. Transcribe with Word Timestamps
                                       │
                                       ▼
                              2. Identify Visual Concepts (35%–45% of total time)
                                       │
                                       ▼
                              3. Write Shot List & Timecodes (cue_sheet.md)
                                       │
                                       ▼
                              4. Render Clean Silent MP4 Clips

Shot List Schema (cue_sheet.md):

| Clip ID | In Timecode | Out Timecode | Duration | Spoken Narration | Visual Recipe |
|---|---|---|---|---|---|
| MG_01 | 00:04:12 | 00:09:18 | 5.2 s | "If you touch one prompt..." | Torn Doc + Red X |
| MG_02 | 00:15:00 | 00:21:05 | 6.0 s | "Rule 1: Never guess" | Yellow Signpost + Mascot |

6. FFmpeg Batch Rendering Command

# Render cut-in graphic clip with exact timecode flags
ffmpeg -framerate 30 -i frames/%05d.png \
  -c:v libx264 -preset slow -crf 15 -pix_fmt yuv420p \
  -an -movflags +faststart \
  MG_01_rule_one_00-15-00-21.mp4

7. Quality Assurance Checklist

  • Every rendered graphic is 100% full-screen; host is completely hidden.
  • Total animated coverage is calculated and falls strictly between 35% and 45% of host duration.
  • No audio track embedded; video is silent to avoid clashing with host timeline audio.
  • Title ghost-to-black reveal triggers precisely on spoken words.
  • Pixel mascot maintains its signature 2-frame walking bob.
  • Output files are named with host timecodes matching cue_sheet.md.

Individual skills in this repo

This repo contains 3 individual skills — each has its own dedicated page.

Skills associés