Logo Media Judge

Media Judge

Tổ chức
vargHQ
media-judge

Đánh giá video, hình ảnh hoặc bản nhạc do AI tạo đã hoàn thiện bằng cách đo lường chất lượng, rồi xếp hạng các bản dựng dựa trên lỗi phát hiện được. Chỉ với một lệnh, công cụ đọc mọi khung hình và ghi lại dữ kiện kèm mốc thời gian, bằng chứng: khung hình lỗi, hiện tượng dải màu sau khi giả lập tải lên X hoặc YouTube, con số rung lắc, lỗi chính tả, quá nhiều chi tiết trên màn hình, thiếu điểm thu hút ánh nhìn, chuyển động không có lý do, đồ họa bị ghim cố định, nhãn trượt, khuôn mặt, trang phục hoặc ánh sáng thay đổi, âm thanh phát sau điểm cắt, độ lớn âm thanh, giọng đọc có khớp kịch bản không và mức độ lệch so với mẫu tham chiếu. Một tác nhân AI mới chỉ đưa ra nhận định ở những điểm có thể đánh giá bằng mắt. Không chấm điểm trên thang 10. Dùng khi có người nói "review this video", "check my render", "self-review", "QA", "judge", "critique", "score these takes", "pick the best take", "does it match the reference", "it looks like a template", "is it ready to post", "reverse engineer this reel", hoặc sau khi một tác nhân AI hoàn thành phim, phim ngắn, reel hay quảng cáo. Không dùng để tạo hoặc sửa nội dung đa phương tiện (varg-ai, varg-video-editing) hay kiểm tra luật quảng cáo (ai-ad-compliance-check).

Tổng quan

Nhà phát hànhvargHQ
Kho mãskills
Tên kỹ năngmedia-judge
Sao
30
Bản fork
4
Tệp đi kèm
32
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 32 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được vargHQ công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Media Judge trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/vargHQ/skills/tree/main/media-judge
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vargHQ/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/media-judge .claude/skills/media-judge
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Media Judge trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Media Judge ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Media Judge với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Media judge

Step 9 of 10 in How to make a video with an AI agent in ten steps. The full guide, with every test and source: https://varg.ai/how-to/judge-an-ai-video-without-bias (as Markdown: add .md).

Measure, don't grade. A judgment here is a time, a number and a picture. "Looks great", "8/10" and "feels premium" are not findings, and neither is any adjective with no measurement behind it.

Code finds the moment and a fresh pair of eyes reads only that moment, in that order, because the other way round fails: 12 vision models scored at most 54.1% on spotting temporal glitches; Claude Opus caught 17.5% of them, Gemini 3 Flash said "glitch" to about 87% of clean clips (TempGlitch, gameplay clips). Uniform sampling at 0.5 fps caught 11.81% of faults under 0.2 s (SynFlash), and GPT-4 preferred its own output 0.705 and 0.912 of the time on tasks where people saw equal quality (Panickssery et al.). So:

  1. Facts: judge.py reads every frame and every sample. It does not sample.
  2. Eyes: a fresh agent opens only the evidence and answers narrow questions.
  3. Verdict: counted defects. Ranking follows from the counts, never from a feeling.

What this has been tested on. Planted defects in footage it never saw while being tuned: 18 of 22 caught, 6 of 8 clean controls (25 of 25 and 10 of 10 on the footage it was tuned on). In a blind test on 19 anonymous clips, an agent with this skill found 12 of 14 planted defects, with no false claims on clean clips, using 116k tokens. An agent given only the failure list found 11 of 14, using 197k tokens, and reported the banding without an upload test. So the list itself does a lot. This adds repeatable numbers, the upload test, and fewer tokens. Both missed a face swap they weren't told to look for, so use --one-character.

1. Who judges

If you made this media, you do not judge it in this context. Start a fresh agent with no knowledge of the prompts or of how it was made, and give it only the file, this skill, the brief (what it must say, names, product) and the references. If you cannot start one, write self-judged at the top of the verdict.

2. Run the measurements

bash
uv run scripts/judge.py video film.mp4 --out runs/film \
  --allow "varg,Seedance"          # brand and product names for the spell check

Takes about a minute for a 12 s clip and about 5 minutes for a 47 s 1080p film on a busy laptop. Add what you know, because each flag turns a report into a test:

