Skip to content

norahe0304-art/30x-video / cli/skill

30x-web-to-video

Flagged

Use when a user gives a brand URL and wants a premium launch, demo, or marketing video. Zero-manual workflow — Claude runs the V2 orchestrator itself (scrapes brand evidence, auto-installs missing tools, generates the first-cut Remotion project). User only sees the URL and the Studio preview.

FileKindSize
.gitignoreother103 B
AGENTS.mdmarkdown2.5 KB
FUSION-REPORT.mdmarkdown12.3 KB
README.mdmarkdown3.6 KB
SKILL.mdskill md30.7 KB
benchmarks/AGENTS.mdmarkdown773 B
benchmarks/README.mdmarkdown2.8 KB
benchmarks/manifest.jsonconfig5.9 KB
examples/INDEX.mdmarkdown1.8 KB
examples/caylent/MainVideo.tsxother6.0 KB
examples/caylent/scenes-v2/Act1V2.tsxother1.9 KB
examples/caylent/scenes-v2/Act2V2.tsxother2.5 KB
examples/caylent/scenes-v2/Act3V2.tsxother11.3 KB
examples/caylent/scenes-v2/Act4V2.tsxother8.6 KB
examples/caylent/scenes-v2/Act5V2.tsxother1.0 KB
examples/caylent/scenes/Act1.tsxother6.0 KB
examples/caylent/scenes/Act2.tsxother2.5 KB
examples/caylent/scenes/Act3.tsxother7.4 KB
examples/caylent/scenes/Act4.tsxother7.1 KB
examples/caylent/scenes/Act5.tsxother2.2 KB
examples/caylent/theme.tsscript1.2 KB
examples/cofounder/MainVideo.tsxother5.5 KB
examples/cofounder/scenes/AGENTS.mdmarkdown1.4 KB
examples/cofounder/scenes/Act1.tsxother2.3 KB
examples/cofounder/scenes/Act2.tsxother2.4 KB
examples/cofounder/scenes/Act3a.tsxother6.7 KB
examples/cofounder/scenes/Act3b.tsxother8.5 KB
examples/cofounder/scenes/Act3c.tsxother6.8 KB
examples/cofounder/scenes/Act4.tsxother4.4 KB
examples/cofounder/scenes/Act5.tsxother3.3 KB
examples/cofounder/scenes/World.tsxother4.0 KB
examples/cofounder/theme.tsscript1.5 KB
examples/happy-model/MainVideo.tsxother6.8 KB
examples/happy-model/scenes/AGENTS.mdmarkdown1.7 KB
examples/happy-model/scenes/Act1.tsxother7.9 KB
examples/happy-model/scenes/Act2.tsxother10.2 KB
examples/happy-model/scenes/Act3.tsxother15.6 KB
examples/happy-model/scenes/Act4.tsxother16.9 KB
examples/happy-model/scenes/Act5.tsxother9.0 KB
examples/happy-model/scenes/copy.tsscript588 B
examples/happy-model/theme.tsscript1.2 KB
examples/mana/MainVideo.tsxother4.9 KB
examples/mana/scenes/AGENTS.mdmarkdown926 B
examples/mana/scenes/Act1Open.tsxother2.8 KB
examples/mana/scenes/Act2Hero.tsxother3.3 KB
examples/mana/scenes/Act3Flavors.tsxother9.0 KB
examples/mana/scenes/Act4Label.tsxother7.3 KB
examples/mana/scenes/Act5Close.tsxother4.7 KB
examples/mana/scenes/World.tsxother7.2 KB
examples/mana/theme.tsscript2.6 KB
examples/parker/MainVideo.tsxother6.2 KB
examples/parker/scenes/AGENTS.mdmarkdown1.1 KB
examples/parker/scenes/Act1Hook.tsxother3.2 KB
examples/parker/scenes/Act2Meet.tsxother2.3 KB
examples/parker/scenes/Act2Problem.tsxother3.6 KB
examples/parker/scenes/Act3Steps.tsxother4.7 KB
examples/parker/scenes/Act4Proof.tsxother3.2 KB
examples/parker/scenes/Act5Close.tsxother2.6 KB
examples/parker/scenes/PaperWorld.tsxother6.8 KB
examples/parker/theme.tsscript1.6 KB
examples/perplexity-pc/MainVideo.tsxother4.5 KB
examples/perplexity-pc/scenes/Act1.tsxother2.1 KB
examples/perplexity-pc/scenes/Act2.tsxother2.7 KB
examples/perplexity-pc/scenes/Act3.tsxother3.1 KB
examples/perplexity-pc/scenes/Act4.tsxother1.6 KB
examples/perplexity-pc/scenes/Act5.tsxother2.0 KB
examples/perplexity-pc/theme.tsscript2.5 KB
references/AGENTS.mdmarkdown767 B
references/animations.mdmarkdown15.1 KB
references/audio.mdmarkdown8.6 KB
references/components.mdmarkdown9.5 KB
references/lottie.mdmarkdown5.1 KB
references/visual-effects.mdmarkdown5.0 KB
rules/AGENTS.mdmarkdown3.0 KB
rules/archetypes.mdmarkdown6.0 KB
rules/artifact-catalog.mdmarkdown10.8 KB
rules/beat-sync.mdmarkdown5.7 KB
rules/cards.mdmarkdown2.5 KB
rules/cinematic.mdmarkdown6.7 KB
rules/color.mdmarkdown2.2 KB
rules/composition.mdmarkdown13.2 KB
rules/creative-moves.mdmarkdown3.8 KB
rules/data-viz.mdmarkdown1.9 KB
rules/finish-gate.mdmarkdown5.2 KB
rules/layout.mdmarkdown6.6 KB
rules/media-resolve.mdmarkdown7.1 KB
rules/motion.mdmarkdown9.5 KB
rules/narration-sync.mdmarkdown5.5 KB
rules/narrative-templates.mdmarkdown10.4 KB
rules/narrative.mdmarkdown7.3 KB
rules/qc-gates.mdmarkdown11.3 KB
rules/taste.mdmarkdown12.6 KB
rules/transitions.mdmarkdown2.7 KB
rules/typography.mdmarkdown4.1 KB
rules/ui-mockups.mdmarkdown5.6 KB
rules/workflow.mdmarkdown53.2 KB
scaffold/.prettierrcother66 B
scaffold/AGENTS.mdmarkdown1.1 KB
scaffold/eslint.config.mjsscript79 B
scaffold/package-lock.jsonmanifest186.3 KB
scaffold/package.jsonmanifest1.5 KB
scaffold/remotion.config.tsscript219 B
scaffold/src/AGENTS.mdmarkdown831 B
scaffold/src/MainVideo.tsxother41.7 KB
scaffold/src/Root.tsxother2.3 KB
scaffold/src/components/AGENTS.mdmarkdown1.5 KB
scaffold/src/components/Animations.tsxother6.8 KB
scaffold/src/components/Atmosphere.tsxother8.1 KB
scaffold/src/components/Background.tsxother4.5 KB
scaffold/src/components/Captions.tsxother6.4 KB
scaffold/src/components/LogoEntrance.tsxother15.2 KB
scaffold/src/components/MockupTemplates.tsxother19.0 KB
scaffold/src/components/PhoneFrame.tsxother3.6 KB
scaffold/src/components/ShaderFX.tsxother5.3 KB
scaffold/src/components/Transitions.tsxother8.4 KB
scaffold/src/components/UI.tsxother3.0 KB
scaffold/src/components/VisualEffects.tsxother10.7 KB
scaffold/src/generated/AGENTS.mdmarkdown508 B
scaffold/src/generated/beat-map.tsscript1.1 KB
scaffold/src/generated/project-data.tsscript5.2 KB
scaffold/src/index.cssother576 B
scaffold/src/index.tsscript400 B
scaffold/src/lib/AGENTS.mdmarkdown411 B
scaffold/src/lib/fonts.tsscript867 B
scaffold/src/lib/modes.tsscript2.2 KB
scaffold/src/lib/utils.tsscript352 B
scaffold/src/theme.tsscript2.5 KB
scaffold/tsconfig.jsonconfig333 B
scripts/AGENTS.mdmarkdown2.4 KB
scripts/analyze-audiomap.pyscript13.3 KB
scripts/beat-sync.tsscript12.1 KB
scripts/benchmark-suite.tsscript17.8 KB
scripts/critique-scenes.tsscript10.1 KB
scripts/evidence-model.tsscript9.4 KB
scripts/generate-bgm.pyscript10.5 KB
scripts/iterate.tsscript4.0 KB
scripts/project-blueprint.tsscript12.1 KB
scripts/regenerate-scene.tsscript7.4 KB
scripts/render-qa.tsscript9.0 KB
scripts/scene-constitution.tsscript13.4 KB
scripts/timing-audit.tsscript9.5 KB
scripts/url-to-video.tsscript68.6 KB
scripts/visual-audit.tsscript26.5 KB

