Broll cleanup
Investigation on using Claude Code to automatically generate profitable YouTube videos.
npx -y skills add jperrello/C0BALT_CUT --skill broll-cleanupAssembled 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
Deferred end-of-run B-roll cache eviction. For ONLY the B-roll source video_ids this run ingested (from each broll_plan.json's ingested_video_ids), runs `mcptube remove <id>` AND deletes the local work/<id>/broll/*.mp4 cache. Never touches the podcast source, unrelated library videos, or broll_plan.json (placement metadata persists for editors). Runs once at the very end of a whole pipeline run.
SKILL.md
1.6 KB, as published. Nobody here has run it
broll-cleanup
Runs ONCE at the end of a whole pipeline run, after every short is saved. Takes
one or more broll_plan.json paths, unions their ingested_video_ids, and for
each: mcptube remove <id> plus deletes that plan's local broll/*.mp4 cache.
Scope is strict: only the B-roll source videos this run added to mcptube (tracked
via ingested_video_ids) are evicted — never the podcast source or pre-existing
library videos. broll_plan.json itself is left intact so editors keep the
per-cutaway placement + source metadata after the heavy mp4 cache is gone.
Invoke
.claude/skills/broll-cleanup/broll-cleanup.sh <broll_plan.json> [<broll_plan.json> ...]
Typically called with a glob over the run's plans, e.g.
broll-cleanup.sh work/<id>/short_*/broll_plan.json.
Env
MCPTUBE_BIN— override mcptube path.
Behavior
- Dedups video_ids across all supplied plans (one
mcptube removeper id). - A
removethat fails (id already gone) is logged, not fatal. - Deletes each pick's
clip_pathand any straggler*.mp4in thebroll/dir. - Never edits or deletes
broll_plan.json.