image-superres-enhance

image-superres-enhance is a skill for Claude Code, Codex from meitu/meitu-skills. It costs 96 tokens per session (1,461 once invoked), scanned A, original, MIT.

An image enhancement tool increases an image’s target resolution and restores detail, choosing a method for general images, products, or text documents.

In plain words
What is it for?
Use it to enhance photos, e-commerce product images, scans, invoices, contracts, tables, and other text-heavy documents to a requested resolution.
Why use it?
It helps make low-resolution images clearer when you need a result such as 1080p, 2K, or 4K. Enlargement by a fixed 2x, 4x, or 8x factor is handled by a different tool.

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 enhance photos, e-commerce product images, scans, invoices, contracts, tables, and other text-heavy documents to a requested resolution.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/meitu/meitu-skills/image-superres-enhance
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 image-superres-enhance
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 image-superres-enhance

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

agentmods 80×15 button for image-superres-enhance

Your own site · 80×15
<a href="https://agentmods.dev/skills/meitu/meitu-skills/image-superres-enhance"><img src="https://agentmods.dev/badge/skills/meitu/meitu-skills/image-superres-enhance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,461 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 21
    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.00096 $0.01461
Opus 5 $0.00048 $0.00731
Sonnet 5 $0.00019 $0.00292
Haiku 4.5 $0.00010 $0.00146

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

Security

Grade A, and why

image-superres-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.

skills/image-superres-enhance/SKILL.md · 121 lines

How it starts

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

Image Superres Enhance

Overview

对已有图片做清晰度提升 / 超分放大,按内容类型自动选最优算法,覆盖通用超分、电商商品图超分、文字文档超分。关键区分:"放大到 4K/2K/1080P"(分辨率目标)走本工具;"放大 2/4/8 倍"(倍数放大)走 image-transform。

API Mapping

  • 通用超分:api_v2_image_restoration_async
  • 电商商品图超分:api_v1_dlbeautygoodsimagesr_async
  • 文字文档/扫描件超分:api_v1_dlbeautytextimagesr_async

Dependencies

  • meitu-cli: >=2.0.6
  • 凭证:CONFIG AKSK → meitu tools update;EXEC AKSK → 实际执行(见根 CONFIG.md
  • 环境变量MEITU_OPENAPI_TOOL_TASK_MODE=command

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

Core Workflow

Preflight → Execute → Deliver

Preflight

  1. meitu --version ≥ 2.0.6
  2. 已用 CONFIG AKSK 跑过 meitu tools update
  3. 当前 AKSK = EXEC,MEITU_OPENAPI_TOOL_TASK_MODE=command
  4. output_dir:openclaw.yaml → ./output/ |else → $VISUAL/output/image-superres-enhance/mkdir -p

Execute

触发信号 / 路由规则

核心维度:Agent 画面识别的内容类型(prompt 信号词)。

场景 判定关键词 路由
电商商品图 商品、产品、SKU、电商、白底商品 api_v1_dlbeautygoodsimagesr_async
文字文档 文档、文字、图表、扫描件、发票、合同、表格 api_v1_dlbeautytextimagesr_async
通用 / 未指定 人像、风景、老照片、其他 api_v2_image_restoration_async
混合内容 -- 默认走通用或询问
商品图 + 指定分辨率 商品图变 4K api_v1_dlbeautygoodsimagesr_async(场景专用优于通用)

路由原则:场景专用优于通用;Agent 调用前先识别图片内容生成 prompt,无法判断则 prompt 写"通用图片"走默认。

参数定义

参数 类型 必填 说明
image_url STRING 图片地址。缺失 → 提示"请提供需要超清处理的图片"
prompt STRING Agent 对图片内容的描述,用于内部路由判断(如"电商白底商品图""扫描件文字文档""风景照片")

所有 API 仅使用 image_url + prompt,无额外参数。

工具调用

meitu image-superres-enhance --image_url <url> --prompt "<content desc>" --json --download-dir {output_dir} --skill_name skill_image-superres-enhance

错误降级

场景 处理方式
image_url 缺失 提示"请提供需要超清处理的图片"
image_url 不可访问 直接返回图片链接无效错误,不重试
prompt 为空或无信号词 默认走 api_v2_image_restoration_async
混合内容(文字 + 商品) 询问或默认走通用
任一 API 调用失败 切换 api_v2_image_restoration_async 重试 1 次 → 仍失败返回错误
内容合规拦截 直接返回合规提示,不重试、不降级
商品图 + 指定分辨率 优先走商品超分(场景专用优先),分辨率由 API 内部处理

Read the full file on GitHub · 121 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. 13d ago First seen · 121 lines · 96 tokens per session scan A 2e1f917420e6

Subscribe to this mod's changes

image-superres-enhance is a skill published in the GitHub repository meitu/meitu-skills (32 stars, last pushed 15d ago), licensed MIT. It adds 96 tokens to every session and 1,461 once invoked, about $0.0005 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