style-corpus

The offline LEARN phase of the style-replication loop. `learn <url|file>...` downloads each Group C exemplar short (yt-dlp, media into gitignored work/_style/<id>/), profiles it sidecar-free via profi

SKILL.md

GitHub

style-corpus

bash .claude/skills/style-corpus/style-corpus.sh learn <urlC1> <urlC2> ...
bash .claude/skills/style-corpus/style-corpus.sh distill
bash .claude/skills/style-corpus/style-corpus.sh show

references/targets.json: {style_profile_version, n, clips[], fields:{"cuts.cuts_per_min": {median, sigma, n, lever, invert} | {median, sigma, n, diagnostic:true}}}. Only levered fields participate in the style-gate match; diagnostic fields are reported but can never fail the gate (the unreachable-target protection — production facts like multicam/staged are measured, not chased).

The gate self-arms: style-gate no-ops until targets.json exists with n >= SG_MIN_REFS (default 3). Env: STYLE_REFS (corpus dir, default references/).