
video-edit
Edit any video into a captioned showcase — transcribe (any language, defaults to large-v3), present a transcriptreview.txt for the user to fix mishears BEFORE rendering, then build a HyperFrames composition with liquid-glass caption pills, liquid blob background, liquid morph wipes, optional behind-subject text via background removal, and render the final video. Use whenever the user provides a video file and asks to edit it, caption it, add subtitles, fix existing captions, make a reel/promo/captioned tutorial, or "do the same" pattern as a prior captioned video. Supports English, Hebrew, and any Whisper-supported language. Renders both 16:9 (YouTube / horizontal) and 9:16 (TikTok / Instagram Reels / YouTube Shorts) from the SAME 16:9 source — vertical mode uses a centered footage strip with a blurred backdrop + liquid blobs and a vertical-tuned caption pill, no need to re-shoot. THE PIPELINE PAUSES FOR USER APPROVAL on the transcript before final render — this is the support mec
- Installs
- 52
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/hoodini/ai-agents-skills --skill video-edit- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads video-edit automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Video Edit — Captioned Showcase Pipeline
End-to-end captioned video editor on top of HyperFrames. The user gives you a video; you orchestrate transcribe → review → render and ALWAYS pause for transcript approval before the long render.
Where this skill sits in the YUV.AI pyramid
video-edit is in the middle tier of the YUV.AI skills pyramid alongside yuv-design-system, yuv-decks, yuv-viral-video, parallax-landing-page, and video-to-landing-page. The top-tier orchestrator yuv-pilot routes here whenever the user wants a captioned showcase, tutorial, or talking-head edit with subtitles.
This is the more general video sibling to yuv-viral-video. The split:
yuv-viral-video— opinionated YUV.AI viral-short pipeline (MrBeast pacing, signature editorial style)video-edit— general captioned editor with transcript-review-before-render (Hebrew + English + any Whisper language)
For YUV.AI-branded captioned video, pair this skill with yuv-design-system (Neon mode for type/palette decisions). For generic / third-party captioned video, this skill works standalone.
When to invoke
- A path to a video file (mp4/mov/mkv) + a request to "edit", "caption", "add subtitles", "make a reel/promo", "do the same"
- "Fix the captions / Hebrew misspells" — re-enter at the review step on an existing project
- Any captioned tutorial / talking-head / promo build
Save location
Default: ~/Documents/yuv-projects/videos/<slug>/ — always save captioned video projects here so renders are findable. The <slug> is short, derived from the topic or source filename.
mkdir -p ~/Documents/yuv-projects/videos
cd ~/Documents/yuv-projects/videos
# Initialize the project here.
Final render lands at ~/Documents/yuv-projects/videos/<slug>/renders/<name>_FINAL.mp4. Tell the user where the video lives at the end of the render.
Workflow (12 steps)
-
Probe the source —
ffprobefor dimensions, fps, duration, audio. -
Scaffold —
cd ~/Documents/yuv-projects/videos && npx hyperframes init <slug> --video <path> --non-interactive. Rename the copied video tosource.mp4. -
Extract audio —
ffmpeg -i source.mp4 -vn -ac 1 -ar 16000 audio.wav. -
Transcribe — copy
references/transcribe.pyinto the project. Default modellarge-v3(best Hebrew). CUDA usually fails on Windows (missing cuDNN); the script falls back to CPU int8. Forcelanguage="he"for Hebrew,language="en"for English; otherwise auto-detect. -
Apply known corrections — copy
references/corrections-hebrew.mdcontent into acorrections.jsonat the project root (keys = wrong token, values = correct token). -
🛑 STOP — start the review server and let the user approve in a webapp. First apply known corrections: copy
references/make_review.pyinto the project and runpython make_review.py. It appliescorrections.jsontotranscript.json.Then spawn the review server as a background task (it blocks until the user clicks "Approve & Render" in the browser):
python "$HOME/.claude/skills/video-edit/references/serve_review.py" . # On Windows: python "C:\Users\<you>\.claude\skills\video-edit\references\serve_review.py" .The server prints a line like
REVIEW_URL=http://localhost:PORT/. Grab that URL from the background-task output (or read stdout) and send the user:👉 Review your transcript here: http://localhost:PORT/ When you click Approve & Render, I'll continue automatically.
The agent does not need a "continue" message — when the user clicks the button, the server writes
transcript_review.txtto the project dir AND exits with code 0. The agent's background-task notification fires, and the pipeline resumes from step 8.Fallback if no browser / no server: open the editor as a static file (
start "" "$HOME/.claude/skills/video-edit/transcript-editor/index.html"), ask the user to pick the project folder, edit, savetranscript_review.txtback into the project, and reply "continue". The editor supports both modes. -
(Optional) Background removal — see step 7 below; can run in parallel with the user's review.
-
After approval, run
python references/apply_review.py. It re-tokenises edited lines and redistributes word timings back intotranscript.jsonso caption sync still works. -
(Optional) Background removal — if any talking-head segment needs behind-subject text, extract the segment as
outro.mp4(orintro.mp4) and runnpx hyperframes remove-background <clip>.mp4 -o <name>_subject.webm --quality best. CPU only on most setups (~3–8 min for a ~15s 1440p clip). -
Re-encode source with dense keyframes — multi-worker render seeks freeze on sparse keyframes. Always run:
ffmpeg -y -i source.mp4 -c:v libx264 -preset medium -crf 18 -r 30 -g 30 -keyint_min 30 -sc_threshold 0 -pix_fmt yuv420p -movflags +faststart -c:a copy footage.mp4 -
Re-load the (edited) transcript and generate the body sub-composition via
references/gen_body.py. The generator emits the fullcompositions/components/caption-body.htmlwith editorial + matrix alternating in liquid-glass pills, anchored lower-left-of-centre (clears bottom-right webcam PiPs). -
Wire the host
index.htmlfromreferences/host-template.html. Layer order (z-index, NOT track-index):- z0: footage
.cam-bg - z1: liquid blob background (
compositions/liquid-blobs.html,mix-blend-mode: screen, full duration) - z2: parallax behind-subject caption (intro and/or outro, when bg-removal used)
- z3: subject cut-out
.cam-out/.cam-sub(with matchingdata-media-start) - z6: body captions
- z46: progress bar + flash + liquid morph wipe
- z0: footage
-
Lint —
npx hyperframes lint. Must be 0 errors. Common fixes: GSAP/CSS transform conflict on the wipe element (usexPercent/yPercentor remove the CSS transform); overlapping tweens on the same property (addoverwrite: "auto"). -
Render —
npx hyperframes render --quality standard --fps 30 --output renders/<name>_FINAL.mp4. Standard is the right delivery target —highroughly doubles render time. Verify with 6–8 spot-check frames from across the timeline before reporting done.
Vertical (9:16) output for TikTok / Reels / Shorts
When the user asks for vertical / portrait / TikTok / Reels / 9:16 output (from a 16:9 source):
- Clone the project to a sibling folder:
cp -r project/ project-vertical/. - Replace its
index.htmlwithreferences/host-template-vertical.html(1080×1920 canvas, blurred-bg backdrop with liquid blobs, the 16:9 footage as a centered horizontal strip, captions below). - Replace its
gen_body.pywithreferences/gen_body_vertical.py(centered pill, larger fonts, narrower max-width), then re-run it to emitcompositions/components/caption-body.html. - Drop the behind-subject cut-out + parallax sub-compositions (the cutout is aligned for 16:9; not worth re-aligning for v1). The vertical comp uses the blurred-source backdrop + blobs for atmosphere instead.
- Update
data-durationto the actual video duration. Update the brand-chip text inindex.html(YUV.AIby default). - Lint + render — same commands. Output is
1080×1920. Drop straight onto TikTok / IG Reels / YT Shorts.
To deliver both 16:9 and 9:16 in one go, run two render commands (in parallel projects). The transcript_review.txt approval applies to both — same captions, two compositions.
Critical rules
- Never render the final without explicit transcript approval. The review step is the whole point.
- For Hebrew:
large-v3+language="he"+direction: rtl+ Rubik (700 + 900 for editorial dual-weight emphasis). - Caption pills always need an opaque dark backing — bare light text vanishes on white app UI.
- Centre caption pills horizontally but shift the centre x-coord left (e.g.
left: 720px) when the footage has a bottom-right webcam PiP. - The behind-subject cut-out clip MUST carry
data-media-startmatching itsdata-start(or matching the offset from the source if the clip was extracted), or the cut-out plays from frame 0 and desyncs. - The
remove-backgroundwebm keeps the original RGB and writes only the alpha mask —ffprobereportsyuv420p, which looks like "no alpha". Confirm viaTAG:ALPHA_MODE=1or composite over a solid colour. - Outro/end cards with burned-in text — do NOT caption over them; they collide.
File references
| File | Purpose |
|---|---|
transcript-editor/index.html | Interactive browser editor — video preview, RTL editing, dictionary apply, optional WebLLM AI suggestions, saves transcript_review.txt |
references/setup.md | Prerequisites + install commands for Node / Python / FFmpeg / faster-whisper |
references/transcribe.py | faster-whisper transcribe with CPU fallback + word timestamps |
references/serve_review.py | Local review server — auto-loads editor, blocks until user clicks Approve & Render, then writes transcript_review.txt and exits (signals the agent) |
references/make_review.py | Apply corrections + emit transcript_review.txt (file-mode fallback) |
references/apply_review.py | Parse edited review file, redistribute word timings, update transcript.json |
references/gen_body.py | Caption-body generator (editorial + matrix in liquid-glass pills) |
references/host-template.html | 16:9 host composition with liquid effects + transition wipe |
references/host-template-vertical.html | 9:16 host (1080×1920) — TikTok / Reels / Shorts layout: blurred bg, centered 16:9 footage strip, captions below, brand chip top-right |
references/gen_body_vertical.py | Caption-body generator tuned for vertical (centered pill, larger fonts, narrower max-width) |
references/liquid-blobs.html | Full-duration drifting blob layer |
references/caption-parallax-outro.html | Behind-subject caption template (English; clone for other languages) |
references/corrections-hebrew.md | Known Hebrew Whisper mishears |
references/transcript-review-workflow.md | The pause/approve step in detail |
FAQ
What does the video-edit skill do?
Edit any video into a captioned showcase — transcribe (any language, defaults to large-v3), present a transcriptreview.txt for the user to fix mishears BEFORE rendering, then build a HyperFrames composition with liquid-glass caption pills, liquid blob background, liquid morph wipes, optional behind-subject text via background removal, and render the final video. Use whenever the user provides a video file and asks to edit it, caption it, add subtitles, fix existing captions, make a reel/promo/captioned tutorial, or "do the same" pattern as a prior captioned video. Supports English, Hebrew, and any Whisper-supported language. Renders both 16:9 (YouTube / horizontal) and 9:16 (TikTok / Instagram Reels / YouTube Shorts) from the SAME 16:9 source — vertical mode uses a centered footage strip with a blurred backdrop + liquid blobs and a vertical-tuned caption pill, no need to re-shoot. THE PIPELINE PAUSES FOR USER APPROVAL on the transcript before final render — this is the support mec
How do I install video-edit?
Run npx skills add https://github.com/hoodini/ai-agents-skills --skill video-edit in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/video-edit/ (personal) or .claude/skills/video-edit/ (project).
Which AI agents can use video-edit?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is video-edit safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains video-edit?
It is published by hoodini in hoodini/ai-agents-skills. It has 52 recorded installs.
More from hoodini/ai-agents-skills
github-trending
hoodini/ai-agents-skills
Fetch and display GitHub trending repositories and developers. Use when building dashboards showing trending repos, discovering popular projects, or tracking GitHub trends. Triggers on GitHub trending, trending repos, popular repositories, GitHub discover.
owasp-security
hoodini/ai-agents-skills
Implement secure coding practices following OWASP Top 10. Use when preventing security vulnerabilities, implementing authentication, securing APIs, or conducting security reviews. Triggers on OWASP, security, XSS, SQL injection, CSRF, authentication security, secure coding, vulnerability.
mongodb
hoodini/ai-agents-skills
Work with MongoDB databases using best practices. Use when designing schemas, writing queries, building aggregation pipelines, or optimizing performance. Triggers on MongoDB, Mongoose, NoSQL, aggregation pipeline, document database, MongoDB Atlas.
mobile-responsiveness
hoodini/ai-agents-skills
Build responsive, mobile-first web applications. Use when implementing responsive layouts, touch interactions, mobile navigation, or optimizing for various screen sizes. Triggers on responsive design, mobile-first, breakpoints, touch events, viewport.
google-workspace-cli
hoodini/ai-agents-skills
Open the skill to read its SKILL.md instructions.
web-accessibility
hoodini/ai-agents-skills
Open the skill to read its SKILL.md instructions.
Popular media & creative skills
hyperframes
heygen-com/hyperframes
Read first to make, edit, animate or render any video with HyperFrames (HTML rendered to video), including launch films, explainers, music videos, charts, maps, vertical clips, title cards, captions and overlays. Holds the render contract, the work loop and what each kind of video needs.
media-use
heygen-com/hyperframes
Get or make any media for a HyperFrames video - music, sound effects, images, icons, logos, voiceover, avatar and generated video, transcripts, cutouts, colour grades and looks - with HeyGen or free local tools, and mix placed audio. Also for footage that looks dark, flat or dull, or should be stylized or hidden.
hyperframes-registry
heygen-com/hyperframes
About 450 ready-made HyperFrames blocks and components installed as editable source - transitions, overlays, titles, kinetic type, captions, charts, map overlays, 3D, camera moves. Use it before hand-building any named visual (CRT scanlines, glitch, film grain, a chart); also for hyperframes add and catalog.
hyperframes-creative
heygen-com/hyperframes
Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use hyperframes-animation.
ai-video-generation
101-skills/superpowers
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0, HappyHorse 1.0, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, reference-to-video, video editing, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway alternative, pika alternative, sora alternative, kling alternative, seedance, happyhorse
ai-image-generation
101-skills/superpowers
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image, Grok Imagine, Seedream 4.5, Reve, ImagineArt. Capabilities: text-to-image, image-to-image, inpainting, LoRA, image editing, upscaling, text rendering. Use for: AI art, product mockups, concept art, social media graphics, marketing visuals, illustrations. Triggers: flux, image generation, ai image, text to image, stable diffusion, generate image, ai art, midjourney alternative, dall-e alternative, text2img, t2i, image generator, ai picture, create image with ai, generative ai, ai illustration, grok image, gemini image, gpt image, openai image, chatgpt image