video-element-remove

video-element-remove is a skill for Claude Code, Codex from meitu/meitu-skills. It costs 81 tokens per session (1,575 once invoked), scanned A, original, MIT.

A video-editing skill for removing four kinds of visible elements: people in the background, changing subtitles, fixed watermarks or logos, and all text. It uses the Meitu command-line tool.

In plain words
What is it for?
Use it to clean existing videos by removing pedestrians, dialogue subtitles, fixed logos or watermarks, or all visible text.
Why use it?
Unwanted people, captions, platform marks, or other text can distract from a video. This provides separate processing paths for each supported type of removal.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to clean existing videos by removing pedestrians, dialogue subtitles, fixed logos or watermarks, or all visible text.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/meitu/meitu-skills/video-element-remove
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add meitu/meitu-skills --skill video-element-remove
Clone the repo
git clone --depth 1 https://github.com/meitu/meitu-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for video-element-remove

README.md
[![agentmods](https://agentmods.dev/badge/skills/meitu/meitu-skills/video-element-remove/github.svg)](https://agentmods.dev/skills/meitu/meitu-skills/video-element-remove)
Your own site
<a href="https://agentmods.dev/skills/meitu/meitu-skills/video-element-remove"><img src="https://agentmods.dev/badge/skills/meitu/meitu-skills/video-element-remove/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for video-element-remove

Your own site · 80×15
<a href="https://agentmods.dev/skills/meitu/meitu-skills/video-element-remove"><img src="https://agentmods.dev/badge/skills/meitu/meitu-skills/video-element-remove.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,575 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 5 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 5
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 9
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 11
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 17
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Rogue Agent · line 20
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00081 $0.01575
Opus 5 $0.00041 $0.00788
Sonnet 5 $0.00016 $0.00315
Haiku 4.5 $0.00008 $0.00158

Measured 12d ago against content hash d96b9497a2de, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

video-element-remove scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/video-element-remove/SKILL.md · 136 lines

How it starts

The opening of the file, as written. The whole thing — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Video Element Remove

Overview

已有视频做元素消除,覆盖 4 类场景(仅此 4 类,不处理鞋子/垃圾/随机物体等任意对象):

  1. 去路人 / 行人:消除背景路人、行人,基于内容检测自动处理。
  2. 去字幕(随时间变化):消除随时间变化的字幕条带(对白、中文字幕、底部文字)。
  3. 去水印 / Logo / 角标(固定位置):消除固定位置的水印、Logo、平台角标、抖音号。
  4. 一键清屏:一次性清除画面中所有文字(字幕 + 水印 + UI 文字)。

不处理:添加 Logo/水印、视频内容替换、图片去水印、视频画质增强。

API Mapping

场景 API name
去路人 / 行人 video_content_remove
去字幕(随时间变化的对白条带) video_subtitle_remove
去水印 / Logo / 角标(固定位置) video_watermark_remove
一键清屏(去全部文字) video_allwords_remove

Dependencies

  • meitu-cli: >=2.0.6
  • 凭证:CONFIG AKSK → meitu tools update;EXEC AKSK → 跑命令
  • 环境变量MEITU_OPENAPI_TOOL_TASK_MODE=command

路径别名: $VISUAL = {OPENCLAW_HOME}/workspace/visual/

Core Workflow

Preflight → Execute → Deliver

Preflight

  1. meitu --versionmeitu auth verify --json
  2. 检测 MEITU_OPENAPI_TOOL_TASK_MODE=command
  3. output_dir:项目 → ./output/;一次性 → $VISUAL/output/video-element-remove/mkdir -p

Execute

触发信号与路由

核心判断维度:消除目标类型。Agent 调用前先识别视频画面内容,生成 prompt 描述(如"视频右上角有平台水印,底部有中文字幕")。

prompt → 路由映射:

prompt 信号词 路由 API
路人 / 行人 / 背景里的人 video_content_remove
字幕 / 台词 / 对白 / 底部文字 video_subtitle_remove
水印 / Logo / 角标 / 平台标 / 固定位置标识 video_watermark_remove
所有文字 / 全部字 / 清屏 / 全部清除 video_allwords_remove
字幕 + 水印 同时去 video_subtitle_remove + video_watermark_remove 并行调用

场景互斥边界

  • "去所有字"(全部文字)→ video_allwords_remove;"去字幕"(仅字幕)→ video_subtitle_remove
  • 固定位 Logo → video_watermark_remove;随时间字幕 → video_subtitle_remove
  • subtitle_remove + watermark_remove 可并行allwords_remove 与其他互斥(清屏已包含)

参数定义

参数 类型 必填 范围 默认 说明
video_url STRING 视频地址
prompt STRING Agent 对视频画面的描述,工具据此判断消除类型

说明:

  • 识别不到任何信号词时默认走 video_subtitle_remove(最常见消除诉求)
  • 清屏需二次确认(会去除所有文字)

工具调用

meitu video-element-remove --video_url {url} --prompt "{画面描述}" --json --download-dir {output_dir} --skill_name skill_video-element-remove

Read the full file on GitHub · 136 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 136 lines · 81 tokens per session scan A d96b9497a2de

Subscribe to this mod's changes

video-element-remove is a skill published in the GitHub repository meitu/meitu-skills (32 stars, last pushed 15d ago), licensed MIT. It adds 81 tokens to every session and 1,575 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens