Communitygithub.com

effects

Face-tracked video effects for a talking-head clip (one person facing the camera), rendered on this computer with Python, MediaPipe and ffmpeg. Use when the user types /effects or names one of the effects below.

What is effects?

effects is a Claude Code agent skill that face-tracked video effects for a talking-head clip (one person facing the camera), rendered on this computer with Python, MediaPipe and ffmpeg. Use when the user types /effects or names one of the effects below.

Works with✓Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/Nelsonhtm/claude-video-effects/tree/HEAD

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Effects: 51 video effects for a talking-head clip

Original effects by Vibha Ramprakash (github.com/Vibha-Ramprakash/claude-video-effects, MIT). This copy adds a 2.5D brushed-metal look in your brand colour and a brand setting; what changed is in CHANGES.md.

How it finds the subject. On every frame a face detector (YuNet) finds the biggest, most confident face and a segmenter (MediaPipe Selfie Segmenter) cuts the person out. With no face it uses the top of the person's outline; with no person, a fixed point. Effects are drawn behind the cut-out or around the face, never over it.

The look. 32 effects render in a 2.5D look by default (scripts/solid3d.py): display type and solid objects are brushed metal with a bevel, an extrusion, a contact shadow and a slow reflection; cards and image cards get a real edge and a contact shadow; ink strokes stay flat ink on a soft shadow; UI imitations (comment-box, tap, dot-reveal) only take the accent colour. It is shading on flat images, not 3D models. solid=0 gives the original flat effect and sweep=0 holds the reflection still. An explicit color always wins.

Brand (brand.json). The accent colour, and the handle shown in comment-box's reply, come from brand.json in this folder. Wherever the table below says #0D9488, read: the brand accent, else deep teal #0D9488. With no brand.json, the accent is #0D9488 and no handle is shown.

All paths below are relative to this skill's folder (the folder this SKILL.md is in). Use its absolute path in commands.

1. First run: set up (once)

Tell the user the first setup downloads about 535 MB of Python packages into this folder (.venv), and ask before you start. Then run bash scripts/setup.sh. It prints READY when done. If it prints NEED_FFMPEG or NEED_PYTHON, tell the user what to install and ask before installing anything for them.

Then, if there is no brand.json in this folder, ask once: "What's your brand colour (a hex like #E11D48) and your Instagram handle? Or point me to a brand file and I'll take the colour from it. Skip to keep the default teal." Write their answer as brand.json, for example {"accent": "#E11D48", "handle": "yourhandle", "name": "Your Name"} (see brand.example.json). If they skip, write nothing.

2. Get the video and the effect

  • Video: the user drags the file into the chat, or gives a path. A vertical phone video works best.
  • Effect: from /effects <name>, or from what they describe. Match their words to the table below. Unsure? Show them the list.

3. Find the timing

  • If they say "on the word X" or "when I say ...", run .venv/bin/python scripts/words.py <video> and use those times.
  • If they give no timing, apply the effect for the whole clip, or ask which part (one short question).
  • Short windows look best: 1.5 to 4 seconds per effect.

4. Draft, check, render

  1. Write the plan next to their video as <video-name>_effects.json:
    {"effects": [
      {"fx": "orbit", "start": 3.2, "end": 6.0},
      {"fx": "backdrop-word", "start": 14.0, "end": 16.3, "text": "CLAUDE"}
    ]}
    
  2. Check frames first (fast): .venv/bin/python scripts/fx.py --plan <plan.json> <video> <folder>/check.png --still 4.5,15.2, using the middle of each effect. Look at the PNGs yourself. Fix the text, timing or options if something looks off (covers the face, cut off by the edge, unreadable).
  3. Render: .venv/bin/python scripts/fx.py --plan <plan.json> <video> <video-name>_effects.mp4. The output keeps their original audio. It renders at 1080p by default; add --width 2160 for 4K (slower).
  4. Tell them where the file is. Remind them in one line to watch it before posting: it drafts, they approve.

A single effect needs no plan: .venv/bin/python scripts/fx.py orbit <video> <out.mp4> --start 3 --end 6 --text "..." --opt key=value.

The 51 effects

