agentsclimarketplace

Tighten pace

Skill jperrello/C0BALT_CUT/.claude/skills/tighten-pace

Investigation on using Claude Code to automatically generate profitable YouTube videos.

Install
npx -y skills add jperrello/C0BALT_CUT --skill tighten-pace

Assembled 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

Remove dead air from a clip by collapsing any inter-word gap > gap_max (default 0.18s). Gaps collapse to collapse_to (default 0.08s), or sentence_beat (default 0.15s) when the preceding word ends with . ? or !. Re-emits the clip and a re-timed transcript so downstream subtitle / chunk / title skills align. Use right after cut-clip + rebase to keep pacing punchy.

SKILL.md

2.2 KB, 488 tokens by cl100k_base, as published. Nobody here has run it

tighten-pace

Podcast clips die on dead air. This skill walks a word-timed transcript, finds any silence longer than gap_max, and collapses that silence to a short floor — either collapse_to (mid-sentence) or sentence_beat (after a ., ?, or ! so a beat is preserved between thoughts). Output is a new clip plus a transcript whose timestamps reflect the tightened timeline, so chunk-captions, burn-subtitles, and title-transition all align correctly.

Invoke

.claude/skills/tighten-pace/tighten-pace.sh <input_clip> <input_transcript> <out_clip> <out_transcript> [gap_max=0.18] [sentence_beat=0.15] [collapse_to=0.08]
  • input_clip — clip-local mp4 (post cut-clip + rebase)
  • input_transcript — clip-local word-timed transcript JSON
  • out_clip — written mp4 with silences collapsed
  • out_transcript — written transcript JSON with shifted t0/t1
  • gap_max — silence threshold in seconds; only gaps strictly greater are collapsed
  • sentence_beat — target gap (sec) at sentence boundaries
  • collapse_to — target gap (sec) elsewhere

Env overrides: TIGHTEN_GAP, TIGHTEN_SENTENCE_BEAT, TIGHTEN_COLLAPSE_TO.

How

plan.py walks word pairs. When nxt.t0 - prev.t1 > gap_max, the kept ranges are split: the previous range ends at prev.t1 + target/2 and the next starts at nxt.t0 - target/2, so the residual silence after ffmpeg select+aselect is exactly target seconds. target is sentence_beat when prev.w ends with ., ?, or !; otherwise collapse_to.

Caveats

  • Always re-encodes (select filter cannot stream-copy).
  • Idempotent via <out>.tpmeta (input + transcript mtimes + all three params).
  • If the transcript has fewer than 2 words, the input is copied through.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.