/youtube-publishing:video-repurposingfrom YouTube Publishing
Repurposes long-form video into platform-ready social clips (LinkedIn, TikTok, Reels) with word-level captions using FFmpeg and Remotion. Runs intake, proposes edit plan with timestamps, previews in Remotion Studio, and renders on approval.
Ships in YouTube Publishing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Turns long-form video into platform-ready clips with captions. FFmpeg for fast CLI operations, Remotion for styled compositions you can preview before rendering. Battle-tested on a real LinkedIn publishing pipeline; the rules below exist because breaking them produced visibly worse clips.
Opening Clip (CRITICAL):
Closing Clip (CRITICAL):
Clean Cut Points (every cut, no exceptions):
Editing modes - pick ONE in intake:
<Sequence> blocks + premountFor={60} (see Composition Rules below). Do not use TransitionSeries - it has a null-props bug that crashes Studio in current Remotion versions.createVolumeFn pattern and the TransitionSeries bug workaround.Transcription-first timestamps (CRITICAL - the single source of truth):
startMs/endMs = whisper timestamps of the first and last spoken words → these define the captionsaudioEndMs = endMs + audioBufferMs per clip. Whisper timestamps run ~200-700ms ahead of actual speech, so without the buffer the last word gets clippedendMsSource video prep (before anything else):
-movflags +faststart is mandatory: without it the moov atom sits at the end of the file and Remotion reads the whole file before it can seek, making Studio crawl. Already-H.264 files remux losslessly: ffmpeg -i in.mp4 -c copy -movflags +faststart out.mp4public/ with no spaces in filenamesWorkflow:
All styled output (captions, title cards, graphics) uses the user's brand, captured once in intake and reused forever:
| Setting | What to ask | Default if they have no preference |
|---|---|---|
| Colors | brand dark, background/light, 1-2 accents | dark #0A0A14, light #F5F2EA, accent #B8E0B0 |
| Fonts | heading font (Google Fonts name) | Inter (via @remotion/google-fonts) |
| Caption style | frosted pill (default) or bold pill | frosted |
| Background rule | never pure #000 black - use the brand dark | applies to everyone |
Store the answers in the Remotion project (a BRAND constant or src/lib/brand.ts) so every composition reads from one place. All code in the references uses example values - swap in the user's kit.
Phase 1: SETUP ──→ Phase 2: INTAKE ──→ Phase 3: EDIT PATH ──→ Phase 4: ITERATE ──→ Phase 5: RENDER
(one-time) (mandatory) (copy-first OR (feedback loop) (user approves)
video-first)
If a Remotion project already exists, skip to Phase 2.
which ffmpeg || brew install ffmpeg; Node 18+^4.0.242, React ^18.x). Complete working code: references/reference-implementation.mdscripts/setup-whisper.ts and scripts/transcribe.ts from THIS SKILL's scripts/ folder into the project's scripts/, then run npx ts-node scripts/setup-whisper.ts (installs whisper.cpp + base.en model into .whisper/, GPU-accelerated)Ask before any editing. Do not proceed without clear answers.
Intent & Goal: What's the goal (LinkedIn clip, teaser/trailer, highlight reel, full edit, another platform)? Who is the audience? Video Source: Where is the video (YouTube URL, local file, folder of clips)? Existing copy/script, or discover from the video? Format & Duration: Target duration? Output format (16:9, 9:16, 1:1)? Polish level? Editing mode: Hard cuts (default for social) or crossfades (trailers/montages)? Brand kit: Collect it if this is the first session (table above); otherwise reuse. Content: Specific moments to include or exclude? Reveal the ending or create curiosity?
Then route: has copy → Phase 3A; no copy → Phase 3B.
public/ (prep rules above: H.264 + faststart, no spaces)npx ts-node scripts/transcribe.ts (references/transcription.md)1-3. Same prep as 3A 4. Analyze the transcript: hooks, insights, quotable complete thoughts 5. Suggest narrative structure per the goal; create copy/captions from selected segments 6. Propose the edit plan - clips, timestamps, spoken words at boundaries, reasoning 7. User approves before any editing
npm run dev) - show the user only after QA passesreferences/intelligent-editing.md has per-task-type questions and quality checks.
Only on explicit approval. Social-quality render:
npx remotion render CompositionName out/video.mp4 --video-bitrate 50M --audio-bitrate 320k
src/compositions/<platform>/CONFIG block at the top - the only place to edit. Document every timestamp with the actual spoken words as a commentsrc/Root.tsxThe hard-cut pattern (default):
const CLIPS = [
{
label: 'Hook',
startMs: 148_920, // "The reason most automations fail..." (whisper timestamp of first word)
endMs: 238_340, // "...and that's what makes it work." (whisper timestamp of last spoken word)
audioBufferMs: 200, // per-clip: small when the next sentence starts fast, up to 700 when there's a gap
},
] as const;
const clips = CLIPS.map((c) => {
const audioEndMs = c.endMs + c.audioBufferMs;
return {...c, audioEndMs, startFrame: msToFrames(c.startMs), endFrame: msToFrames(audioEndMs),
duration: msToFrames(audioEndMs - c.startMs)};
});
// premountFor={60} is MANDATORY on every Sequence - it preloads the next clip 2s early.
// Without it OffthreadVideo hasn't decoded the next clip's first frame and you get a black flash at the cut.
<Sequence from={0} durationInFrames={clips[0].duration} premountFor={60}>
<OffthreadVideo src={staticFile('source_h264.mp4')} startFrom={clips[0].startFrame} endAt={clips[0].endFrame} />
</Sequence>
Total duration = sum of clip durations. No overlap, no subtraction.
Captions: never import the captions JSON (bloats the bundle, kills hot reload) - fetch(staticFile(...)) with delayRender/continueRender, pre-filtered to clip ranges. Full pattern + the frosted-pill recipe: references/captions.md.
| Platform | Resolution | FPS | Max duration | Notes |
|---|---|---|---|---|
| 1920x1080 (16:9) | 30 | 10 min | H.264 MP4; native-feeling hard cuts | |
| TikTok / Reels / Shorts | 1080x1920 (9:16) | 30 | 60-90s | word-highlight captions carry sound-off viewing |
| Square feed | 1080x1080 (1:1) | 30 | - |
| Task | FFmpeg | Remotion |
|---|---|---|
| Stitching | Same codec, no styling | Anything styled or previewed |
| Captions | SRT burn-in | TikTok-style word highlighting |
| Teasers | Quick cuts | Text overlays, branded elements |
FFmpeg = fast CLI, batch, format conversion. Remotion = styled content, preview-before-render, React.
Read as needed:
| File | Contents |
|---|---|
| references/intelligent-editing.md | Editing workflow, questions by task type, quality checks |
| references/video-analysis.md | ffprobe analysis |
| references/transcription.md | Whisper transcription + the timestamp-drift/audioBufferMs pattern |
| references/qa-testing.md | QA tests before user preview |
| references/stitching.md | Combining clips (hard-cut default) |
| references/transitions.md | Crossfade mode + TransitionSeries bug workaround |
| references/captions.md | Word-level captions, frosted pill style, async loading |
| references/teasers.md | 30-second teasers/trailers |
| references/title-cards.md | Chapter headers, bumpers |
| references/graphics-generation.md | Thumbnails, overlays, social graphics |
| references/ffmpeg-basics.md | FFmpeg patterns, faststart/moov, AV1 handling |
| references/remotion-setup.md | Project setup |
| references/remotion-tips.md | Animations, timing, springs |
| references/reference-implementation.md | Complete working project code |
@remotion/install-whisper-cpp, NOT Python whisper (10x faster, Metal GPU). base.en for speed, medium.en for final quality. whisperCppVersion: '1.5.5' and tokenLevelTimestamps: true are requiredaudioBufferMs always, verify by earpremountFor={60}+faststartTransitionSeries null-props bug - use plain Sequence hard cutsreferences/captions.md (opens in a new tab)references/ffmpeg-basics.md (opens in a new tab)references/graphics-generation.md (opens in a new tab)references/intelligent-editing.md (opens in a new tab)references/qa-testing.md (opens in a new tab)references/reference-implementation.md (opens in a new tab)references/remotion-setup.md (opens in a new tab)references/remotion-tips.md (opens in a new tab)references/stitching.md (opens in a new tab)references/teasers.md (opens in a new tab)references/title-cards.md (opens in a new tab)references/transcription.md (opens in a new tab)references/transitions.md (opens in a new tab)references/video-analysis.md (opens in a new tab)scripts/setup-whisper.ts (opens in a new tab)scripts/transcribe.ts (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub benaios/benai-skills --plugin youtube-publishing14 skills in this plugin
/benai-utm-creatorStage 2 of the Ben AI publishing chain. Turns one YouTube video title into all six Ben AI UTM tracking links, their Bitly backhalfs, a five-letter campaign code, and a Bitly-ready import CSV saved to Downloads. Needs nothing but the exact title, so it can run while YouTube is still processing the upload. Use whenever someone wants UTM links, tracking links, a campaign code, or Bitly short links for a video, or says "make UTMs for [title]", "create the tracking links", "UTM creator", "what is the code for this video", or "bitly links for [title]"./humanizerRemove signs of AI-generated writing from text. Use when editing or reviewing
text to make it sound more natural and human-written. Based on Wikipedia's
comprehensive "Signs of AI writing" guide. Detects and fixes patterns including:
inflated symbolism, promotional language, superficial -ing analyses, vague
attributions, em dash overuse, rule of three, AI vocabulary words, negative
parallelisms, and excessive conjunctive phrases.
Credits: Original skill by @blader - https://github.com/blader/humanizer
/linkedin-writerRepurpose YouTube videos, blog articles, guides, or raw insights into high-performing LinkedIn posts that match Ben's exact tone of voice and writing style. This is a STEP-BY-STEP, interactive process — never output a complete LinkedIn post immediately. Each step requires suggestions, user decision, then progression to the next step.
USE THIS SKILL WHEN: - User shares a YouTube link and wants a LinkedIn post - User shares a blog article URL and wants a LinkedIn post - User provides an insight, idea, or document and wants a LinkedIn post - User mentions "LinkedIn post", "repurpose for LinkedIn", "turn this into a LinkedIn post" - User says "LinkedIn content", "write a post", "create a post" - User pastes a transcript and wants LinkedIn content - User asks to create social content from a video, article, or idea
TRIGGERS: "LinkedIn post", "LinkedIn content", "repurpose", "write a post", "post about", "turn this into a post", "create a LinkedIn post", "LinkedIn from YouTube", "LinkedIn from blog"
/newsletter-writerWrite newsletters for Ben Van Sprundel from any source — YouTube videos, article URLs, or raw ideas/insights. Use this skill EVERY TIME the user says they want to write a newsletter, create a newsletter, draft a newsletter, turn something into a newsletter, repurpose content for a newsletter, write an email issue, or any variation of newsletter writing. Also trigger when the user shares a YouTube URL or article URL alongside any mention of email or newsletter content. This is a STEP-BY-STEP, interactive process — never output a complete newsletter immediately./video-cutterCut any video into sentence-aligned clips at silence-midpoint boundaries given approximate target timestamps. Works on YouTube downloads, Loom recordings, uploaded MP4s, recorded calls. Triggers on "cut this video at", "split into sections", "make clips from", "cut at boundaries"./youtube-chapters-tagsStage 4 of the Ben AI publishing chain. Generates chapters with accurate timestamps and a tag string for a Ben van Sprundel video. Pulls the timestamped transcript out of YouTube through Claude in Chrome, finds where each topic actually starts, names chapters to Ben's measured style, flags every outbound video reference that needs a description link, and builds the tag list from the pattern measured across Ben's last 15 published videos. Needs the video to be Unlisted first, because a Studio draft has no caption track. Use when someone says "prepare the chapters", "do the tags", "chapter this video", "what tags should I use", "review the chapters", or shares a video URL and asks for chapters or tags.4 plugins in 2 repositories ship this exact skill · first indexed Sep 18, 2026
Other plugins' skills for the same job