FlagUse it whenWhat it turns on
--one-characterthe brief says one person, or the same person across shotsface changes become flags. Without it a swap is only a number in neighbour_pairs, and a blind run of this skill missed one that way
--groups '[[0,1,2],[5,6]]'these shots share one sceneoutfit and light jumps become flags
--expected lines.txtyou know the on-screen textevery line must appear
--script voice.txtthere is a voice-overword error rate, with --with faster-whisper
--refs ref.mp4it copies a referencepair sheet and distance per shot
--template tpl.mp4it was built from a templatemargin: closer to references or to template
--labels labels.jsonyou have the render's anchorsexact label drift against its target
--platform x|youtube|reels|tiktok|shortsyou know where it goesupload simulation and safe zones
--size 1080x1920a size was requestedsize becomes a blocker
--music-onlyno voice in the pieceskips voice tests

Images and tracks: judge.py image poster.png --out runs/poster [--ref ref.png] and judge.py audio track.mp3 --out runs/track.

Exit code 0 means nothing was flagged, 1 means flags to look at, 2 means the tool failed.

3. Read the report

Open runs/film/report.md. Each check is in one of four states:

  • flagged: over its threshold. Open the evidence before you believe it.
  • clear: measured and under the threshold. It says nothing beyond that one measurement.
  • info: a number with no pass or fail, usually because nothing could be tested (no moving shot to test pinning, no counter on screen).
  • not_run: a tool or model was missing.

A clear report does not mean a good video. "Not settled by this run" at the bottom of the report lists what is still open. references/checks.md explains each check: how it works, its threshold and its source, what false flags look like. Read the entry before overturning or trusting a flag on a check you have not used before.

Expect to overturn flags. On a real 47 s film we overturned all 4 spelling candidates we opened (OCR misreading small interface text), a subtitle measured while fading in, and a keyboard read as a pinned graphic. The upload banding and the unreadable screens were real.

4. Use your eyes on what code flagged

Work through questions in runs/film/facts.json. Each one names the frames to open and one narrow question. Read references/eyes.md first. The rules that change results:

  • Open contact_sheet_*.jpg and each flagged evidence file. Do not judge from memory of the prompt.
  • Ask "describe" and "what is unusual", never "what is wrong" (57.2% against 29.5% on GlitchBench).
  • Answer per shot, with yes or no, a time, and something you can quote from the frame to prove you looked.
  • Do not estimate where people look. Models score about 0.34 to 0.41 against real gaze. Use the heat map.
  • Ask for observations, not verdicts, and let code decide (references/observe-prompt.txt). Never ask "which is better?" once: our judge picked the take shown second 75% of the time.
  • A hunch without evidence goes under "Hints", never in the defect list.

Code cannot settle these, so eyes decide, using the measured moments: whether a move has a cause, whether a pinned graphic should be pinned, whether the most salient thing is the right thing, whether an outfit or light change is intended, and whether it looks like the references or just near them.

5. Challenge it

One pass, then stop (three at most).

  • For each finding: what would make this not a defect? Is it in the brief? Is it OCR misreading a word? Is the "late sound" an unrelated noise near a cut? Open the frames again at source size. Keep the finding, or overturn it and write why.
  • For each clear that matters: open one example. A check that stops firing looks exactly like a clean video.
  • Stranger test: can you name three things in these frames that could only come from this brief? If not, report how many you found.
  • Re-measure after a fix. A fix is not done until the same command stops flagging it, and nothing new appears.

6. Write the verdict

markdown
# Verdict: film.mp4
self-judged: no · ran 27 checks, 21 clear · not settled: lip sync, voice script

State: stopped (2 blockers)

| Severity | Time | Where | Measured | Evidence | Fix | Cost |
|---|---|---|---|---|---|---|
| blocker | 00:05.00 | whole frame | 2 black frames between lit frames | evidence/black_120.jpg | trim 2 frames at the seam | edit |
| major | 00:06-00:10 | dark gradient | CAMBI 4.1 source, 9.8 after upload at 2 Mbps | evidence/banding_3.jpg | add grain before encoding, or lift blacks | edit |

## Eyes
Shot 3, 00:07.20: label "Battery" points at the cell in the first frame and sits 90 px left of it in the last.

## Hints (no measurement behind these)
...

## Not checked
Mispronounced names. Whether the real X encoder matches the simulation.

Every row has a time, a number, a file and a fix. Cost is cut, edit or retake. Fix the cheapest first and name what stays as it is. Severity comes from SEVERITY in scripts/mj_rank.py. Change it there if a piece needs different rules, and say so.

Then save what eyes settled in runs/film/overrides.json, so it counts in the ranking and the reason stays on record:

json
{"overturned": {"spelling": "all three are OCR misreads, checked each crop"},
 "eyes": [{"severity": "major", "t": 7.2, "what": "label Battery no longer touches the cell"}]}

