claude-video
Skill41 starsChanged 8 months agoMITView on GitHub
AI-powered video production suite: editing, transcoding, captioning, analysis, creation, shortform pipeline, image/video generation, web screenshots, AI audio/video enhancement. Uses FFmpeg, Whisper, PySceneDetect, FLUX.2, Veo, Playwright, Real-ESRGAN, Demucs, and Remotion. GPU-accelerated with NVIDIA NVENC. Use when user says "video", "ffmpeg", "trim", "cut", "transcode", "caption", "export", "analyze", "download", "create video", "shorts", "tiktok clips", "generate image", "generate video", "screenshot", "upscale", "enhance", "denoise", "separate vocals", "face restore", "slow motion", "remove background", or "/video".
- Reads credentials
2 other projects use a version of this.
Adopted by
Most recently taken up by
- holland-built/no-yolotheir own version, first seen Nov 29, 2026
- Felpborges/claude-videotheir own version, first seen Nov 22, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- Felpborges/claude-video★ 72same name
- holland-built/no-yolo★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- claude-video-analyzeSkill
- claude-video-audioSkill
- claude-video-captionSkill
- claude-video-createSkill
- claude-video-downloadSkill
- claude-video-editSkill
- claude-video-enhance-audioSkill
- claude-video-enhanceSkill
- claude-video-exportSkill
- claude-video-generateSkill
- claude-video-imageSkill
- claude-video-promoSkill
- claude-video-screenshotSkill
- claude-video-shortsSkill
- claude-video-transcodeSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 4 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 49
When the user provides a specific command, load the matching sub-skill:
- Very specific: line 71
When user says /video without arguments or describes a task in natural language:
- Very specific: line 72
Run bash scripts/check_deps.sh to verify tools are available
- Very specific: line 73
Run bash scripts/detect_gpu.sh to know encoding capabilities
- Distinctive: line 76
If intent is ambiguous, ask the user to clarify
- Very specific: line 83
Use temp files in /tmp/claude-video/ for intermediate outputs
- Very specific: line 94
Temp file cleanup: use trap 'rm -f "$TEMP"' EXIT INT TERM pattern in all scripts
- Very specific: line 95
Disk space check: run bash scripts/estimate_size.sh before large encodes
- Very specific: line 120
All Python scripts in scripts/ that use AI models (segment_scorer.py, face_tracker.py, image_generate.py, video_generate.py, …
- Distinctive: line 126
Before loading any GPU model, check free VRAM:
- Distinctive: line 139
NEVER: run two heavy/exclusive models simultaneously.
- Very specific: line 144
Run bash scripts/detect_gpu.sh at start of any encoding task
- Very specific: line 145
If NVENC available: use h264_nvenc/hevc_nvenc/av1_nvenc with -preset p5 -tune hq
- Very specific: line 146
If no GPU: fallback to libx264/libx265/libsvtav1 with -preset medium
- Very specific: line 147
Always add -movflags +faststart for MP4 output
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.
Files
claude-video — CLI-Native Video Editing for Claude Code
Quick Reference
| Command | What it does |
/video | Interactive mode — describe what you want in plain English |
/video setup | Install all dependencies (faster-whisper, auto-editor, scenedetect, yt-dlp, mediainfo) |
/video edit | Trim, cut, split, merge, speed, crop, overlay, stabilize, transitions |
/video transcode | Convert codecs, compress, GPU-accelerated encoding, two-pass |
/video audio | Normalize loudness, reduce noise, mix, extract, remove silence |
/video caption | Transcribe speech → animated word-by-word subtitles (Whisper + ASS) |
/video analyze | Inspect with ffprobe, measure quality (VMAF/SSIM/PSNR), detect scenes |
/video export <platform> | One-command export: youtube, tiktok, instagram, linkedin, web, gif, podcast |
/video download <url> | Download video via yt-dlp with format selection |
/video create | Programmatic video creation via Remotion (React-based motion graphics) |
/video shorts | Longform → shortform pipeline: transcribe, score, crop 9:16, caption, export |
/video image | AI image generation (Gemini 3 Pro Image, FLUX.2 local, SD 3.5, OpenAI, rembg) |
/video generate | AI video generation (Veo 3.1, Runway Gen-4, local SVD) |
/video screenshot | Web capture via Playwright (screenshots, recordings, Ken Burns) |
/video enhance-audio | AI audio (Demucs separation, DeepFilter denoise, TTS, diarize, AudioSR) |
/video enhance | AI video (Real-ESRGAN upscale, RIFE interpolation, CodeFormer, rembg) |
/video promo | Stock footage + Remotion promo videos with contrast-aware text overlays |
/video setup --ai | Install AI dependencies (PyTorch, WhisperX, FLUX.2, Real-ESRGAN, etc.) |
Orchestration Logic
Command Routing
When the user provides a specific command, load the matching sub-skill:
/video editor intent is trim/cut/split/merge/speed/crop/overlay/stabilize/transition → Readskills/claude-video-edit/SKILL.md/video transcodeor intent is convert/compress/encode/codec/format change → Readskills/claude-video-transcode/SKILL.md/video audioor intent is audio normalize/noise/mix/extract/silence/volume/LUFS → Readskills/claude-video-audio/SKILL.md/video captionor intent is transcribe/subtitle/caption/whisper/SRT/ASS → Readskills/claude-video-caption/SKILL.md/video analyzeor intent is inspect/info/quality/VMAF/metadata/scene detect/ffprobe → Readskills/claude-video-analyze/SKILL.md/video exportor intent is export for youtube/tiktok/instagram/linkedin/web/gif/podcast → Readskills/claude-video-export/SKILL.md/video downloador intent is download video from URL → Readskills/claude-video-download/SKILL.md/video createor intent is create/generate programmatic video/motion graphics/title card → Readskills/claude-video-create/SKILL.md/video shortsor intent is shortform/clips/TikTok shorts/reels from longform → Readskills/claude-video-shorts/SKILL.md/video imageor intent is generate image/AI image/FLUX/stable diffusion/remove background → Readskills/claude-video-image/SKILL.md/video generateor intent is generate video/AI video/Veo/Runway/text-to-video → Readskills/claude-video-generate/SKILL.md/video screenshotor intent is screenshot/web capture/screen recording/Ken Burns → Readskills/claude-video-screenshot/SKILL.md/video enhance-audioor intent is separate vocals/denoise AI/diarize/TTS/voice clone/upsample audio → Readskills/claude-video-enhance-audio/SKILL.md/video enhanceor intent is upscale/super resolution/interpolate/face restore/remove background video → Readskills/claude-video-enhance/SKILL.md/video promoor intent is promo video/stock footage/marketing video/stock clips with text → Readskills/claude-video-promo/SKILL.md/video setup→ Runbash scripts/setup.sh/video setup --ai→ Runbash scripts/setup.sh --ai
Interactive Mode
When user says /video without arguments or describes a task in natural language:
- Run
bash scripts/check_deps.shto verify tools are available - Run
bash scripts/detect_gpu.shto know encoding capabilities - Identify intent from the user's description
- Route to the appropriate sub-skill
- If intent is ambiguous, ask the user to clarify
Multi-Step Pipelines
For complex requests that span multiple sub-skills (e.g., "download this YouTube video, remove silence, add captions, export for TikTok"), execute sub-skills sequentially:
- Download → edit → caption → export
- Pass output of each step as input to the next
- Use temp files in
/tmp/claude-video/for intermediate outputs - Clean up temp files after final output is produced
Safety Rules — MANDATORY
- Always use
-nflag (no-overwrite) unless user explicitly requests overwrite - Never let output path equal input path — run
bash scripts/preflight.sh "$INPUT" "$OUTPUT"before any write - Never delete source files — all operations produce new files
- Run preflight before every write operation:
bash scripts/preflight.sh <input> <output> - Confirm before: batch operations (>3 files), downloads, operations estimated >5 minutes
- Auto-execute without confirmation: ffprobe analysis, thumbnail extraction, GPU detection, metadata reading
- Temp file cleanup: use
trap 'rm -f "$TEMP"' EXIT INT TERMpattern in all scripts - Disk space check: run
bash scripts/estimate_size.shbefore large encodes
AI Sub-Skill Routing Guide
- "separate vocals" / "isolate dialogue" →
claude-video-enhance-audio(Demucs, AI model) - "reduce noise" / "denoise" →
claude-video-audio(FFmpeg afftdn) for quick fix,claude-video-enhance-audio(DeepFilterNet3) for AI quality - "remove background" from image →
claude-video-image(rembg), from video →claude-video-enhance(rembg batch + alpha assembly) - "upscale" / "super resolution" →
claude-video-enhance(Real-ESRGAN) - "slow motion" (basic) →
claude-video-edit(setpts), (AI frame interpolation) →claude-video-enhance(RIFE) - "generate image/video" →
claude-video-image/claude-video-generate - "shorts" / "clips from long video" →
claude-video-shorts
Python Virtual Environment
AI scripts require an isolated venv with PyTorch nightly cu128 (for RTX 5070 Ti Blackwell sm_120):
# Install the AI venv (one-time)
bash scripts/setup.sh --ai
# Venv location
~/.video-skill/bin/python3
~/.video-skill/bin/activateAll Python scripts in scripts/ that use AI models (segment_scorer.py, face_tracker.py,
image_generate.py, video_generate.py, audio_enhance.py, video_enhance.py, web_capture.py)
require activation: source ~/.video-skill/bin/activate
VRAM Management (16GB Budget — RTX 5070 Ti)
Before loading any GPU model, check free VRAM:
nvidia-smi --query-gpu=memory.free --format=csv,noheader,nounits| Tier | VRAM | Models | Rule |
| Exclusive (>10GB) | 12-13GB | FLUX.2 klein, Bark TTS | Must be ONLY GPU model loaded |
| Heavy (5-10GB) | 5-8GB | Demucs, WhisperX, AudioSR | One heavy at a time |
| Light (<5GB) | 1-4GB | rembg, CodeFormer, RIFE, pyannote | Can coexist if total <12GB |
| NVENC | ~500MB | Hardware encoder | Always available |
| CPU only | 0 | MediaPipe, PySceneDetect, Playwright, librosa | No VRAM needed |
NEVER run two heavy/exclusive models simultaneously. Load → process → unload → next model.
Encoding Defaults
GPU-First Strategy
- Run
bash scripts/detect_gpu.shat start of any encoding task - If NVENC available: use
h264_nvenc/hevc_nvenc/av1_nvencwith-preset p5 -tune hq - If no GPU: fallback to
libx264/libx265/libsvtav1with-preset medium - Always add
-movflags +faststartfor MP4 output
Codec Selection Priority
- Stream copy (
-c copy): when no re-encoding needed (trim, remux, extract) - AV1 (
av1_nvencorlibsvtav1): best compression, royalty-free — default for new encodes - H.264 (
h264_nvencorlibx264): maximum compatibility (social media, older devices) - H.265 (
hevc_nvencorlibx265): good compression + wide support — use when user requests
Quality Defaults
- H.264: CRF 20 (CPU) / CQ 21 (NVENC)
- H.265: CRF 24 (CPU) / CQ 26 (NVENC)
- AV1: CRF 28 (CPU) / CQ 30 (NVENC)
- Audio: AAC 192k for video, 128k for web, Opus 128k for WebM
Reference Files
Load on-demand as needed — do NOT load all at startup:
references/transcode.md— Codec comparison, CRF guide, two-pass encoding, containersreferences/filters.md— Complete video filter catalog with exact FFmpeg commandsreferences/audio.md— Loudness targets, noise reduction, audio processingreferences/captions.md— Whisper setup, ASS karaoke format, word-level stylingreferences/analyze.md— FFprobe patterns, VMAF/SSIM/PSNR quality assessmentreferences/export-presets.md— Platform-specific export commands (YouTube, TikTok, etc.)references/gpu-accel.md— NVENC commands, CUDA filters, RTX-specific settingsreferences/remotion.md— Remotion setup, React video patterns, headless renderingreferences/shorts-pipeline.md— WhisperX models, scoring algorithm, face tracking, platform limitsreferences/image-generation.md— FLUX.2, SD 3.5, OpenAI/Google APIs, rembg, video-native dimensionsreferences/video-generation.md— Veo 3.1, Runway Gen-4, SVD local, polling, cost formulasreferences/web-capture.md— Playwright setup, device emulation, Ken Burns FFmpeg commandsreferences/audio-enhance.md— Demucs, DeepFilterNet3, pyannote, TTS comparison, AudioSRreferences/video-enhance.md— Real-ESRGAN, RIFE, CodeFormer, rembg, frame pipelinesreferences/batch-processing.md— GNU parallel + NVENC concurrency, batch AI, error handling
Sub-Skills
claude-video-edit— Video editing: trim, cut, split, merge, speed, crop, overlay, stabilize, transitionsclaude-video-transcode— Codec conversion, compression, GPU encoding, two-pass, container remuxclaude-video-audio— Audio normalization, noise reduction, mixing, extraction, silence removalclaude-video-caption— Speech-to-text transcription, animated subtitles, burn-in stylingclaude-video-analyze— Video inspection, quality metrics, scene detection, metadata analysisclaude-video-export— Platform-optimized exports (YouTube, TikTok, Instagram, LinkedIn, Web, GIF, Podcast)claude-video-download— Video downloading via yt-dlp with format and quality selectionclaude-video-create— Programmatic video creation via Remotion (React-based motion graphics)claude-video-shorts— Longform → shortform pipeline: transcribe, score, crop 9:16, caption, exportclaude-video-image— AI image generation: Gemini 3 Pro Image, FLUX.2 local, SD 3.5, OpenAI API, rembgclaude-video-generate— AI video generation: Veo 3.1, Runway Gen-4 Turbo, local SVDclaude-video-screenshot— Web capture: Playwright screenshots, recordings, Ken Burns animationclaude-video-enhance-audio— AI audio: Demucs separation, DeepFilter denoise, TTS, diarize, AudioSRclaude-video-enhance— AI video: Real-ESRGAN upscale, RIFE interpolation, CodeFormer face restore, rembg
Scripts
scripts/setup.sh— Install all dependencies with user confirmationscripts/detect_gpu.sh— Detect NVIDIA NVENC, list encoders (JSON output)scripts/check_deps.sh— Verify all tools installed with versions (JSON output)scripts/preflight.sh— Safety check: input exists, output != input, disk space okscripts/estimate_size.sh— Estimate output file size from duration + target codecscripts/caption_pipeline.sh— End-to-end: audio extract → whisper → ASS → burn-inscripts/shorts_pipeline.sh— Full shortform pipeline: transcribe → score → crop → caption → exportscripts/segment_scorer.py— WhisperX transcription + engagement scoring (requires venv)scripts/face_tracker.py— MediaPipe face detection + smart crop to 9:16 (requires venv)scripts/image_generate.py— FLUX.2 / SD 3.5 / OpenAI image generation (requires venv)scripts/video_generate.py— Veo / Runway / SVD video generation (requires venv)scripts/web_capture.py— Playwright screenshots, recording, Ken Burns (requires venv)scripts/audio_enhance.py— Demucs / DeepFilter / pyannote / TTS / AudioSR (requires venv)scripts/video_enhance.py— Real-ESRGAN / RIFE / CodeFormer / rembg (requires venv)scripts/screen_shorts_pipeline.sh— V3 screen-aware shorts pipeline (VLM + framed layout)scripts/frame_analyzer.py— VLM frame analysis via Gemini 2.5 Flash (requires venv + GOOGLE_API_KEY)scripts/topic_segmenter.py— Topic boundary detection + multi-modal scoring (requires venv)scripts/smart_reframe.py— Content-aware vertical reframe with framed layout (requires venv)
Agents
For complex multi-step tasks, delegate to specialized agents via Task tool:
claude-video-encoder— Complex encoding pipelines (multi-pass, multi-output, batch)claude-video-analyst— Deep quality assessment and comprehensive video analysisclaude-video-producer— Production pipeline specialist (multi-step, VRAM management, cost tracking)
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
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.

