video-content-replace

video-content-replace is a skill for Claude Code, Codex from meitu/meitu-skills. It costs 90 tokens per session (1,636 once invoked), scanned A, original, MIT.

A video-editing skill for replacing people, scenes, clothing, or other visible elements while keeping the original camera movement and actions. It accepts either written instructions or a reference image, and does not generate videos or edit audio.

In plain words
What is it for?
Changing a subject, background, outfit, or other video element from a text request or reference image, using a supplied video URL.
Why use it?
It handles targeted changes to existing footage without requiring the user to recreate the shot, while making clear which edits are outside its scope.

Skill for Claude CodeCodex

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

Good fit Changing a subject, background, outfit, or other video element from a text request or reference image, using a supplied video URL.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/meitu/meitu-skills/video-content-replace
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-content-replace
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-content-replace

README.md
[![agentmods](https://agentmods.dev/badge/skills/meitu/meitu-skills/video-content-replace/github.svg)](https://agentmods.dev/skills/meitu/meitu-skills/video-content-replace)
Your own site
<a href="https://agentmods.dev/skills/meitu/meitu-skills/video-content-replace"><img src="https://agentmods.dev/badge/skills/meitu/meitu-skills/video-content-replace/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-content-replace

Your own site · 80×15
<a href="https://agentmods.dev/skills/meitu/meitu-skills/video-content-replace"><img src="https://agentmods.dev/badge/skills/meitu/meitu-skills/video-content-replace.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,636 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.00090 $0.01636
Opus 5.5 $0.00036 $0.00654
Sonnet 5.5 $0.00018 $0.00327
Haiku 4.5 $0.00009 $0.00164

Measured 2mo ago against content hash a5710881989e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

video-content-replace 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 2mo 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-content-replace/SKILL.md · 142 lines

How it starts

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

Video Content Replace

Overview

对已有视频做内容元素替换(人物/场景/服装/衣物/穿着),保留原始运镜和动作,覆盖 2 类场景:

  1. 文本指令替换:文本指令驱动视频内容修改,无需额外参考图。
  2. 参考图驱动替换:用户提供参考图 + 视频,按参考图替换视频中对应元素。

不处理:视频生成、去水印/去字幕、整体风格变换、音频修改、视频拼接。

API Mapping

场景 API name model
文本指令替换 video_molasses_edit molasses
参考图驱动替换 video_molasses_vidimgs2vid molasses

model 可选:auto(默认,按是否有参考图自动路由)/ molasses(显式指定)。

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 --version 与 meitu auth verify --json
  2. 检测 MEITU_OPENAPI_TOOL_TASK_MODE=command
  3. output_dir:项目 → ./output/;一次性 → $VISUAL/output/video-content-replace/;mkdir -p

Execute

触发信号与路由

核心判断维度:是否提供参考图。

场景 判定 路由
有参考图 + 替换元素 有 image_url video_molasses_vidimgs2vid
无参考图 + 文本指令 无 image_url video_molasses_edit(默认)

路由原则:image_url 存在时优先走参考图模式,即使用户说"用文字描述修改"也走 vidimgs2vid。

参数定义

参数 类型 必填 范围 默认 说明
video_url STRING 是 见下方约束 — 原视频地址
prompt STRING 是 — — 修改描述
image_url STRING 否 — — 参考图 URL;存在时路由至 vidimgs2vid
model STRING 否 auto/molasses auto 模型选择

其余参数(duration/ratio/character_orientation 等)由 combo-tool 内部管理,不对外暴露。

video_url 约束(参考图驱动模式专用):

  • 格式:.mp4 / .mov;大小:≤ 100MB
  • 边长:340px ~ 3850px;时长:3 ~ 30 秒
  • 画面:漏出清晰的上半身/全身,1 人动作,一镜到底,动作平稳

video_molasses_edit(文本指令模式)对 video_url 限制较宽松,主要是格式和大小。

工具调用

# 文本指令
meitu video-content-replace --video_url {url} --prompt "{修改描述}" --json --download-dir {output_dir} --skill_name skill_video-content-replace
# 参考图驱动
meitu video-content-replace --video_url {url} --prompt "{修改描述}" --image_url {ref} --json --download-dir {output_dir} --skill_name skill_video-content-replace

Read the full file on GitHub · 142 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. 2mo ago First seen · 142 lines · 90 tokens per session scan A a5710881989e

Subscribe to this mod's changes

video-content-replace is a skill published in the GitHub repository meitu/meitu-skills (36 stars, last pushed 2mo ago), licensed MIT. It adds 90 tokens to every session and 1,636 once invoked, about $0.0004 per session on Opus 5.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

video-content-replace compared with skills from other repositories

video-content-replace next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
video-content-replacemeitu/meitu-skillsSkill362mo agoMITA90Claude Code, Codex
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code