rules/motion.md

View on GitHub
# Motion & Animation

Springs, easing curves, timing, and stagger patterns for premium Remotion video.

## Organic Motion Vocabulary (from the `remotion-motion` skill)

The AE-expression motion vocabulary lives in a sibling skill: **`~/.claude/skills/remotion-motion/SKILL.md`** — deterministic Remotion ports of wiggle, inertia bounce, loops, stagger, idle float, lookAt, exponential approach. Read that file for the actual code; this table says WHEN to reach for which. If a held shot feels dead or an entrance feels robotic, the answer is usually here, not another spring preset.

| Pattern | Feel | Use it when |
|---|---|---|
| `wiggle(freq, amp)` | organic jitter / handheld drift | Camera drift on full-bleed imagery; floating UI panels; anything held >3s that must not read as a freeze-frame. Low freq (0.3-0.6), low amp (4-10px) |
| Inertia / overshoot bounce (`spring damping 9` or decaying-sine settle) | arrive with weight, then settle | The ONE hero element arrival per act (logo, key number, main panel). Never on every element — overshoot everywhere = cartoon. Siblings keep damping 14-16 |
| Idle float / breathe (`sin` bob ±1-2% scale) | alive while holding | Directly serves the "never hold still >4s" rule — logos in Act 1/5, hero numbers in Act 4, phones/mockups mid-hold |
| Stagger / delay-follow (`frame - i*3`; grid: `(i%COLS)*2 + row*5`) | crowd trailing a leader | Grids and lists entering — the diagonal-wave grid variant beats uniform left-to-right stagger |
| `loopOut` cycle / pingpong | seamless idle loops | Background particles, scanning lines, positional drift loops that must run the whole act without a visible seam (rhythmic scale/brightness throb = heartbeat ban, taste.md) |
| 2D `lookAt` (atan2 to target) | element faces its motion path | Anything traveling along a path — arrows, vehicles, data packets in a convergence scene (composition.md hub-and-spoke replacement) |
| Exponential approach (half-life ease) | camera easing to rest, no bounce | Ken-Burns endings, camera reframes inside a brand world, follow-cam on a moving subject |