#fx nameWhat it doesOptions (all optional)
1noiseReels pile up behind your head, one every quarter secondimages (folder of screenshots or clips), size, solid (0 = flat original, no card edges)
2lineupNumbered brushed-metal tiles fan out in one arc above your head, in ordertext (3 to 8 tile names joined with |; one or two short words each; the house look shows the first 8, names at 28 px or more), color (the tiles, hex, default #0D9488), sweep (0 = still), solid (0 = flat dark original, its two-row fan)
3locked-onCorner brackets snap onto your face, the camera follows youzoom (default 1.35), text (the tag, on the brackets' top-left corner), y (the tag's centre, 0 to 1 of the frame height), solid (0 = the original small tag under the brackets, which your body often hides)
4orbitYour reels circle your head: in front at the bottom, behind at the topimages, count, speed, size, solid (0 = flat original, no card edges)
5lean-inA fast punch-in on one wordzoom (default 1.45, max 2), speed
6backdrop-wordA giant brushed-metal word drops in behind youtext, color (hex, default #0D9488), font (bold or serif), y (where the word's centre rests, 0 to 1 of the frame height; default just over your head), sweep (0 = still), solid (0 = flat original)
7spotlightKills the lights, keeps you littext (a word behind you, none by default: brushed teal metal; for a glowing word use solid=0, the original peach glow), color (the word, default #0D9488; peach #FFB7A5 with solid=0), font (default serif), push, sweep (0 = still), solid (0 = flat glowing original)
8the-billPrints your instructions like a receipt into the wall above your head, or beside it when they don't fittext (lines joined with |; a last line starting with "total" gets the dashed total rule), pos (auto, the default: above your head when the whole receipt fits there at 31 px or more, else beside your head on the roomier side; above, left or right choose), solid (0 = flat original: a small receipt above your head, no paper or slot edges)
9moodyA moody colour gradegrade (moody, bw, warm, cool, pop)
10swipeA before and after slider sweeps across yougrade (the "after" look)
11todoA checklist card beside your head ticks off as you talktext (items with |), ticks (video seconds with |), title, color (the title, default #0D9488; amber with solid=0), solid (0 = flat original)
12comment-boxAn Instagram comments sheet slides up under your chin, types your word, posts it, gets a heart and your replytext (default EFFECTS), name (the commenter, shown instead of "you", and the avatar's letter; none by default), handle (yours, on the reply; default the brand handle, else none), reply, chip (the link chip's label, e.g. a count such as "51 effects"; no chip by default), look (bar = the older comment bar), color (the link chip, default #0D9488; yellow #FFD60A with solid=0), solid (0 = original colours and the original sheet above your head)
13tapA Follow button pops up and flips to Followingat (video second of the flip), x, y (0 to 1), color (the Following state, default #0D9488; purple #7C5CFF with solid=0; + Follow stays Instagram blue), solid (0 = original colours)
14pause-pointFreezes the frame and points at you with a hand-drawn arrowtext (label, kept inside the frame), label_x (the label's centre, 0 to 1 of the frame width, default 0.72), target (face, the default, or chest), color (the arrow and label, default #0D9488; yellow #FFD60A with solid=0), solid (0 = flat original, no ink shadow; its label can sit above the frame and its arrow at the wall)
15uninstallA glitchy uninstall bar breaks the frame aparttext, color (the progress bar, default the system blue #007AFF), solid (0 = flat original)
16reel-frameYour video shrinks into an Instagram reel cardtext (handle)
17shortcut-rainBrushed-metal keyboard keys rain down behind youtext (keys with |), count, color (the keycaps, default #0D9488), sweep (0 = still), solid (0 = flat white original)
18reject-stampA big brushed-metal stamp slams onto the screen and holds to the end of its window, with no exit (a 0.2 s fade)text, color (default #0D9488), angle (degrees, default 12), y (0 to 1 of the frame height), sweep (0 = still), solid (0 = flat red original)
19countdown-flipA 3, 2, 1 flip clock above your head, each number a third of the windowfrom, solid (0 = flat original, which can graze your crown; the house tile scales down to clear your head)
20rabbit-holeThe frame tunnels into itself, spinningratio, speed, spin
21cover-starYou become a magazine cover, title behind your headtext (title), lines (with |), issue, color
22scribbleMarker doodles draw themselves around you: a ring, an arrow to your label, dashes and sparklestext (label, fitted inside the frame), color (the marker, default #0D9488; yellow #FFD60A with solid=0), solid (0 = flat original: a thin marker, fewer doodles, no ink shadow)
23glass-widgetsFrosted glass widgets and mini artifacts float around your head, plus an Edited by Claude pilltext (big number), name, handle, look (simple for the 3-widget version)
24red-collageBlack and white you, a giant red word behind, three lines slam intext (red word), lines (with |), tag
25split-headlineA headline card slides down and pushes you to the bottom halftext (lines with |), hl (highlighted word), pill, color (highlight, full stop, rule and pill; default #0D9488, green #34D366 with solid=0), solid (0 = flat original)
26pastel-wordLavender room, giant word behind you, a profile card gets followedtext, name, handle
27check-pillsGrid-paper room, reel boards behind you, a cursor clicks teal pillstext (pills with |), images, handle and board (the two boards' titles; none by default), color (the pills, default #0D9488, blue #0A84FF with solid=0), solid (0 = flat original)
28timelineA dark red film grade with an editing timeline, a REC timecode and a glowing playheadtext (title), sub, tc
29headline-boxA punch-in with a two-line brushed-metal headline, the second line on a white boxtext (lines with |), zoom, color (the words, default #0D9488), sweep (0 = still), solid (0 = flat white original)
30profile-wallYour reels grid fills the wall behind you while a counter ticks upimages, count, label
31tier-listA tier list drops in and Claude flies into S tiertitle, item, others
32broll-splitB-roll on top with a brushed-metal price tag, you belowimages (required: a folder of b-roll; without it the top half is another crop of you, and a warning prints), text (tag), color (the tag, default #0D9488), sweep (0 = still), solid (0 = flat white original)
33phone-fanYour reels fan out like a hand of phones under a headlineimages, text (lines with |), solid (0 = flat original, no phone edges)
34dot-revealYour shot builds out of glowing dots, then snaps to the full picturecolor (the dots, default #0D9488; orange #FF8050 with solid=0), cell, bg (behind the dots, default #141416), solid (0 = original colours)
35headline-wallYour own headlines pile up behind your head, then a total pops in fronttext (headline::meta|...), total, label
36checklistA Claude task list under your chin: each step spins, then ticks greentext (step::meta|...), title
37liquid-glass-graphA liquid glass card under your chin: a green graph climbs while the number counts uptext (label), from, to (e.g. 197K, 59%), color
38carousel-spinYour reels spin around you in a 3D carousel, then slow to a stopimages, count, size, turns, solid (0 = flat original, no card edges)
39match-cutNews pages cut on one word, locked in a red box behind your headtext (the word, default Claude), color
40apple-togglesAn iPhone settings card above your head (under your chin with pos=below) flips its switches on, one line at a timetext (rows with |), ticks (seconds from the effect's start, with |; todo's are video seconds), pos (above, the default, tucked behind your head; below = under your chin), overlap, zoom, color (the switches, default the iPhone green #34C759), solid (0 = flat original)
41led-signThe lights drop and a glowing LED sign types itself out behind youtext (lines with |), color, push
42slow-pushA slow cinematic push-in to your face while the room melts out of focuszoom (default 1.6), blur
43over-the-shoulder-zoomThe camera pushes into one top corner and a see-through liquid glass graph pops beside your head (line climbs, number counts up), pulls back, then the other corner with a second, related bar graph. Your head stays in fronttext (two labels with |), to (two numbers with |, e.g. 197K|672K), zoom (default 2.0)
44messagesiMessage notifications pop in one after another, creamy glass with a soft glow, stacking up above the bottom of the frametext (messages with |), title (default Messages), y
45place-in-gridYou shrink into the centre tile of your 3x3 profile grid on frosted glass, then 8 reels pop in around you, one per frame, with Instagram view counts on every tileimages (folder of your reels or covers), views (9 counts with |, the 9th is yours)
46tape-labelA level strip of yellow tape with your line lands on your chest, kept off your facetext, color (the tape, default yellow #FFE14D), solid (0 = flat original with a hard black offset)
47select-resizeA blue selection box with handles grabs your brushed-metal number above your head and a cursor drags it biggertext (default 2X), color (the number, default #0D9488), box (the selection, default the editor's blue #0A84FF), sweep (0 = still), solid (0 = flat cream original)
48wave-trimA dark panel above your head shows your voice; the red dotted silence on both ends collapses until only your words are leftnone
49huge-strikeOne huge brushed-metal serif word wipes in behind your head, then a red line crosses it outtext, at (seconds into the effect when the strike lands, default 0.6), y (the word's centre, 0 to 1 of the frame height; default just over your head; about 0.13 lifts it clear of a head high in the frame), color (the word, default #0D9488; house look only), strike (the line, default red), sweep (0 = still), solid (0 = flat cream original)
50crayon-writeA brushed-metal crayon writes your word behind your head in flat ink, then underlines it and flies off upwards, never across your facetext, color (the crayon and its ink, default #0D9488; house look only), sweep (0 = still), solid (0 = flat red original, which ignores color)
51fan-buildYour reel covers deal into a fan behind your head, one card at a time, the whole fan in frameimages (folder of your covers), count (default 13), solid (0 = flat original, no card edges; its fan runs off the top of the frame)

Named looks (same effect, a fancier look; they don't add to the count):

  • glitter-spotlight = spotlight with look=sparkle: the room goes dark, golden rays burst from behind your head, a big gold word with a shine sweep, twinkling sparkles and a glow around you. text (the word), color, push.
  • cover-star with look=editorial: a soft warm film look, a classic serif masthead behind your head, an issue line and elegant cover lines. text (masthead), issue, lines (3 lines with \|), right (lines with \|), color, accent, lines_y, right_y.
  • liquid-glass-graph with look=bento: the climbing graph moves to a smoked glass screen behind your head, with glass bento tiles in front of you (a donut, a KPI, bars). text, from, to, donut (29%::label), kpi (672K::label), bars (197\|140\|124::label).
  • apple-toggles now sits above you, tucked behind your head, with a gentle zoom (pos=below for the old under-the-chin card; overlap, zoom).

Aliases work too: bill, to-do, follow, stamp, countdown, cover, rain, pause.

Rules

  • Never cover the face. Everything either goes behind the person or avoids the face by itself; if a check frame still shows text over the face, move it (x, y) or shorten the text.
  • Effects run in the order listed. Put camera effects (locked-on, lean-in, spotlight) first when they overlap others.
  • Zoom never goes past 2x, so the video stays sharp.
  • This skill adds visuals only. Sound effects and captions are up to the user (CapCut works well).
  • These are starter versions. Be honest about that if the user compares them to a reel they saw.

Related Skills