Like subscribe overlay
Skill jperrello/C0BALT_CUT/.claude/skills/like-subscribe-overlay
Investigation on using Claude Code to automatically generate profitable YouTube videos.
npx -y skills add jperrello/C0BALT_CUT --skill like-subscribe-overlayAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Overlay the branded like/subscribe CTA animation — channel gem avatar + @C0BALT_CUT handle + subscribe/like/bell click choreography — for ~4 seconds WITHIN THE FIRST THIRD of a finished short (start clamped to end by the 1/3 mark, floored after the ~2.5s title card; early placement so viewers who bail never miss it). The animation source is cta.html (HTML+CSS+JS driving the pill pop-in, cursor moves, click punches, bell ring, thumb fill); build-cta.sh renders it frame-by-frame via headless Chromium (Playwright, omitBackground) and ffmpeg-encodes to assets/cta.mov (ProRes 4444 with alpha).
SKILL.md
3.9 KB, as published. Nobody here has run it
like-subscribe-overlay
Drops a hook-grabbing branded call to action into the short. A JS-driven
animation plays in the lower third for dur seconds starting at pos
fraction of the clip (default 0.15), with the start clamped so the whole
CTA lands inside the first third of the clip — where retention is highest —
while staying clear of the ~2.5s title card: a Carbon Black pill pops in carrying the channel
gem avatar (sapphire-ringed, glow breathing) and the @C0BALT_CUT handle
(Impact, Platinum, sapphire slashed zero) → cursor enters → clicks
SUBSCRIBE (red → dark, scale punch, expanding ring) → bell rings → cursor
glides left to the thumbs-up → clicks LIKE (thumb fills Sapphire Glow,
scale punch, expanding ring) → holds the final state.
The animation is authored in plain HTML+CSS+JS (cta.html) and pre-rendered
once into a transparent ProRes 4444 .mov asset (assets/cta.mov). Runtime
just composites that asset. The avatar image is assets/channel.png (square
crop of the channel gem); replace it and re-run build-cta.sh to rebrand.
Invoke
.claude/skills/like-subscribe-overlay/like-subscribe-overlay.sh <input> <out> [dur=4.0] [pos=0.15]
input: finished short (any aspect ratio; designed for 1080x1920)out: output mp4dur: total CTA duration in seconds (clamped to clip length, default 4.0)pos: fraction of the clip at which the CTA starts (default 0.15; clamped so the CTA ends inside the first third, starts after the ~2.5s title card, and never spills past the end of the clip — in that priority order)
Output
mp4, same dimensions and duration as the input, video re-encoded
(libx264 veryfast crf18), audio re-encoded to AAC 192k. Prints the output
path to stdout. Idempotent: a <out>.lsmeta sidecar records the signature
(dur|pos|asset-version); a cache hit requires out newer than input
and a matching signature.
Brand
Colors from brand/BRAND.md: pill in Carbon Black #101418 with a
Sapphire Glow #2E6BFF edge, handle in Platinum #E8ECF1 Impact with the
slashed zero in Sapphire Glow (same visual language as the watermark
renderer), liked thumb fills Sapphire Glow. The SUBSCRIBE button stays
YouTube red pre-click for instant recognition.
Where in the pipeline
Runs after loudnorm and before bg-music / save-local. The overlay
lands inside the first third of the clip (after the title card), so it
composites over whatever is on screen early in the story (captions burn
beneath it for those 4 seconds — intended).
How
build-cta.sh(one-time, or whenevercta.html/assets/channel.pngchanges):build-cta.jsstepscta.html's deterministicwindow.setT(t)frame-by-frame in headless Chromium (Playwright,omitBackground) and ffmpeg-encodes the transparent PNGs toassets/cta.mov(ProRes 4444).like-subscribe-overlay.shtime-stretches the asset todur(setpts), pins it to the lower third, andenables it for[start, start+dur]wherestart = min(pos * clip_duration, clip_duration/3 - dur)floored at 3.0s (title-card clearance). The CTA overlays SILENTLY — the clip's source audio passes straight through (-map 0:a, no mix). The old bell-ding SFX (make_sfx.py) is retired;make_sfx.pyis unused.
Gives 0 of the 12 instructions most css styling skills give
Counted across 586 of the 596 authors here whose files we hold, read 2026-08-06
- avoid excessive centered layoutsin 55 of 586, across 12 files
- bundle code into single HTML filein 54 of 586, across 14 files
- Respect prefers-reduced-motion user settingsin 52 of 586, across 35 files
- avoid purple gradientsin 51 of 586, across 11 files
- avoid uniform rounded cornersin 51 of 586, across 11 files
- avoid Inter fontin 51 of 586, across 11 files
- edit generated files to develop artifactin 50 of 586, across 10 files
- animate only transform and opacity propertiesin 43 of 586
- Make touch targets at least 44x44 pixelsin 41 of 586, across 15 files
- Ensure minimum color contrast of 4.5:1in 39 of 586, across 10 files
- use tailwind cssin 39 of 586, across 24 files
- Use SVG icons instead of emojisin 38 of 586, across 11 files
Said here and by no other author read
- run build-cta.sh to pre-render the animation
- time-stretch the asset to the requested duration
- pin the overlay to the lower third
- clamp overlay start to the first third of the clip
- floor overlay start at three seconds
- run after loudnorm and before bg-music
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once.