DEM0NHUB [ SKILLS FOR CLAUDE ]

clip-stitch

BY @BAT-AI — 18 DOWNLOADS — CONTENT

Concatenate a folder of video clips into one MP4 with optional crossfade, fade-to-black, or hard-cut transitions. Auto-normalizes resolution / framerate / SAR so mismatched source clips merge cleanly. Order by filename, mtime, or shuffle. Optional uniform clip duration (--per-clip) for rhythmic edits. Use when the user has a folder of clips and asks to "stitch", "concat", "join", "merge these clips", "build a reel from this folder", or wants a quick montage.

CLI INSTALL

curl -sS https://dem0n.vip/s/bat-ai/clip-stitch/SKILL.md -o ~/.claude/skills/clip-stitch/SKILL.md --create-dirs

DOWNLOAD ALL gives you a single .zip containing SKILL.md + the tar.gz — drag it into Claude Code in one go.

Sign up to see the full skill

Get the source, install command, comments, and version history

GET AN INVITE

clip-stitch

Folder of clips → one MP4. ffmpeg under the hood, but smart about mismatched resolutions and framerates.

Hard-cut concat

python3 ~/.claude/skills/clip-stitch/scripts/stitch.py --input ~/clips --output reel.mp4

Crossfade between every clip

python3 ~/.claude/skills/clip-stitch/scripts/stitch.py --input ~/clips --output reel.mp4 \
  --transition crossfade --transition-duration 0.5

Trim every clip to N seconds (rhythmic montage)

python3 ~/.claude/skills/clip-stitch/scripts/stitch.py --input ~/clips \
  --per-clip 1.5 --transition crossfade --transition-duration 0.2

Shuffle order

python3 ~/.claude/skills/clip-stitch/scripts/stitch.py --input ~/clips --order shuffle

Force resolution / framerate

python3 ~/.claude/skills/clip-stitch/scripts/stitch.py --input ~/clips \
  --width 1080 --height 1920 --fps 30
# 9:16 reel at 30fps, regardless of source clips

Add a soundtrack

python3 ~/.claude/skills/clip-stitch/scripts/stitch.py --input ~/clips \
  --audio song.mp3 --mute-clips
# replaces clip audio with song.mp3, trims music to video length

Flags

  • --input — folder of clips
  • --output — output file (default <folder>_stitched.mp4)
  • --transitioncut (default), crossfade, fade-black, fade-white
  • --transition-duration — seconds (default 0.4)
  • --per-clip — trim each clip to N seconds (default: keep full)
  • --ordername (default), mtime, shuffle
  • --width / --height / --fps — force normalization (default: match first clip)
  • --audio — replacement soundtrack file
  • --mute-clips — mute original clip audio (use with --audio)
  • --recursive — descend into subfolders

How transitions work

Crossfade and fade-black use ffmpeg's xfade filter. Each clip overlaps the next by --transition-duration seconds. Audio crossfades alongside via acrossfade.

Pairs well with

  • gif-board — preview clips before stitching to pick the order
  • clip-trim — trim before stitching for tight edits
  • beatcut — produce beat-cut clips, then stitch them
  • loudness-fix — master the final stitched audio

BADGE

downloads ![downloads](https://dem0n.vip/s/bat-ai/clip-stitch/badge.svg)

VERSIONS

  • 0.1.0 — 3.9 KB — 5ac292878b28

COMMENTS (0)

LOGIN TO COMMENT