Determinism is non-negotiable (same rules as the source skill): no `Math.random()`, no `Date.now()` — seed per-element with the sin-hash and de-sync copies via per-element phase offsets. When you invent a new pattern, fold it back into `remotion-motion/SKILL.md` so the shared vocabulary grows.

## Exponential Easing (Apple Keynote Feel)

Use exponential deceleration instead of cubic — objects arrive FAST, settle SLOWLY:

```tsx
const easeOutExpo = (t: number) => t === 1 ? 1 : 1 - Math.pow(2, -10 * t);

// Usage in interpolate
const entrance = interpolate(frame, [0, 15], [0, 1], {
  extrapolateLeft: "clamp", extrapolateRight: "clamp",
  easing: easeOutExpo,
});
```

## Per-Character Text Stagger

Headlines NEVER fade in as a block. Split into characters with 40-80ms stagger:

```tsx
{text.split("").map((char, i) => {
  const delay = startFrame + i * 1.2;
  const prog = interpolate(frame - delay, [0, 10], [0, 1], {
    extrapolateLeft: "clamp", extrapolateRight: "clamp",
    easing: easeOutExpo,
  });
  return (
    <span key={i} style={{
      display: "inline-block", opacity: prog,
      transform: `translateY(${interpolate(prog, [0, 1], [25, 0])}px)`,
      whiteSpace: "pre",
    }}>{char}</span>
  );
})}
```

