Quality Check 标志

Quality Check

组织
blotato
quality-check

在视频完成前进行检查,并持续修正分镜脚本、重新制作,直到检查通过。检查字幕是否遮住人脸、是否超出应用安全区域或与图形重叠、图形是否遮住人脸、格式是否错误、音量是否不合适、是否有静音片段,以及是否出现黑屏或画面冻结。每次运行 `npm run make` 后、向用户报告视频完成前都要使用。

概览

发布者blotato
代码仓库contentskills
技能名称quality-check
星标数
425
复刻数
108
附带文件
仅含指令
许可协议AGPL-3.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 blotato 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Quality Check AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/blotato/contentskills/tree/main/skills/quality-check
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/blotato/contentskills.git /tmp/contentskills
mkdir -p .claude/skills
cp -r /tmp/contentskills/skills/quality-check .claude/skills/quality-check
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Quality Check,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Quality Check。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Quality Check 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Quality check

No video is done until it has been checked. Never hand the user a video whose check says FAIL.

npm run make <name> runs the check as its last step. To run it on its own:

npm run qa <name>            # projects/<name>/out/cut.mp4
npm run qa <name> --json     # the report as JSON

It writes out/qa.json (the report) and out/qa.png (a contact sheet). Exit code 0 = PASS (warnings allowed), 1 = FAIL. Each problem has a fix line.

