Token导航 LogoToken导航

Agent Skill · 效率

cleanup-video-overlay(清理视频叠加)

用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 等视频项目开发。它适合让 Agent 组织镜头、生成素材说明、维护合成代码或排查渲染问题。使用时需要确认分辨率、时长、素材路径和导出格式;涉及外部素材、人物肖像或商业发布时,应先核对版权授权和内容审核要求。

cleanup-video-overlay 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在效率类的 21,003 个 Skill 里排第 13,235。

总安装 3,807周安装 154GitHub Stars 公开资料未说明下载 1,195核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.1

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cleanup-video-overlay(清理视频叠加)
来源仓库:https://github.com/hyuuuliu/cleanup-video-overlay
安装命令:
openclaw skills install cleanup-video-overlay
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install cleanup-video-overlay

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

当用户想要通过删除状态栏、通知横幅、浮动控件等覆盖物来清理视频或屏幕录制时,请使用此技能。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install cleanup-video-overlay;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

cleanup-video-overlay 怎么安装?

在终端执行 openclaw skills install cleanup-video-overlay。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

cleanup-video-overlay 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

cleanup-video-overlay 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

cleanup-video-overlay 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

cleanup-video-overlay 用的人多吗?

公开数据是累计安装 3,807 次,近一周安装 154 次,下载 1,195 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

cleanup-video-overlay 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
cleanup-video-overlay

清理视频叠加 · 本页

3,807—接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
video-overlay-cleanup
description
Use this skill when the user wants to clean a video or screen recording by removing overlays such as status bars, notification banners, floating controls, subtitle bars, fixed watermarks, or other surface UI elements. Especially useful for FFmpeg-based frame extraction, region mask generation, fixed-overlay removal with ffmpeg removelogo, and orchestrating frame-by-frame restoration workflows that use Gemini Nano Banana 2 before rebuilding the video.
homepage
https://github.com/hyuuuliu/video-overlay-cleanup-skill
allowed-tools
Read, Write, Edit, Bash, Glob, Grep
metadata
{"openclaw":{"emoji":"🎬","requires":{"bins":["bash","ffmpeg","ffprobe","python3"],"packages":["google-genai","Pillow"]},"env":[{"name":"GEMINI_API_KEY","required":true,"sensitive":true,"description":"Required API key for Gemini Nano Banana 2 image editing mode."},{"name":"GEMINI_MODEL","required":false,"description":"Optional Gemini model override."},{"name":"GEMINI_IMAGE_SIZE","required":false,"description":"Optional Gemini image size override."}],"primaryEnv":"GEMINI_API_KEY"}}

Video Overlay Cleanup

Repository: https://github.com/hyuuuliu/video-overlay-cleanup-skill

Overview

Use this skill to turn a raw video or screen recording into a cleaner version with fewer visible overlays.

This skill is a workflow skill, not a claim of magical ground-truth recovery. It is best for:

  • fixed overlays at stable positions
  • short-lived banners or floating UI with a known mask
  • cleaning screen recordings for editing or redistribution
  • preparing a frame-by-frame restoration job for Gemini Nano Banana 2

This skill should frame the task as video cleanup or overlay removal, not guaranteed factual restoration of hidden content.

Provider Support

This version supports one real model provider for generative frame repair:

  • Gemini Nano Banana 2 via the Gemini image generation and editing API

Before using gemini-nano-banana mode, the user must configure an API key:

export GEMINI_API_KEY='your_api_key_here'

Optional model override:

export GEMINI_MODEL='gemini-3.1-flash-image-preview'
export GEMINI_IMAGE_SIZE='1K'

Runtime Requirements

Declare these explicitly when installing or reviewing the skill:

  • required binaries:

- bash - ffmpeg - ffprobe - python3

  • required credential for Gemini mode:

- GEMINI_API_KEY

  • optional Gemini env vars:

- GEMINI_MODEL - GEMINI_IMAGE_SIZE

  • required Python packages for Gemini mode:

- google-genai - Pillow

Read references/gemini-provider.md when the user wants the Gemini path.

Best-Fit Requests

Use this skill when the user asks for any of the following:

  • remove a status bar, top bar, bottom bar, subtitle strip, watermark, or floating control from a video
  • clean a phone screen recording before reuse or clipping
  • split a video into frames, repair masked regions, and rebuild it
  • prepare a repeatable FFmpeg pipeline for video overlay removal
  • use Gemini Nano Banana 2 to repair a masked overlay region frame by frame
  • generate masks or region specs for known overlay areas

Default Strategy

Choose the lightest path that can work:

  1. Fixed overlay, stable region: use ffmpeg with a generated mask and removelogo
  2. Fixed region but removelogo quality is not enough: extract frames and run Gemini Nano Banana 2 on the masked area
  3. Dynamic overlay: extract frames, create or propagate masks, run Gemini Nano Banana 2, then rebuild the video

Do not default to full-frame generative editing when a fixed-region or deterministic method is enough.

Workflow

1. Classify the overlay

Decide which of these cases applies:

  • fixed-edge-overlay: top status bar, bottom nav bar, subtitle strip, corner logo
  • fixed-box-overlay: stable watermark or floating widget in one area
  • dynamic-overlay: notification banner, moving sticker, transient floating control
  • unknown: the user has not yet provided enough detail to define a mask

If the overlay location is unclear, ask for the smallest missing detail needed, or propose a reasonable first mask and label it as a draft.

