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.
npx skills add meitu/meitu-skills --skill video-quality-enhancegit clone --depth 1 https://github.com/meitu/meitu-skillsWrote 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.
[](https://agentmods.dev/skills/meitu/meitu-skills/video-quality-enhance)<a href="https://agentmods.dev/skills/meitu/meitu-skills/video-quality-enhance"><img src="https://agentmods.dev/badge/skills/meitu/meitu-skills/video-quality-enhance/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.
<a href="https://agentmods.dev/skills/meitu/meitu-skills/video-quality-enhance"><img src="https://agentmods.dev/badge/skills/meitu/meitu-skills/video-quality-enhance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00087 | $0.01554 |
| Opus 5 | $0.00044 | $0.00777 |
| Sonnet 5 | $0.00017 | $0.00311 |
| Haiku 4.5 | $0.00009 | $0.00155 |
Grade A, and why
video-quality-enhance 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 13d 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.
This is a copy
83% identical to text-code-edit — 140 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
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 Quality Enhance
Overview
调用 meitu video-quality-enhance 做视频综合画质修复:去模糊 + 降噪 + 补帧 + 暗部提亮,自适配人像/演唱会/动漫/夜景/商品全场景。单项画质诉求(降噪/补帧/暗部增强)也由本工具默认承接。
不接收 target_resolution,不处理分辨率/超分/放大相关诉求,不处理图片。
API Mapping
| DAG 工具 | 后端 API |
|---|---|
| video-quality-enhance | video_hd_enhance |
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
meitu --version≥ 2.0.6;meitu auth verify --json- 确认已跑过 Config Phase;
MEITU_OPENAPI_TOOL_TASK_MODE=command - output_dir 解析:openclaw.yaml →
./output/| else →$VISUAL/output/video-quality-enhance/;mkdir -p {output_dir}
Execute
触发信号/路由
命中信号词:"画质修复、视频修复、一键修复、整体修复、综合修复、变清晰、老视频翻新、画质提升、一键增强"。
决策顺序(能力范围判断最高优先级):
- 输入是否含分辨率/超分诉求(720P/1080P/2K/4K / 放大 / 超分 / 分辨率)?
- 是 → 本工具不处理,返回能力范围外(引导
video-resolution-upscale) - 否 → 进入下一步
- 是 → 本工具不处理,返回能力范围外(引导
- Agent 画面识别视频内容类型生成
prompt video_url/prompt缺失 → 追问- 唯一路由 →
video_hd_enhance
prompt → 内部场景适配
| prompt 信号词 | 内部适配 |
|---|---|
| 人像/自拍/人物/面部 | 人像修复 |
| 演唱会/现场/舞台/音乐会 | 演唱会修复 |
| 动漫/动画/二次元/卡通 | 动漫修复 |
| 夜景/暗光/夜拍/低光 | 夜景修复 |
| 商品/产品/展示/电商 | 商品修复 |
| 其他/通用 | 通用修复(默认) |
无法判断 → prompt 写"通用视频"走默认修复模式。
参数定义
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
video_url |
STRING | 是 | 视频地址;缺失 → "请提供视频链接" |
prompt |
STRING | 是 | Agent 对视频内容的描述,用于内部多场景适配 |
不接收 target_resolution 参数——本工具不处理分辨率。
工具调用
meitu video-quality-enhance \
--skill_name skill_video-quality-enhance \
--video_url {video_url} \
--prompt "{prompt}" \
--json --download-dir {output_dir}
错误降级
| 场景 | 处理 |
|---|---|
video_url 缺失 |
提示"请提供视频链接" |
video_url 不可访问 |
不重试,提示"请提供有效视频链接" |
prompt 为空或无信号词 |
Agent 识别后生成;仍无法判断写"通用视频" |
| 调用失败 | 重试 1 次,仍失败返回错误 |
| 超时 | 重试 1 次,仍超时返回错误 |
| 内容合规拦截 | 直接返回合规提示,不重试 |
| 用户中途追加分辨率/超分诉求 | 返回"本工具不处理分辨率相关诉求" |
| 输入为图片 | 拒绝,本工具仅支持视频 |
| "修复成 4K"等同时含修复+分辨率 | 本工具不处理(含分辨率诉求,能力范围外) |
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.
- 13d ago First seen · 142 lines · 87 tokens per session scan A a32a2853b42f
video-quality-enhance is a skill published in the GitHub repository meitu/meitu-skills (32 stars, last pushed 15d ago), licensed MIT. It adds 87 tokens to every session and 1,554 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 83% identical to text-code-edit, differing in 140 lines, and is treated as a copy.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
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…
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…
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.
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…
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…