Cut clip
Investigation on using Claude Code to automatically generate profitable YouTube videos.
npx -y skills add jperrello/C0BALT_CUT --skill cut-clipAssembled 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
Trim a video to a [t0, t1] time range using ffmpeg. Stream-copies where possible to avoid re-encoding. Use as the cheap building block for cutting source video into per-short slices.
SKILL.md
0.9 KB, 245 tokens by cl100k_base, as published. Nobody here has run it
cut-clip
Thin ffmpeg trim wrapper.
Inputs
input: video patht0: start seconds (float)t1: end seconds (float)out: output pathreencode(optional): bool, defaultfalse. Set true if cut must be frame-accurate at a non-keyframe.
Output
mp4 cut to the requested range.
How
- Default (stream copy, fast, ±1 keyframe accuracy):
ffmpeg -ss <t0> -to <t1> -i <in> -c copy -avoid_negative_ts make_zero <out> - Re-encode (frame-accurate):
ffmpeg -i <in> -ss <t0> -to <t1> -c:v libx264 -preset veryfast -crf 18 -c:a aac <out>
Invoke
.claude/skills/cut-clip/cut-clip.sh <input> <t0> <t1> <out> [reencode]
Idempotent via mtime check (skips when out is newer than input).