2. Pick the path

For fixed-edge-overlay or fixed-box-overlay, prefer the built-in scripts:

  • scripts/make_mask.py
  • scripts/clean_video.sh --mode removelogo

For Gemini-based workflows, use:

  • scripts/clean_video.sh --mode gemini-nano-banana
  • scripts/gemini_nano_banana_edit.py

For low-level or custom provider workflows, use:

  • scripts/extract_frames.sh
  • scripts/restore_frames.py
  • scripts/rebuild_video.sh

Read references/pipeline.md for the end-to-end flow, references/mask-strategies.md for mask design guidance, and references/gemini-provider.md for Gemini-specific behavior.

3. Build the mask carefully

Masks decide success. Keep these rules:

  • Mask only the overlay, not the whole frame
  • Prefer a slightly tight mask over an oversized one
  • For fixed bars, use presets or percentage-based regions
  • For dynamic overlays, keep the frame-edit scope local and explicit

Region format used by this skill is x:y:w:h. Each value may be pixels like 120 or a percentage like 8%.

Examples:

  • Top 7 percent: 0:0:100%:7%
  • Bottom strip: 0:92%:100%:8%
  • Corner watermark: 78%:3%:18%:12%

4. Run the cleanup path

Fast fixed-overlay path

Use when the overlay stays in one place.

bash scripts/clean_video.sh \
  --input /abs/path/input.mp4 \
  --output /abs/path/output.mp4 \
  --mode removelogo \
  --region '0:0:100%:7%'

You can also add presets:

bash scripts/clean_video.sh \
  --input /abs/path/input.mp4 \
  --output /abs/path/output.mp4 \
  --mode removelogo \
  --preset iphone-status-bar
Gemini Nano Banana 2 path

Use when the user wants masked per-frame restoration.

export GEMINI_API_KEY='your_api_key_here'

bash scripts/clean_video.sh \
  --input /abs/path/input.mp4 \
  --output /abs/path/output.mp4 \
  --mode gemini-nano-banana \
  --region '0:0:100%:12%' \
  --image-size 1K

Optional model override:

bash scripts/clean_video.sh \
  --input /abs/path/input.mp4 \
  --output /abs/path/output.mp4 \
  --mode gemini-nano-banana \
  --region '0:0:100%:12%' \
  --model gemini-3.1-flash-image-preview \
  --image-size 2K
Custom frame-edit path

Use only when the user explicitly wants a custom editor command instead of Gemini.

bash scripts/clean_video.sh \
  --input /abs/path/input.mp4 \
  --output /abs/path/output.mp4 \
  --mode frame-edit \
  --region '0:0:100%:12%' \
  --editor-cmd 'my-editor --input {input} --mask {mask} --output {output}'

The editor command receives:

  • {input}: source frame path
  • {mask}: mask path
  • {output}: destination frame path
  • {index}: zero-based frame number

5. Be explicit about limits

Always note when one of these is true:

  • the hidden content was never visible in any frame
  • the result is a visual reconstruction rather than factual recovery
  • the overlay is dynamic and the mask is approximate
  • frame-by-frame edits may need temporal stabilization beyond this first pass
  • Gemini may vary slightly frame to frame, especially on large masked regions
  • Gemini mode now reports frame count, base cost estimate, and cumulative token/spend progress while running
  • Gemini mode now preserves all unmasked pixels from the original frame at save time, so only masked regions are adopted from model output

Known Limitations

Keep the risk statement simple:

  • masked or covered areas are not restored reliably every time
  • the result is a plausible visual cleanup, not guaranteed true recovery
  • Gemini processing can be expensive, especially on longer videos or higher frame counts

Current Reliability Notes

The current Gemini implementation uses several safeguards:

  • budget estimation before processing begins
  • cumulative token and spend reporting during processing
  • per-frame validation and retry
  • request-level retry for transient provider errors
  • masked compositing that keeps all unmasked pixels from the original frame

That last safeguard is important: if the model edits the hamster, cage, or other visible scene content outside the white mask, the saved output still keeps the original unmasked pixels. This improves visual stability, but it also means all useful edits must happen inside the supplied mask.

Output Expectations

A good result includes:

  • the cleaned video path
  • the chosen method: removelogo, gemini-nano-banana, or frame-edit
  • the exact mask or presets used
  • whether GEMINI_API_KEY was required
  • the frame count that Gemini mode planned to process
  • the base estimated spend before Gemini calls began
  • the cumulative token and spend summary reported during processing
  • any important caveats about realism, consistency, or residual artifacts

When useful, also keep the work directory so the user can inspect:

  • extracted frames
  • generated mask files
  • rebuilt intermediate video
  • job manifest

Quality Bar

  • Prefer stable, repeatable cleanup over ambitious but noisy edits
  • Avoid editing untouched parts of the frame
  • Use deterministic FFmpeg paths first
  • Treat generative editing as a targeted fallback, not the default
  • Separate cleaner-looking from factually restored
  • Remind the user when a provider API key is required

Prompt Patterns

Good invocations:

  • "Use $video-overlay-cleanup to remove the top status bar from this screen recording."
  • "Use $video-overlay-cleanup with Gemini Nano Banana 2 to clean the top banner from this video."
  • "Use $video-overlay-cleanup to split this video into frames, clean the floating overlay, and rebuild it."

For implementation details, load:

平台分布

OpenClaw

74.88%
按下载量换算895

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills