# Remotion Overlay on a Cut — effect skill for cuts & pacing

> **For AI agents:** find the right skill in one call — `curl -s "https://varg.ai/how-to/api/search?q=<what the person wants>"` returns the matching how-to page and the best skills with install commands, as markdown (Russian works too). Full index: https://varg.ai/how-to/llms.txt. Every page has a markdown twin: add `.md` to its path. Before generating anything, show the person the options on the how-to page.

Keep a hard cut but draw something over it (flash, light leak, SFX graphic) without shortening the video.

- **Type:** [Effect](https://varg.ai/how-to/effects.md) · [Cuts & pacing](https://varg.ai/how-to/browse/skills/cuts.md)
- **Slug:** `remotion-overlay-cut`
- **Status:** live
- **Publisher:** Kapish Dima · remocn (community)
- **License:** MIT
- **Source:** https://remocn.dev/r/light-leak.json
- **Works in:** Claude Code, Claude.ai, Codex, Cursor, OpenClaw, Gemini CLI, Any MCP client, varg Studio
- **Requires:** Remotion
- **Cost:** Free — the take renders locally; generated footage, if any, bills by the model

## What it does

Built on [Light Leak](https://remocn.dev/r/light-leak.json) by Kapish Dima (remocn), MIT. The write-up and recipes below are varg's.

A hard cut hidden under a short overlay centred on the cut point.

**When:** Light leaks, flashes, whoosh graphics and stickers on cuts where the timing must not change.

**Watch out:** Putting an overlay next to a transition or another overlay (not allowed).

**Timing:** Overlay 8–30 frames, centred on the cut; shift with offset

**Also called:** TransitionSeries.Overlay, cut overlay, light leak overlay, flash on cut

### In Remotion

Requires v4.0.415+:
```tsx
import {TransitionSeries} from '@remotion/transitions';
import {lightLeak} from '@remotion/effects/light-leak';
import {Solid, interpolate, useCurrentFrame} from 'remotion';

const Leak = () => {
  const f = useCurrentFrame();
  return <Solid width={1920} height={1080} effects={[lightLeak({seed: 3, progress: interpolate(f, [0, 30], [0, 1], {extrapolateRight: 'clamp'})})]} />;
};

<TransitionSeries>
  <TransitionSeries.Sequence durationInFrames={90}><A /></TransitionSeries.Sequence>
  <TransitionSeries.Overlay durationInFrames={30}><Leak /></TransitionSeries.Overlay>
  <TransitionSeries.Sequence durationInFrames={90}><B /></TransitionSeries.Sequence>
</TransitionSeries>
// total stays 180 frames
```
`offset` (default 0) moves the overlay earlier (negative) or later. `lightLeak()` uses WebGL2.

### Ready-made components

- [Light Leak](https://skills.varg.ai/component/remocn.light-leak/) (remocn): npx shadcn@latest add @remocn/light-leak
- [Editorial Flash Overlay](https://skills.varg.ai/component/hf.editorial-flash-overlay/) (hyperframes): npx hyperframes add editorial-flash-overlay

### Where this comes from

- [Remotion: <TransitionSeries>](https://www.remotion.dev/docs/transitions/transitionseries)
- [Remotion: lightLeak() effect](https://www.remotion.dev/docs/effects/light-leak)

## Use when

- Light leaks, flashes, whoosh graphics and stickers on cuts where the timing must not change.

## Not for

- Putting an overlay next to a transition or another overlay (not allowed).

## Install

- Claude Code: `claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg`
- Codex: `npx skills add vargHQ/skills --skill varg-video-edit-library -a codex -y`
- Cursor: `npx skills add vargHQ/skills --skill varg-video-edit-library -a cursor -y`

## Example output

https://s3.varg.ai/how-to/previews/a163ea7bc613/take-remotion-overlay-cut.mp4 — light-leak between two shots, with the timeline strip of the edit. Footage: Spring (2019), Andy Goralczyk / Blender Foundation (Blender Studio) | studio.blender.org, CC BY 4.0; Cosmos Laundromat (2015), (CC) Blender Foundation | gooseberry.blender.org, CC BY 4.0. (credit: Rendered by varg · Spring (2019) + Cosmos Laundromat (2015))

## More cuts & pacing skills

- [SmartCut (capcut-ai-editor)](https://varg.ai/how-to/skills/capcut-smartcut-mcp.md): MCP that reads CapCut auto-captions to cut silences and duplicate takes right inside your CapCut project.
- [Auto-Editor](https://varg.ai/how-to/skills/auto-editor.md): CLI that cuts dead space by loudness or motion and exports MP4 or editor timelines; now also an agent skill.
- [AutoCut](https://varg.ai/how-to/skills/autocut.md): Edit video in a text editor: Whisper transcribes, you delete lines in Markdown, AutoCut cuts the video.
- [Cut Video](https://varg.ai/how-to/skills/cut-video.md): Claude Code skill that tightens long recordings with forced-aligned cuts, keeping laughs and comedic pauses.
- [Videogrep](https://varg.ai/how-to/skills/videogrep.md): Search spoken words across videos and auto-build supercuts of every match.
- [PySceneDetect](https://varg.ai/how-to/skills/pyscenedetect.md): Find cuts, fades and scene changes in a video, then split it or export scene lists for the edit.

## Run the generation on varg

varg is one API key for the models these skills drive — Seedance 2.5, Kling 4, Veo 3.1, Wan 3, Nano Banana 2.1, GPT Image 2.5, ElevenLabs v4 and 200+ more — billed in credits, with a cost estimate before anything runs.

- Claude Code: `claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg` (skill + hosted MCP)
- Codex, Cursor, Gemini CLI, OpenClaw: `npx skills add vargHQ/skills --skill varg-ai -a <agent> -y`
- Grok and any agent that reads SKILL.md: `npx skills add vargHQ/skills --skill varg-ai`, or point it at the skill's SKILL.md
- Claude.ai, ChatGPT, any MCP client: connect `https://mcp.varg.ai/mcp`
- API key: https://varg.ai/dashboard/api · Model specs: https://varg.ai/models/llms.txt