## Spring Config Presets

| Use case | Config | Behavior |
|----------|--------|----------|
| Professional default | `{ damping: 14-16, stiffness: 60-80 }` | Minimal bounce |
| Smooth reveal | `{ damping: 200 }` | No bounce, subtle |
| Snappy UI | `{ damping: 20, stiffness: 200 }` | Responsive |
| Heavy settle | `{ damping: 15, stiffness: 80, mass: 2 }` | Slow, weighty |

## Spring OOM Warning

`spring()` creates a new function evaluation per frame per call site. In long compositions (1200+ frames) with many simultaneous spring calls (10+ elements animating), Chrome headless can OOM and crash the render.

**If render crashes with OOM or exits silently around frame 300-500:**

Replace `spring()` with `interpolate()` + `Easing.out(Easing.exp)` — visually identical, dramatically lower memory:

```tsx
// BEFORE (OOM risk in long sequences):
const scale = spring({ frame, fps, config: { damping: 14, stiffness: 80 } });

// AFTER (safe, same visual feel):
const scale = interpolate(frame, [0, 20], [0, 1], {
  extrapolateLeft: "clamp", extrapolateRight: "clamp",
  easing: Easing.out(Easing.exp),
});
```

**Rule of thumb:** Use `spring()` for ≤3 simultaneous elements per scene. For staggered grids (4+ cards, 6+ icons), prefer `interpolate` with easeOutExpo.

## Timing Standards

- **Entrance:** 15-20 frames (spring scale 0.95→1 + opacity 0→1)
- **Hold:** 60-90 frames minimum per scene state
- **Exit:** 10-15 frames (opacity fade only, ~75% of entrance duration)
- **Stagger:** 4-8 frames between siblings. Cap total: 10 items × 4f = 40f max
- **First 3 seconds:** must animate immediately — no slow fade from black
- **Static limit:** never hold still >4 seconds — add float drift, cursor motion, or a slow glow *position* shift (never rhythmic glow/scale throb — heartbeat ban, taste.md)

## IRON LAW: Animation Must Complete Before Scene Ends

**Every animation (SplitText, Typewriter, stagger, CountUp, spring) MUST finish with breathing room BEFORE the scene transitions.** If text is still appearing when the fade starts, the video is broken.

### Completion Budget Formula

```
animation_finish_frame = delay + (char_count × staggerFrames)   // SplitText
animation_finish_frame = delay + (text.length / speed)           // Typewriter
animation_finish_frame = delay + (item_count × stagger_gap)     // staggered items

scene_transition_start = durationInFrames - 15                   // fade begins

REQUIRED: animation_finish_frame + 45 < scene_transition_start
          ↑ 45 frames (1.5s) minimum reading/breathing time
```

### How to Validate (Do This For EVERY Scene)

After writing a scene, calculate:
1. When does the LAST animation element finish appearing?
2. When does the scene transition/fade begin?
3. Is there at least **45 frames (1.5s)** between finish and transition?

If NOT → either:
- **Extend the scene** `durationInFrames`
- **Reduce delay** so animation starts earlier
- **Increase speed** so animation completes faster
- **Cut content** — fewer words, fewer items

### Common Traps

