by JuneYaooo
Stop re-rolling. Fix the frame. A full checkup and repair for AI video. | 别再抽卡,哪帧坏了修哪帧——给 AI 视频做一次全身体检。
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/JuneYaooo/fixslopGuides for using ai agents skills like fixslop.
先定位问题,再给用户一份按效果排序、写明花费的修复菜单,用户选好再修;修完要证明两件事:没改的地方真的没变,改过的地方真的比原来好。
分工: 判断交给你(看图、听声音、对照档案、选方案),精确的事交给命令(找镜头、出帧图、按帧剪辑、贴回花字、校验)。
回复和报告都用用户的语言。 按以下顺序判断用什么语言:
具体怎么做:
problems.json 的 lang 写 zh 或 en,里面所有文字字段(label、note、why、options 等)都用这种语言写。fixslop report 按它生成页面上的固定文字。lang 写 en,对话里用用户的语言回复。用户要该语言的报告时,problems.json 的文字字段就用该语言写,并告诉用户页面上的固定标签是英文。ffmpeg、ffprobe、Python 3.10+。在本 Skill 文件夹里建虚拟环境并安装本文件夹,命令为 <venv>/bin/fixslop。yt-dlp 下载(加 --ignore-config)。<video> 或网络请求里找视频地址,再用 curl / ffmpeg 下载。先问用户要哪种(没说就用“标准”),写进报告的检查范围:
| 深度 | 做什么 | 适合 |
|---|---|---|
| 快速 | 机器扫描 + 便宜的总览图 + 只对核心大类看高清帧和接缝 | 发布前快速过一遍 |
| 标准 | 下面整个流程,每个发现过四条门槛 | 默认 |
| 完整 | 标准之外:致命起算的大类(比如电商的 K1、K2)由两个互不知情的子 Agent 各看一遍高清帧,取并集再过门槛;有声音的视频跑 hear |
要交付、要投放的片子 |
真实测试里,同一批高清帧交给两个 Agent,各自漏掉了对方找到的一处致命问题,所以“完整”用两遍换召回。
fixslop prep <video> -o <out> --context "角色名 关键词" # 一条命令:scan 之后 diagnose、look、listen 并行跑,列出所有线索
prep 等于依次跑下面几条(也可以单独跑):
fixslop scan <video> -o <out> # 镜头、帧图、切点图、音量曲线、节拍和停顿
fixslop diagnose <video> -o <out>/tech --scan <out>/scan.json # 技术瑕疵:坏帧、闪烁、色跳、掉帧、音画偏移
fixslop look <video> -o <out>/look --scan <out>/scan.json # 画面文字、字幕跨切点、人手人脸放大图集
fixslop listen <video> -o <out> --scan <out>/scan.json --look <out>/look/look.json --context "角色名 关键词"
# 可选:台词转写 + 台词和屏幕字幕逐句比对
可选工具(用户自己安装,不打包;没有就跳过对应步骤):
| 工具 | 用途 | 安装 |
|---|---|---|
mlx-qwen3-asr(Qwen3-ASR,Apache-2.0,Apple 芯片) |
listen 首选:中文、日语转写更准,带逐字时间;40 秒视频约 6 秒。出错时自动改用 Whisper |
pip install "mlx-qwen3-asr[aligner]"(日语、韩语需要 [aligner]),首次运行下载约 1.2 GB 模型 |
whisper(MIT) |
listen 后备 |
pip install openai-whisper |
rife-ncnn-vulkan(MIT) |
stretch 慢放插帧,比 ffmpeg 插帧更接近真实画面 |
从 GitHub 发布页下载 macOS 版,放进 PATH 或设 FIXSLOP_RIFE |
fixslop[look](RapidOCR + PaddleOCR 模型、OpenCV YuNet、MediaPipe,均 Apache-2.0 或 MIT) |
不是 macOS(或没有 Swift)时 look 和 mask --hand 用的开源检测器 |
pip install 'fixslop[look]'(源码目录里 pip install -e '.[look]',Python 3.10–3.12);首次运行下载约 16 MB 模型到 FIXSLOP_MODELS(默认 ~/.cache/fixslop/models)。精简 Linux 还要装 libgl1、libegl1 |
| SAM 2.1(Apache-2.0) | mask 跟踪物体出遮罩,用于局部调色、局部修补;默认用 Apple 芯片 GPU,每帧约 0.5–1 秒 |
单独建虚拟环境 pip install torch torchvision "transformers>=4.56",设 FIXSLOP_SAM_PYTHON 为它的 python;首次运行下载约 160 MB 模型 |
look 有两套检测器,输出格式一样,look.json 的 backend 记录用的哪套:macOS 上默认用系统自带的 Vision(首次运行编译一个小程序,不下载模型);Linux、Windows 或没有 Swift 时用 fixslop[look] 的开源模型(portable)。--backend vision|portable 或环境变量 FIXSLOP_LOOK_BACKEND 可指定。portable 的文字识别只认中文和英文(日文假名、韩文读不出来,这类视频的文字要看图核对),会把头发、脖子偶尔报成手,比 Vision 慢(每帧约 0.3–1 秒)。输出:
hands_*.jpg、faces_*.jpg:检测到的每只手、每张脸放大成图集,标着镜头和帧号。V 类的手、脸和 X17 残留必须逐格看完:真实测试里,电商片的两段坏手、猫片里一双漏看的人手,在图集里一眼就能看出来。检测器会漏掉画面边缘露一小截的手,也会把拟人化的动物、卡通角色报成手,所以图集只是缩小范围,detail/ 仍然要看。look.json 的 text:画面上所有文字(花字、字幕、标签)和出现时段,用来对照转写和剧本(E9、V19、R 类)。识别语言默认自动选(Vision 下是中文,或检测到日文、韩文时换成对应语言;portable 固定中英文),ocr_languages 记录实际用的。caption_cut_issues:字幕、花字跨切点(E13)的候选。花体小字识别不出来,cuts_*.jpg 仍要看。interaction_windows:双手进入胸腹躯干区的帧段候选(拿道具、开合衣襟、抱拳等),K1、K3 用 frames --step 3 逐段看。face_refs_*.jpg:每个镜头最清晰的几张脸,同一尺寸按镜头顺序排,K5 用它认角色、逐镜头比对身份。两套检测器都用不了(不是 macOS、也装不了 fixslop[look])时跳过 look,按原方法目视检查。多宫格或分屏对比视频(如左原片、右复刻,或带静态参考图卡),scan 加 --roi x,y,w,h 只对受检子画面测切点和运动峰值,look --scan 会自动沿用该区域过滤无关面板,输出的框坐标仍按整幅画面比例计。
diagnose 一定要带 --scan,这样它和 scan 用同一套切点,不会把很短的真实镜头报成坏帧。高于 1080p 的视频它会自动缩小分析,帧号不变。
scan 输出的图,用途不同:
overview_*.jpg:全片总览,每镜头一张小图。只用来建档案、看剪辑节奏,不要靠它找小问题。timeline_*.jpg:每页 6–12 个镜头,每个镜头一行、最多 6 帧。M、X 类先翻这几页(几张图看完全片),可疑的镜头再看 shots/、detail/。shots/S###.jpg:每个镜头每秒一帧,并自动补入动作幅度最大的峰值帧(标 *);长镜头超过 18 帧自动分页为 S###_02.jpg 等,不会拉大抽样间隔,用来找镜头内随时间出现的问题。detail/S###_f*.jpg:每个镜头的高清帧(最宽 1920,每 2 秒一张并补入动作峰值帧,标 *),找手、脸、远景人物、文字这类小问题。V 类和 X 类必须逐张看。 高清帧之间的问题靠 shots/ 补,可疑处用 frames --box 放大。cuts_*.jpg:每个切点前后各 2 帧(| 标出新镜头首帧),找跨切点的字幕、花字、残帧、动作回跳。前后各 2 帧看不出“切点前一秒刚做完的动作、切过去又重来”(门先关上、下一镜头又开着),可疑切点用 frames --range c-30-c+10 --step 3 再看。audio.png:音量曲线。红线是切点(上方数字是镜头号),黄色短线是近似节拍,深色块是静音段。切点处音量跳变常常只是旁白从切点开始,听一下或对照转写再判断。scan 还会在警告里列出切点处的音量突变、中途断音、削波和音轨比画面短。看图顺序(省 token):图片按像素算 token,每张图都已经做成模型能直接读、不会被缩小的尺寸(长边不超过 1568 像素)。scan、look 最后一行 Image cost 列出每组图的张数和大约多少 token,detail/ 通常占七到九成。按下面的顺序从便宜到贵看:
scan 的警告、diagnose 报告、look.json 的 text、caption_cut_issues、interaction_windows。timeline_*、cuts_*、audio.png、face_refs_*。hands_*、faces_*。detail/ 和 shots/。detail/ 超过 12 张时,按镜头分给几个子 Agent 并行看,每个只交回可疑的帧号、框和一句话,主对话只看它们指出的地方。detail/ 要看原尺寸,不要拼成缩小的多帧图来省 token:对比测试里,四帧一页的半尺寸图加局部放大只省了约三成 token,却多漏了画面边缘的人手和一个小小的无头人身。frames --box 放大那一块,不要重开整帧。自己拼图时也不要超过 1568 像素,否则会被缩小,标签看不清。frames 加 --box x,y,w,h --width 960 可以放大局部(戒指、字幕、车牌、画面边缘的手)。图太多时可以自己把几张拼成一张看,不要跳过。
fixslop compare <video> --at 帧:x,y,w,h=标签 --at … 把不同帧里框出的区域缩放到同一高度并排,用来比同一角色、服装、道具在两个镜头里是否一致(K5、K6 的证据图)。
镜头帧图里一个“镜头”中途画面突然变了(景别、角色、场景),是切点漏检。scan 会在警告里列出“possible cuts the detector missed”(固定标题栏、字幕盖住大块画面时常见),用 frames 确认后 scan --add-cuts 44,114 重扫;也可以试 --threshold 4。
先读 prep.json,再看图:leads 里的接缝(seams)、超短镜头、技术瑕疵、字幕跨切点、手—躯干交互段、台词字幕差异都是文字,先读完;shot_subjects 说明每个镜头检测到了手、脸还是文字。
先查接缝:几乎所有 AI 视频都是多段生成拼起来的,接缝前后最容易换脸、换衣服、商品变样、扣件自己开合。按 video-types.md “做法”里“多段拼接”一行,在每个接缝和切点前后用 compare 并排比一次。
再查前置大类和核心大类:按 references/video-types.md 用专门查法先查 K1 肢体与身体结构、K2 商品展示、K3 物理与常识、K4 声音与口型(视频里有相关内容就必查),再查这个类型的其他核心大类。
然后按 references/checklist.md 的 7 类逐类通查,每一类有自己的检查方法。
每个发现都要过 references/video-types.md 的四条门槛才能算问题:正常观看看得出来、前提成立、不是正常剪辑或常规数值、新 Agent 复核过。每条问题都写 gate 记录,用 fixslop gate problems.json 检查,--apply 把没过的移进 suspicions(保留 id、说明和 planned_severity);没过的只能写进 suspicions 或 notes。宁可少报,不要把正常的东西报成问题。
子 Agent 开不出来时(比如提示同时运行的子 Agent 已满):不要放弃复核。先做别的不需要子 Agent 的检查,等已开的子 Agent 结束后再开;需要好几个时一个一个开。等过之后仍然开不出来,问题照常写,gate.review 写 "unavailable",gate --apply 会把它移进 suspicions 并保留原定级别;报告里这类怀疑按原定级别排在最前,回复用户时要明说“这几条致命 / 严重的发现还没复核”,不能让它们沉到底下。
7 类分别怎么查:
diagnose 报告,再看帧图确认。look 的人手、人脸图集,再逐张看 detail/ 高清帧,最后扫一遍 shots/ 帧图。fixslop frames <video> --range A-B --step k -o x.jpg 看连续帧。compare 出同尺寸并排图确认(步骤见 video-types.md 的 K5、K6)。audio.png 和 scan 的音频警告;有台词的视频跑 listen --look,它逐句比对台词和屏幕字幕,列出 subtitle_check(带逐字差异)。真实测试里 25 句列出 5 条,全是转写同音字(他/她、的/得)或 OCR 漏字,没有真错字;所以每条都要看图确认,用 --context 传入角色名能减少误听。口型、音色、情绪只能靠用户听,报告里写明。cuts_*.jpg。找到问题后,用 frames 放大到具体帧号,确定起止帧和画面区域。每个问题写进 <out>/problems.json,格式见 references/formats.md。
已知盲区: 画面边缘、被遮挡、只占画面几个百分点的小手和小脸,在高清帧里也容易漏看(真实测试中 8 处漏了 2 处)。报告里要写明这一点;用户在意时,对重点镜头用 frames --step 6 逐段放大再查一遍。
同时记下所有要保护的东西:花字、字幕、平台 AI 标识、用户 logo 的位置,台词停顿和音乐节拍。见 references/protect-verify.md。
报告是本地文件:写好 problems.json 后运行 fixslop report <out>/problems.json,生成 <out>/report.html 和内容相同的 <out>/report.md(字段和对话回复的格式见 references/formats.md 的“给用户的报告”)。不要发布到网上,除非用户要求。
regen_s)、时长变化、副作用。项目里不写具体价格:每个人买的服务价格不同。
fixslop regen 出片段和 job.json,生成后 --import),还是配好的 adapter。用户没有,就只推荐免费方案,把付费方案标成“需要你自己的生成工具”。dismissed)、哪些怀疑没能确认(suspicions)、哪些类别只查了一部分或没查。fixslop regen 付费重画,或用户的 AI 工具),帧数必须和计划一致。换素材(SWAP)时先用 fixslop match <video> --covers A-B --within 镜头范围 找衔接最好的片段。只改一个物体(一只手、一个道具)时先 fixslop mask <video> --range A-B --hand(或 --box、--points)出遮罩,逐格看 mask_sheet.jpg,再在 edits.json 这一段写 mask:遮罩外保证和原片一致。<out>/edits.json:按输出顺序列出每一段用原片哪些帧、哪些段换成新片段、要保护的区域、音频跟随方式。fixslop check <out>/edits.json 预检,不出片:输出时长、每段在成片里的帧号、删掉的原片段和台词、音频接缝数、磁盘估算。报错会给出改法。有删减时把 listen 的转写写进 edits.json 的 transcript,预检会报出被切掉的半句台词。fixslop render <out>/edits.json 生成无损母版(和可选的交付版 mp4)。fixslop verify <out>/edits.json 校验:保留的帧逐帧一致、保护区域一致、音频按计划不变。verify 不通过:找出原因,修正后重来,不交付。frames 看母版里每个修复段及前后 1 秒:问题是否消失、有没有新瑕疵、衔接是否自然。verify 只证明没改的地方没变,改过的地方对不对只能看图:真实案例里用相邻帧盖字幕,校验通过了,复检才发现字幕会闪一下。render 报告的每个音频接缝:是否落在节拍或停顿上。你听不到声音时,看 audio.png 和接缝前后的音量(接缝落在静音段或句间停顿里才算安全),并在交付时写明“音频需要人听一遍”。fixslop blind <原片> <母版> --frames A-B:step [--box ...] -o blind/P001.jpg 生成随机排列、不标原片的对比图(答案单独存在旁边隐藏的 .keys/ 里),只把这张图(最好复制到单独的文件夹)交给一个没参与修复的新 Agent,不要告诉它目录里的其他文件,问哪个更好、有没有新瑕疵。修复版没有明显更好就不交付这个修复:退回原样,如实告诉用户,并给出下一个方案。真实测试里,用前后两帧插帧“跳过”一段坏手,verify 通过了,但手臂变成僵硬的拖影,比原片更难看。先写 accept.json(每个修好的问题用了哪个方案、花费、盲评选了哪个字母和评语,格式见 references/formats.md),再跑 fixslop accept <out>/accept.json 生成验收报告 acceptance.html 和 acceptance.md:修复前后对比、verify 的每项结果、盲评结论。它从 verify 的输出和盲评答案文件取结果。只有两种情况标“不能交付”并返回 1:verify 在这版母版上没通过,或盲评选了原片。还没跑 verify、重新 render 后没再跑 verify、缺盲评记录,都只标“可以交付(有提醒)”并写明该补跑什么;把提醒原样告诉用户,能补的先补上。然后按 references/formats.md “对话里的回复”的格式告诉用户:每个编号用了什么方案、结果如何、盲评结论和花费;时长变化;校验结果(保留帧一致数、保护区域、音频);没修的问题和剩余风险。交付文件是 edits.json 里的 delivery(mp4);无损母版 .mkv 留作存档。
verify 的结果。problems.json、edits.json 格式。写文件时读。See how fixslop compares with popular alternatives.
Rescue flawed AI video takes — stop re-rolling, pinpoint the frame, and patch what broke.
Free local fixes when they work; otherwise a masked AI repaint of just the broken seconds, 3–4 s per attempt. In the three cases below, that came to 14%–64% of one full re-roll. Captions, subtitles, music, and every other frame stay byte-identical, verified by blind review.
English | 简体中文
⭐ If FixSlop saves you a re-roll, star this repo so more creators can find it!
Left: original AI try-on clip where a zipped puffer jacket splits open on its own. Right: repaired by FixSlop — zipper stays closed throughout, while 361 kept frames and outside-mask pixels stay byte-identical (11 s repainted for two fixes, including one retry).
From hands and faces to captions and sound, it checks one kind of flaw at a time. These are the slips AI video makes most often:
FixSlop is built for AI coding agents. Open Claude Code, Codex, or any agent that can run commands, and send:
Install https://github.com/JuneYaooo/fixslop, then check this AI video for broken shots and continuity errors: /path/to/video.mp4
Show me the check report and what each fix costs, and change nothing until I approve.
No CLI flags to memorize — the whole workflow takes three steps:
report.html (plus report.md) showing exact frame ranges, zoomed-in evidence, and a ranked repair menu that shows whether each fix is free or a paid repaint, and how many seconds it repaints.Use the recommended fix for P001, leave P002 as-is). Until you choose, your video is untouched and nothing is charged.acceptance.html.Requires
ffmpegand Python 3.10+ on your machine. Reports and replies follow whichever language you ask in (English or Chinese).
Every clip below is a real AI-generated video diagnosed, patched, and verified end-to-end by an agent running FixSlop:
Clean division of labor: the agent handles looking, listening, comparing character/product reference sheets, and choosing strategies; fixslop commands handle everything that must be exact — frame indices, lossless splicing, caption restoration, and byte-level verification.
verify checks kept-frame hashes, protected caption boxes, and audio samples; blind shuffles original and repaired clips without labels for a fresh agent and automatically rolls back anything that isn't clearly better.| Category | Typical AI video flaws | What the tools prepare | What the agent judges |
|---|---|---|---|
T Technical |
Glitch frames, flicker, color jumps, dropped/frozen frames, pulldown judder | Signal-level detection; some auto-repairable | Visually confirms and rules out intentional flash transitions |
V Visual breakage |
Extra/fused fingers, broken faces, clipping, bad physics, garbled sign text | Zoomed hand & face galleries, on-screen OCR | Inspects every crop tile and HD frame |
M In-shot drift |
Zipped clothes splitting open unprompted, morphing props, face twitching, moonwalk | Motion-peak frames & hand–torso interaction windows | Checks consecutive frames for state conservation |
X Cross-shot continuity |
Outfit/face swaps across cuts, product drift at generation seams, human leftovers | Flags missed-cut seams & per-shot face strips | Builds reference sheets and runs same-scale side-by-side comparisons |
S Sound & lip sync |
Speech/subtitle mismatches, audio dropouts, cut pops, loudness jumps | Speech transcription, line-by-line diff, LUFS curve | Reviews text diffs; flags lip sync, timbre & emotion for your ears |
E Editing & packaging |
Captions bleeding across cuts, replayed actions, stray frames, jarring jump cuts | Cut-boundary strips & caption-bleed ca |
fixslop is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by JuneYaooo. Stop re-rolling. Fix the frame. A full checkup and repair for AI video. | 别再抽卡,哪帧坏了修哪帧——给 AI 视频做一次全身体检。. It has 53 GitHub stars.
fixslop's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/JuneYaooo/fixslop" and add it to your Claude Code skills directory (see the Installation section above). fixslop ships a SKILL.md manifest, so compatible agents can discover and load it automatically.
fixslop is primarily written in Python. It is open-source under JuneYaooo on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh fixslop against similar tools.
No comments yet. Be the first to share your thoughts!