agentsclimarketplace

Verify coherence

Skill jperrello/C0BALT_CUT/.claude/skills/verify-coherence

Post-pick gate that re-reads each picked span's transcript and either keeps it as-is or tightens its [t0,t1] to cover only the dominant topic. Prevents shorts that feel like two unrelated clips spliced together.From its SKILL.md

Install
npx -y skills add jperrello/C0BALT_CUT --skill verify-coherence

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.

SKILL.md

1.6 KB, 359 tokens by cl100k_base, as published. Nobody here has run it

verify-coherence

Belt-and-suspenders coherence check that runs AFTER pick-segments. Claude re-reads each span's own transcript slice and verdicts keep or tighten. On tighten, the span's [t0, t1] is replaced with a trimmed range covering only the dominant topic; if the trimmed range falls below dmin, the span is dropped silently.

Invoke

.claude/skills/verify-coherence/verify-coherence.sh <segments.json> <transcript.json> <out.json> [dmin=20]
  • segments: output of pick-segments
  • transcript: full-source transcript JSON
  • out: validated segments.json (same shape as input, possibly with tightened or dropped spans)
  • dmin: minimum surviving span duration; spans tightened shorter are dropped

Output

Same schema as pick-segments output, with two possible per-span additions:

  • coherence_verdict: keep | tightened
  • coherence_note: short reason

Dropped spans are simply absent from the output shorts[].

How

For each span, build a span-local transcript (lines whose midpoint falls in [t0, t1]) and ask Claude:

Does this span cover ONE topic, or does it pivot to a second unrelated topic partway through? If it pivots, return the trimmed [t0', t1'] that contains only the dominant (longer / hookier) topic. Otherwise return keep.

A single claude -p call handles all spans in one batch to keep latency low.

What ships with it: 3 files

5.0 KB alongside SKILL.md, 3 of them executable

Keep looking

Skills are one crate of 326,970. 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.