The score is the count. State is stopped with any blocker, needs a look with a major flag, no measured defect otherwise. ran 27, 21 clear is the only number out of something. Do not blend these into one mark.

7. Rank takes

bash
uv run scripts/judge.py rank runs/take1 runs/take2 runs/take3 --out runs/ranking

The order is blockers, then major flags, then minor flags, then the reference margin. ranking.md says why each take beats the next, and it counts each run's overrides.json. For takes tied on facts, judge each take alone with observations and let code decide, then use pairs in both orders where a flip stays a tie. See references/llm-judge.md for the protocol and how to write criteria.

8. Compare with a reference or a template

--refs aligns shots by picture and writes evidence/reference_pairs_0.jpg, ours next to theirs, worst pairs first, with distances for structure, palette, composition, texture and tone, plus shot-length rhythm. Open the sheet. Numbers say where it differs. Eyes say whether that matters.

With both --refs and --template you get margin = distance to template - distance to references. Above 0 means closer to the references. These distances are hand-built on OpenCV features. No study validates them for taste, so treat a small margin as a tie and look at the sheet.

9. Reverse engineer a finished piece

bash
uv run scripts/judge.py reverse ad.mp4 --out runs/ad

This writes a shot list from measurement: start, length, camera move and speed, shake, palette, lightness, where the focus sits, on-screen text, sound events, tempo, loudness, cuts per 10 s. Then open the sheets and add what code cannot measure: the hook, the lens, the light, the intent. Mark those as estimates. Nothing recovers the prompt or the seed. Say so.

10. Keep the judge honest

  • tests/make_fixtures.py plants one known defect per clip in real footage, and tests/run_bench.py reports catches, misses and false flags. Run it after changing a check. Add a fixture every time a person finds something the judge missed.
  • scripts/thresholds.json holds every threshold with status: published, convention or calibrated_on_fixtures. Only a few are published. Calibrate the rest on your own references and keep the labelled pass and fail beside them.
  • Keep some checks out of any automatic loop, and look at a sample by hand. A judge an agent can optimize will get gamed: ranking takes on lip-sync score alone brought back lip smacking, and a still video scores perfectly on temporal consistency.

Limits

The attention map is a fast contrast, colour and motion model, far weaker than DeepGaze or ViNet. Use it as a report and swap in a better model if a decision depends on it. The upload test is a simulation, since X and YouTube do not publish their delivered encoders, so one private upload beats it. BT.1359's sync numbers were measured on lip sync, not on cuts. OCR misreads stylized type and misses text it cannot see. Whisper can repair a mispronounced word, so it hears what it expects. Code proves something is broken or correct, not that it is good.

Related

  • references/checks.md: every check, threshold, source and false-flag pattern
  • references/eyes.md: questions and rules for the vision pass
  • references/llm-judge.md: LLM as a judge, bias measured on our own clips, the protocol, how to write a criterion
  • references/ranking.md: gates, ties, pairs, and how not to get gamed
  • references/build-your-own.md: how to build this yourself, step by step, with code that ran
  • references/tools.md: other creators' tools and what each does better than this one
  • prompt.md: paste-in prompts, for judging one video and for building your own judge
  • code-to-video-previz scripts/judge_pack.py: pack and score a blind pair round
  • varg-video-prompting section 9: the checklist used while making clips, varg-video-editing for fixes, video-moodboard for look checks before the render

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Media Judge làm được gì?

Đánh giá video, hình ảnh hoặc bản nhạc do AI tạo đã hoàn thiện bằng cách đo lường chất lượng, rồi xếp hạng các bản dựng dựa trên lỗi phát hiện được. Chỉ với một lệnh, công cụ đọc mọi khung hình và ghi lại dữ kiện kèm mốc thời gian, bằng chứng: khung hình lỗi, hiện tượng dải màu sau khi giả lập tải lên X hoặc YouTube, con số rung lắc, lỗi chính tả, quá nhiều chi tiết trên màn hình, thiếu điểm thu hút ánh nhìn, chuyển động không có lý do, đồ họa bị ghim cố định, nhãn trượt, khuôn mặt, trang phục hoặc ánh sáng thay đổi, âm thanh phát sau điểm cắt, độ lớn âm thanh, giọng đọc có khớp kịch bản kh...

Vì sao nên dùng Media Judge trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Media Judge là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Media Judge trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/vargHQ/skills/tree/main/media-judge. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Media Judge?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Media Judge với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Media Judge với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Media Judge có miễn phí không?

Có. Kỹ năng này được vargHQ phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