agentleFS
charlie947charlie947/reel-editing-skills/skills/video-effects/SKILL.md

video-effects

Skill9 starsChanged 13 days agoMITView on GitHub

The shared engine behind the 20 one-command video effects (grid-dive, title-orbit, magnifying-lens, portal, clone-room, infinite-zoom, cube-spin, liquid-glass, screen-in-screen, frame-break, tile-tunnel, depth-ui, vertigo, phone-fan, shatter, spotlight, pull-back-reveal, ribbon-wrap, zoom-through, head-pop-out). Puts one effect on your own talking-head clip and renders an MP4. Set it up once here, then run any effect skill. Use when someone says "add an effect to my clip", "list the video effects", "set up the video effects" or names one of the 20 effects.

  • Installs packages

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Fit: Read the note: lines run.cjs prints.

    line 81

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Video effects

One effect on your own talking-head clip, one command, one MP4 back. Each of the 20 effect skills is a short card that calls this engine. Install this folder beside them.

Use it for: a scroll-stopping moment inside a reel, a transition between two points, or an ending.

Set up once

You need ffmpeg, Node 18 or newer, and Python 3 with torch.

cd ~/.claude/skills/video-effects
npm i puppeteer
python3 -m pip install torch torchvision pillow numpy

The cut-out of you comes from RobustVideoMatting. torch.hub downloads the model from GitHub the first time. It is GPL-3.0 licensed and not bundled here. It runs on Apple Silicon, an NVIDIA card or the CPU (slow).

Run an effect

node ~/.claude/skills/video-effects/run.cjs list
node ~/.claude/skills/video-effects/run.cjs grid-dive my-clip.mp4 grid-dive.mp4
node ~/.claude/skills/video-effects/run.cjs title-orbit my-clip.mp4 title-orbit.mp4 --words "BIG NEWS"
OptionWhat it does
--at 1.2When the effect starts, in seconds. Default 0.6s, earlier on a short clip
--len 1.5How long it plays. Each effect has its own default
--words "..."The words it shows, for the six effects that show words
--from 4 --to 9Use only this part of your clip
--stage blueThe studio colour behind you: white (default), blue or grey
--no-fitKeep your framing. By default your head is scaled and centred to where the effects expect it
--checkFit and load the effect only, no render. Takes seconds
--keepKeep the work files in <out>.work/

The 20 effects

SkillWhat it does to your clipWords
grid-divePulls back into a wall of tiles of your clip, then dives back in
title-orbitYour words circle your head, then the camera flies through a letter12
magnifying-lensA glass lens magnifies your chest, then opens out
portalA ring of blue light opens and the camera flies through it
clone-roomCopies of you step out behind you
infinite-zoomA frame inside a frame, and the camera zooms through both
cube-spinYour shot turns a quarter on a 3D cube
liquid-glassA drop of glass grows into a pane and the camera dives through
screen-in-screenPulls back to a laptop playing your shot, then dives back in
frame-breakYou lean out of a printed photo of yourself
tile-tunnelFlies backwards down a tunnel, then back into you
depth-uiApp windows float at different depths around you60
vertigoA dolly zoom down a gridded corridor
phone-fanYour shot on a phone, four more fan out behind it
shatterYour shot cracks like glass and the shards fly past
spotlightLights down, one theatre light on your face
pull-back-revealPulls back to show your shot inside a video editor24
ribbon-wrapA ribbon with your words wraps round you14
zoom-throughA chat with your ask, then a fly-through into your clip60
head-pop-outYour head springs out of a blue panel. An ending40

How it works

  1. prep.py frames finds your head in five sample frames, scales and crops your clip to 1080x1920 so your head sits where the effects expect it, and writes every frame.
  2. The page in page/ loads the effect from fx/ and works out which frames it needs cut out.
  3. prep.py matte cuts you out on those frames only.
  4. Chrome shoots 60 frames a second. Each frame is drawn from the time alone, so a check and the render always agree.
  5. ffmpeg blends pairs into 30fps with light motion blur and writes H.264 (limited range, bt709) with your audio.

Your shot before and after the effect is your clip at the effects' framing, 1.14x tighter than the fitted frame. Effects that open on their own layout dissolve in from your shot over 0.3s.

Check before you post

  • Look at it. Pull stills from the middle of the effect and from both hand-offs. Your face is never doubled and never missing.
  • Fit. Read the note: lines run.cjs prints. A head near the top or the edge of your frame means the effects sit off target. Film with space above your head.
  • HDR. iPhone HDR clips come out washed out. Export as SDR (Rec.709) first. run.cjs warns you.
  • Time. Cutting you out ran at about 6 frames a second on an Apple Silicon Mac mini in testing. head-pop-out cuts out every frame to the end, so keep that clip short.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.