| Trap | Why It Breaks | Fix |
|------|--------------|-----|
| SplitText with 30 chars × 2f stagger = 60f finish, in a 80f scene | Only 5f to read before fade | Extend scene to 120f or reduce stagger to 1.5f |
| Typewriter with 60 chars at speed 1.5 = 40f, delay 30 = finishes at 70f, scene is 90f | Text finishes at 70f, fade at 75f, 5f to read | Start typing earlier (delay 10) or increase speed |
| 6 icons with 6f stagger, delay 40 = finishes at 76f, scene is 90f | Last icon appears 14f before scene ends | Reduce delay to 25 or increase durationInFrames |

**This is not a suggestion. This is a BLOCKING check. Fix before moving to the next scene.**

### Hard Floor: Minimum Sequence Duration for Text-Bearing Scenes

**Any `<Sequence durationInFrames={N}>` that contains a SplitText / Typewriter / per-character animation MUST have N ≥ 80 frames.** A 40f or 60f sequence cannot mathematically satisfy the formula above — even with delay=0 and stagger=1, a 20-character headline needs `20f (reveal) + 45f (breath) + 15f (fade) = 80f` minimum. Shorter sequences guarantee the text cuts mid-reveal.

**Red flag:** if you are writing `Sequence durationInFrames={40}` or `{60}` with any text-bearing component inside — STOP. Either merge it into the adjacent sequence or extend it to ≥90f.

This bug appeared repeatedly in Act3 Showcase scenes where agents packed 5 sub-sequences (headline → UI → headline → UI → headline) into 480f and gave the final headline only 40f. The "final frontier" message then cut before finishing. **Fix: drop the third headline and extend the prior sequences. The closing brand message belongs in Act5, not Act3.**

### Act-Level Structural Rule: Max 4 Sub-Sequences per 16s Act

A 480f (16s) Act3 Showcase should contain AT MOST 4 internal `<Sequence>` blocks (2 headline-UI pairs). Cramming 5 sequences (e.g. H1→UI1→H2→UI2→H3) leaves the last one under-sized. If you feel tempted to add a third headline, put it in Act5 close instead.

### Automated Audit Command

Before moving to Step 6 preview, run this grep to find suspiciously short sequences:

```bash
grep -rn "durationInFrames={[0-7][0-9]}" src/scenes/ | grep -v "fade\|spring\|interpolate"
# Any hit here is a POTENTIAL bug — inspect and verify no SplitText/Typewriter inside
```

## Scene Entrance/Exit Uniformity

All scenes must:
- Enter with spring scale (0.95→1) + opacity (0→1) in first 15 frames
- Exit with opacity fade in last 18-22 frames
- Use `overflow: "hidden"` on ALL containers

## Hold-Then-Snap

Premium videos alternate STILLNESS and MOTION. Content holds still 60-90 frames, then snaps to next state in 8-12 frames. The contrast creates drama. Constant motion = screensaver, not launch video.

## Easing Rules

- **ease-out** for entrances (elements arriving)
- **ease-in** for exits (elements leaving)
- **spring** for interactive/gesture-like motion
- **NEVER linear** (except progress bars)
- **NEVER bounce/elastic** — tacky since 2015. Spring with damping 14-16 gives the right feel

## One Focal Animation at a Time

If cards stagger in AND a chart draws AND text types simultaneously, the eye has nowhere to go. Sequence them: cards first → chart draws → text types.

## Transform Only

Never animate `width`, `height`, `top`, `left`. Animate only `transform` and `opacity` — smoother rendering.
planning-and-task-breakdownaddyosmani/agent-skillsBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
screenpipethedotmack/claude-memSearch screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
contact-widgetnexu-io/open-designSelf-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies.Stars: 108kUpdated Claude CodeCodexVerifiedInstall
meeting-notesnexu-io/open-designMeeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meeting" footer. Use when the brief mentions "meeting notes", "minutes", "1:1 notes", "all-hands recap", or "会议纪要".Stars: 108kUpdated Claude CodeCodexVerifiedInstall