m4bwav/cinewright/cinewright-qc
Claude Code and agent skill by m4bwav/cinewright
- community
Checking that the SKILL.md file is still in the repository.
Checks rendered AI video takes against their shot cards: contact sheets, a per-shot rubric, spec and loudness checks with ffmpeg, failure codes routed to the cheapest fix. Use when reviewing a generated clip, deciding reroll or keep, or asking why a take failed. Also 'refresh cinewright-qc'.
Install
npx vskill@latest install m4bwav/cinewright/cinewright-qcSKILL.md
The same SKILL.md was published earlier as m4bwav/cinewright/cinewright-qc.
cinewright-qc
Judge each take against its card, not against taste, and turn every failure into one cheapest next change. Outcome: a contact sheet, a filled rubric, a take record with verdict and failure code, and the one change for the next take.
CINE means python scripts/cine.py run from the folder holding this file (run it, never read it). Knowledge: read references/INDEX.md once, then CINE kb show <slug> --section Rules. Never read the whole folder. ffmpeg and ffprobe must be on PATH; if a command says they are missing, follow SETUP.md.
Step 0: freshness
Read evergreen.json. If contradiction is set or today is on or after next_due, say so in one line, do the task, then run evergreen-refresh if the evergreen plugin is installed. If tests.failing is non-empty, say so and run evergreen-tune after the task.
Step 1: measure
CINE qc sheet <clip>writes<clip>.sheet.png(2 fps up to 10 s, then 1 fps). Read the sheet once, whole; never one read per frame.CINE qc spec <clip> --project <p> --card <id> --params <compiled settings>: fps, size, aspect, length, audio stream. For a multi-shot generation pass its label (--card 1A+1B+1C). Quote its last line.CINE qc measure <clip> --project <p> --card <label>: machine checks a sheet misses (planned cuts found, early or late; frozen picture; flicker, which only warns; dead air; clipping; speech where a line is planned;--every <s>adds seam level jumps in a cut film) and a 0-100 score. Its fails are facts to confirm in Step 2, not verdicts on look or acting. When takes compete, it drops the broken ones; rank the rest two at a time, both orders (kb show take-selection).- A segment continued from another (chained renders):
python scripts/cine_seam.py <A> <B> [...](or<film> --at t,../--every s) scores each join (spike, colour step, settle, a framing jump) and the drift inside each segment. Competing takes of a continuation: rank them by its join first, then judge the survivors by the rubric. Colour-match B to A's tail (MKL, constant) only when the colour step is 3 dE or more. CINE takes lastframe <clip> --out <p>/qc/<id>-<n>.last.pngfor the end state.
Step 2: judge
CINE qc rubric <p> --card <id> --clip <clip>(no--clipbefore the first take) writes<p>/qc/<id>.rubric.json; never write a checklist by hand: one item per check the card makes possible (identity, who is in frame, wardrobe, props, positions, eyelines, light, camera, action and its order, start and end state, text, sound, seam).- Fill each
verdictwithpass,failornafrom the sheet, the last frame and the audio, in the passes ofkb show review-passes, the look pass included. On a fail, setcodefrom the item'scodesand anotesaying what you saw. Judge rules:kb show qc-loop --section Rules. An identity item with faces in a close shot can be scored against the bible's refs instead of by eye; wide shots stay by eye (kb show identity-score). - Second opinion (optional, a local vision model in Ollama):
CINE qc judge <rubric> --twice [--start S --end S]fills avlmverdict per sheet item. Fill your own verdicts from the frames first, then compare: a yes in both orders can stand (right 228 of 231 in a field test); check every no, split and unclear yourself (kb show vision-judge). Reviewer notes go in<p>/qc/standing.jsonand join every rubric;CINE qc agree <p>scores the judge against you (kb show judge-calibration). CINE qc rubric --read <rubric>prints the fails ordered by repair rung and the one change for the next take. Evidence: its last line.
Step 3: log and route
CINE takes log <p> --card <id> --model <m> --verdict <v> --fix <code> --file <clip> --change "<one change from the last take>". It finds the compiled prompt and settings and hashes the prompt.- Apply the printed fix (cinewright-genvideo recompiles; cinewright-continuity fixes cards). One change per reroll; a multi-shot generation gets one change across all its cards, the cheapest rung among them.
- Three failed takes of one card: stop and re-plan the card (it prints when).
- Track cost per kept shot, not per generation: count the logged takes (and GPU minutes or credits) behind each passed card, and report the film's total and per-card average at picture lock. It is the number that prices the next film; per-clip prices do not.
- A pass: write what the last frame shows (
takes lastframe ... --take <record> --observed "...") and copy it into the next card'sstart_state.
A hosted re-render costs money: show the prompt, settings and cost, and ask first.
Step 4: loudness at the mix
CINE qc loud <mixed file> --preset <target>: integrated loudness and true peak against a delivery preset (web, the default: -18 ± 2 LUFS, -2 dBTP; also ebu-r128, atsc-a85, netflix, music-streaming; kb show loudness-targets).
Output
The sheet path, the rubric's last line, the take record path, and the one change for the next take (or "pass").
While working: capture learnings
If the user corrects a verdict, the same failure survives its fix twice, or a code is missing, add an entry to LEARNINGS.md now (check existing entries first). If it proves a rule here wrong, fix the rule, log it in CHANGELOG.md, and set contradiction in evergreen.json.
Maintenance
This skill is evergreen (tier moderate; state in evergreen.json). Files: RESEARCH.md, CHANGELOG.md, LEARNINGS.md, TESTS.md, SETUP.md and evals/evals.json. How to maintain it, with or without the evergreen plugin: MAINTENANCE.md. Refresh with evergreen-refresh, test with evergreen-test, fix with evergreen-tune.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/cinewright/skills/cinewright-qc/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/m4bwav/cinewright/cinewright-qc)