Selection report
Write output/<slug>/_selection.json for a source — the shipped shorts (scores + rationale from segments.raw.json, linked to their delivered filename) ALONGSIDE the considered-not-shipped RLM candidate menu (candidates.hint.json, each marked picked/unused) and the topic list (topics.json). Deterministic, no Claude, idempotent, non-fatal. Runs once at end of run AND standalone over the whole output/ backlog. Answers "show me the other arguments alongside the shorts".From its SKILL.md
npx -y skills add jperrello/C0BALT_CUT --skill selection-reportAssembled 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
2.8 KB, 625 tokens by cl100k_base, as published. Nobody here has run it
selection-report
A read-only audit artifact: for each source, what got shipped, what was considered
and passed over, and why. Sources every field from work/<id>/ — no Claude.
Usage
selection-report.sh <work_dir> [output_root] # one source -> output/<slug>/_selection.json
selection-report.sh --backlog [output_root] # every work/<id> with a matching output/<slug>/
output_root defaults to $OUTPUT_DIR (.env) or <repo>/output.
Inputs (all from work/<id>/, all optional → graceful empty sections)
ingest.json— title/url/duration + the slug that namesoutput/<slug>/.segments.raw.json— the produced shorts with scores + rationale (the SHIPPED set).clip_NN.done.completion— written bystart.shsave-local; maps span N → the delivered filename (the title differs fromtitle_suggestionbecausegenerate-titlere-titles). Absent in the legacyshorts.shpath →name: null.candidates.hint.json— the rlm discovery menu (CONSIDERED set; absent on non-rlm short sources → empty).topics.json— the topic chapters.
Output output/<slug>/_selection.json
{
"source_id": "...", "title": "...", "url": "...", "slug": "...", "duration_sec": 0,
"shipped_count": 0, "considered_count": 0, "considered_picked": 0, "topics_count": 0,
"shipped": [ { "rank", "name", "delivered", "t0","t1","cuts", "hook_type",
"opening_line","title_suggestion","rationale","topic",
"overall_score","hook_score","context_score","structure_score",
"hook_payoff_coherence","payoff_offset_sec","replay_quotient",
"thread?","thread_kind?" } ],
"considered":[ { "t0","t1","quote","why","confidence",
"picked","picked_by", // picked = overlaps a shipped cut
"thread?","kind?","cuts?","bridge?" } ],
"topics": [ { "t0","t1","title","summary" } ]
}
A candidate is picked: true when its [t0,t1] overlaps any shipped span's cuts;
picked_by names the short it overlaps most.
Where it runs
start.sh end-of-run (after sources-ledger, before schedule-drip) for the just-run
source; shorts.sh end-of-run; standalone --backlog to backfill existing output dirs.
Idempotent — rewritten each run.
What ships with it: 2 files
5.7 KB alongside SKILL.md, 2 of them executable
- report.pyruns4.1 KB
- selection-report.shruns1.6 KB