Footage projects write out/layout.json on every make: where the face and the caption were on each frame, plus out/occupancy.json, a map of where graphics are drawn (5 times a second). That is what lets the caption and graphic checks run. Topic/script videos with no person get the format, audio and picture checks and a warning that placement was not checked; look at the sheet for those. After a re-make only the frames whose picture changed are measured again (out/.layout-frames.json, keyed like the make's frame cache), and the transcript in out/heard.json is reused when the sound is identical (out/heard-audio.txt). Delete those two files to force a full re-check.

The loop

  1. While building the storyboard: npm run qa <name> --preview (also run by npm run stills and npm run frames) catches placement, caption and text-size problems in about 20 s, without making the video. Fix those before showing the user the storyboard, so the plan they approve already passes.
  2. After they approve (npm run approve <name>): npm run make <name> (a draft at half size is fine while iterating). A fix that changes storyboard.json needs the user's approval again: sketch, show the user the change, wait.
  3. Read the result. Open out/qa.png and look at it, even on PASS. Green box = the face, yellow = a caption, red = a caption on the face, grey = the app safe zone. Look for what the script cannot see: unreadable text, clipped words, a graphic that looks wrong, a caption that doesn't match what is said.
  4. On FAIL: apply the fix for each FAIL to storyboard.json, make again, check again. Fix the cause in the storyboard, never by editing the checks, their thresholds or library/_shared/placement.js to let a video through.
  5. Stop when it passes and the sheet looks right. After 5 rounds without a pass, stop and tell the user what still fails and the trade-off, for example: "the selfie is so close the chin is below the safe zone, and the panels take the space above the head; captions go under the chin into the app's text area. Shrink the panels, put the clip in a "top" layout, or accept it?"
  6. Make the final at full size (npm run make <name> --scale 1), check once more, and report the path, the status and any warnings you kept.

Checks

CheckLevelMeaningUsual fix
captions-on-faceFAILA caption covers more than 3% of the face box in some frameRemove "captionPlacement": "fixed"; shorter phrases (captionBreaks)
captions-safe-zoneFAILA caption leaves the app safe zone (top 220, bottom 450, sides 35, right edge x 945 below y 1160, on 1080x1920)No clear spot was left, so the caption went below it to stay off the face: end or shrink the graphic above the head, lower that zoom, or use a top/card layout
face-top-barFAILThe face (forehead included) goes above y 220, under the app's top bar and search field. The user never wants the face at the very top, in any sceneStart the clip's window at y 250 or lower (a small plate: y 250+), lower face (fy) in a full layout, or lower that moment's zoom
text-safe-zoneFAIL / WARNWords drawn by a graphic (cutaways included) sit under the app's top bar and search field or its bottom caption and buttons. Headline-size words (60 px+) seen there twice FAIL; small print and words near a side edge WARN. Effects drawn in Python are not measured: look at the sheetMove the overlay's "region" inside the safe zone, or a smaller scale / fewer words. npm run check already refuses regions outside it
captions-collideFAILA caption sits on a graphic (over 8% of the caption)End the graphic sooner, start it after the phrase, a smaller region, or captionTrack hide for that span
captions-syncFAILThe word being said is not in the caption on screenRe-transcribe after any cut (npm run transcribe); check captionTrack hide spans
captions-heardFAIL/WARNThe finished audio, transcribed again, differs from the captions (FAIL above 8%). Words in or within 0.4 s of a stretch where captions are hidden on purpose are not countedFix the misheard words in words.json; names and numbers spelled as said
captions-lingerWARNA caption stays up 1 s+ after the words stopRe-transcribe, or a captionBreaks entry
text-sizeFAIL/WARNCaption letters under 28 px (FAIL) / 34 px; graphic text under 26 px tallBigger caption style; shorter phrases so placement need not shrink them; larger text in the piece
text-contrastFAIL/WARNCaption contrast under 3:1 (FAIL) / 4.5:1 against its box, outline or the pictureA style with a box or dark outline, or a scrim behind
overlay-on-faceWARNA graphic covers over 25% of the face for 0.5 s or moreMove it above or below the face, "behind": true, or make it a full-screen cutaway
face-trackingWARNNo face track for over 30% of the framesRun npm run footage again so faces.json exists
formatFAIL/WARNNot portrait, under 3 s, not 9:16, draft size, odd fps, over 3 minFinal render with --scale 1
audioFAIL/WARNSilent, loudness off the house voice level (audio.voiceLufs in settings; FAIL more than 7 LU under or 4 LU over it), true peak above -0.5 dBFS, loudness range over 10 LU, silence before the first word, pauses over 1.5 sClean footage with npm run cut (it trims and normalises); lower sound-effect gain
pictureWARNBlack frames (not counting fades), or nothing moving for 2 s or moreA piece failed to draw or a gap; add a zoom, a graphic or a cut

Full-screen cutaways are skipped by the face and caption checks: the face is hidden and captions sit on the cutaway by design.

How captions keep clear

library/_shared/placement.js, used by the footage player. For each phrase it tries, at full size, then 85%, then 72%: the bottom of the safe zone, just under the chin, above the head, then every height up the frame. The first spot that is off the face, clear of graphics and inside the safe zone wins. It checks again every frame, so if a graphic arrives on the caption or the face moves into it, the caption pops up in a clear spot. It jumps rather than slides, because a slide could cross the face. If there is no clear spot, the order of what to give up is: the safe zone first, then clearing the graphics, and never the face. "captionPlacement": "fixed" in the storyboard keeps each style's own position, and a captionTrack dy turns placement off for that span.

Adding a check

Add a check_<name>(...) to pipeline/qa.py that appends dict(check, level, msg, fix, at) to issues, call it from main(), and add a row above. Give every issue a concrete fix in storyboard terms and, when it happens at a moment, an at time so the sheet shows that frame.

常见问题

Quality Check AI 技能有什么作用?

在视频完成前进行检查,并持续修正分镜脚本、重新制作,直到检查通过。检查字幕是否遮住人脸、是否超出应用安全区域或与图形重叠、图形是否遮住人脸、格式是否错误、音量是否不合适、是否有静音片段,以及是否出现黑屏或画面冻结。每次运行 `npm run make` 后、向用户报告视频完成前都要使用。

为什么在 TypingMind 中使用 Quality Check?

因为您只需安装一次,就能搭配任何模型使用。Quality Check 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Quality Check?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/blotato/contentskills/tree/main/skills/quality-check。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Quality Check?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Quality Check 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Quality Check 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Quality Check AI 技能免费吗?

是的。blotato 已在 GitHub 上根据 AGPL-3.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