Output Eval logo

Output Eval

Community
JianhuiWei7
output-eval

用于评估视频生成任务的最终产物 (final.mp4) 是否符合 rubric.json 中 output_rubric 列出的指标 (O2-O8 需求达成度/参考忠实度/视觉一致性/音频一致性/物理异常/剧情连贯/音画同步)。当用户要求对一个 case 目录、产物目录、生成结果做 output rubric 打分、给视频质量评分、跑 LLM-as-judge 评测,或者提到 `output_rubric` / `rubric.json` 的最终视频打分时,必须立即调用此技能。这个 skill 不评估执行过程 (process_rubric),只评估最终视频质量。这里不需要对 O1(通过率) 打分。

Overview

PublisherJianhuiWei7
RepositoryVideoWeaver
Skill nameoutput-eval
Stars
48
Forks
1
Bundled files
4
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by JianhuiWei7 on GitHub. Read the source before you install it.

Installation

Install the Output Eval AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/JianhuiWei7/VideoWeaver/tree/main/skills/output-eval
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/JianhuiWei7/VideoWeaver.git /tmp/VideoWeaver
mkdir -p .claude/skills
cp -r /tmp/VideoWeaver/skills/output-eval .claude/skills/output-eval
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Output Eval in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Output Eval on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Output Eval is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

视频产物评测技能 (output-eval)

🎯 目标

对一个 case 的产物目录 + rubric.json,逐项给 O2-O8 打分,写回 rubric.json 的 分数 / 反馈 字段。

📥 输入

  1. case 目录: 含 rubric.json (input_materials + output_rubric)
  2. 产物目录: 含 Agent 生成的 mp4/jpg/json/log
  3. 参考素材: input_materials.参考图片 / 参考音频 中的文件

📏 统一评分标准

所有指标只有三档:

分数含义
1无任何问题
0.5有瑕疵但不影响主要观感
0有明显问题

🛠️ 依赖技能

  • 预处理: get-video-metadata / automatic-speech-recognition / video-shot-split / extract-video-frame / grid-generate
  • 判定: vision-understanding (图像/视频,O2-O4/O6/O8 用) / audio-understanding (音频,O5 用)

网格图统一走 grid-generate,不要自己拼图。

🔁 主流程 (4 步)

Step 1 · 定位 final.mp4

扫描产物目录所有 *.mp4:

  • 优先文件名含 final / merged / output
  • 次选时长最长且接近需求时长 (±10%)
  • 拿不准时列候选让上层确认

可用 scripts/locate_final.py。

Step 2 · 建立 cache (一次预处理,所有指标复用)

使用get-output-dir技能,在并且加上 subdir: cache后, 产出:

cache/
├── meta.json           # get-video-metadata: duration / w / h / fps / total_frames
├── audio.mp3           # ffmpeg 从 final.mp4 抽出的原音轨 (-vn -acodec libmp3lame)
├── transcript.srt      # automatic-speech-recognition (输入 audio.mp3),带时间戳
├── transcript.txt      # 纯文本
├── shots.json          # video-shot-split: [{shot_id,start,end,frame_path}]
├── grid_overview.jpg   # grid-generate --mode by-time --interval 2 --cols 6   (O2/O3/O6 用)
├── shot_grid.jpg       # grid-generate --mode by-shot --frame first --cols 6  (O4 人物路 用)
├── bg_grid.jpg         # grid-generate --mode by-shot --frame first --max_cells 6 --cols 3  (O3/O4 背景路 / O6 复用)
└── overview.json       # 故事卡片 (见下)

overview.json:

json
{
  "synopsis": "一句话剧情",
  "timeline": [{"t":"00:00-00:05","desc":"画面","narration":"旁白"}],
  "characters": ["主角描述"],
  "scenes": ["场景列表"],
  "visual_style": "风格关键词",
  "audio_observation": {"bgm":"BGM 风格","sfx":["主要音效"]}
}

生成方式: grid_overview.jpg + transcript.txt 一起喂 vision-understanding,按 schema 输出 JSON。

Step 3 · 逐条 output_rubric 打分

读 rubric.json.output_rubric,逐项按 references/rubric_methods.md 的方法判定。每条 atom 默认 1 次模型调用,优先复用 cache,不要让模型重看视频。

ID名称主要数据源主调用
O1通过率不打分,不填写—
O2需求达成度meta + overview + transcript1× vision-understanding(可选)
O3参考忠实度参考图 + grid_overview / bg_grid1× vision-understanding
O4视觉一致性shot_grid (人物) + bg_grid (背景)2× vision-understanding
O5音频一致性audio.mp3 整段 + ffprobe 兜底1× audio-understanding
O6物理异常grid_overview + bg_grid1× vision-understanding
O7剧情连贯overview.json (纯文本)1× LLM 纯文本
O8音画同步final.mp4 + ffprobe 兜底1× vision-understanding

Step 4 · 回写 rubric.json

  • O1 通过率不填(留空)
  • 每项填 分数 ("0" / "0.5" / "1") + 反馈 (只写负面反馈,即哪里没达成;满分项 反馈 留空)
  • 写回原路径

⚠️ 原则

  • 确定性数值走 ffprobe (时长/分辨率/帧率/音轨),不交给 LLM
  • 反馈只写负面: 满分留空,扣分必须指出具体问题
  • 粗看 → 精看 (异常区间细化抽帧): 默认全片走 grid_overview.jpg (6 列,每 2s 一格,行数自动) 粗扫;若某条 atom 在某区间发现可疑/异常,对该区间二次抽帧(例如 10s 区间抽 20 帧, grid-generate --time_range "Ts-Te" --interval 0.5 --cols 5),再喂 vision-understanding 确认。避免漏判,也避免一开始就密集抽帧导致 token 爆炸。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Output Eval AI skill do?

用于评估视频生成任务的最终产物 (final.mp4) 是否符合 rubric.json 中 output_rubric 列出的指标 (O2-O8 需求达成度/参考忠实度/视觉一致性/音频一致性/物理异常/剧情连贯/音画同步)。当用户要求对一个 case 目录、产物目录、生成结果做 output rubric 打分、给视频质量评分、跑 LLM-as-judge 评测,或者提到 `output_rubric` / `rubric.json` 的最终视频打分时,必须立即调用此技能。这个 skill 不评估执行过程 (process_rubric),只评估最终视频质量。这里不需要对 O1(通过率) 打分。

Why use Output Eval on TypingMind?

Because you install it once and use it with any model. Output Eval is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Output Eval in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/JianhuiWei7/VideoWeaver/tree/main/skills/output-eval. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Output Eval?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Output Eval?

As many as you like. As long as a model supports skills, you can use Output Eval with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Output Eval AI skill free?

It is published on GitHub by JianhuiWei7. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