image-enhance

image-enhance is a skill for Claude Code, Codex from ZJU-REAL/Easel. It costs 187 tokens per session (945 once invoked), scanned A, original, Apache-2.0.

A traditional image-enhancement tool that enlarges pictures and adjusts noise, sharpness, contrast, and saturation. It improves existing pixels but does not invent missing detail like AI upscaling.

In plain words
What is it for?
Use it to enlarge images by two or four times, reduce noise, sharpen edges, or improve tone and colour, with a report describing the changes.
Why use it?
It can make mildly blurry, dark, or noisy images easier to use while setting realistic expectations about severe blur. Denoising before enlargement can prevent noise from becoming more noticeable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python skills/shared/scripts/img_enhance.py enhance -i blurry.jpg \.

Good fit Use it to enlarge images by two or four times, reduce noise, sharpen edges, or improve tone and colour, with a report describing the changes.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ZJU-REAL/Easel
agentmods
npx agentmods add skills/zju-real/easel/image-enhance

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-enhance

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/zju-real/easel/image-enhance"><img src="https://agentmods.dev/badge/skills/zju-real/easel/image-enhance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 187 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 945 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 pass 7 Sept 2026
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.00187 $0.00945
Opus 5 $0.00093 $0.00473
Sonnet 5 $0.00037 $0.00189
Haiku 4.5 $0.00019 $0.00094

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

Security

Grade A, and why

image-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 10d 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/openclaw/image-enhance/SKILL.md · 64 lines

What it actually says

图片增强 / 放大

高质量放大 + 去噪 + 锐化 + 调色,改善偏糊/偏暗/有噪点的图片。走 skills/shared/scripts/img_enhance.py

⚠️ 传统确定性增强,不是 AI 超分——能改善轻中度模糊/噪点,但无法凭空造细节。 要 AI 超分/重绘用 ai-image-gen(图生图)。常规缩放/裁切/压缩/水印见 image-editing

输入

字段 必填 说明
图片 要增强的图片(没给就问)
放大倍数 默认 2 倍;1 表示只增强不放大
增强项 一键 --auto,或分别指定去噪/锐化/对比/饱和

输出(outputs/主题名/

  • 增强后的图片
  • 报告:原尺寸→新尺寸、执行了哪些增强

执行步骤

脚本路径(相对项目根):skills/shared/scripts/img_enhance.pyenhance -h 看参数)。

# 一键增强 + 2 倍放大(最常用)
python skills/shared/scripts/img_enhance.py enhance -i blurry.jpg \
  -o outputs/主题名/out.jpg --scale 2 --auto

# 噪点多的照片:去噪 + 4 倍 + 强锐化
python skills/shared/scripts/img_enhance.py enhance -i photo.jpg \
  -o outputs/主题名/out.png --scale 4 --denoise --sharpen 1.5

# 只调色不放大(偏暗/发灰的图)
python skills/shared/scripts/img_enhance.py enhance -i img.jpg \
  -o outputs/主题名/out.jpg --scale 1 --auto

调参

  • 还是糊:本工具无法造细节,改用 ai-image-gen 图生图超分。
  • 锐化过头有噪点/白边:降低 --sharpen(默认 auto=1.0)。
  • 颜色过饱和--saturation 1.0 关闭增色,或调低。
  • 噪点被放大:加 --denoise(放大前先去噪)。

规则

  1. 先设定预期:这是"改善"不是"重绘",糊得厉害的图别承诺变高清。
  2. 有噪点务必 --denoise(放大前执行,避免噪点被放大)。
  3. 放大统一用 Lanczos 高质量重采样;倍数别盲目开 4x(文件暴涨且无新细节)。
  4. 产物统一进 outputs/主题名/

参考来源

Lanczos 重采样 + UnsharpMask 锐化 + OpenCV fastNlMeans 去噪 + 自动对比度,是无 GPU 的传统 画质提升组合。真正的超分辨率(Real-ESRGAN 等)需 GPU/模型,此处以 ai-image-gen 图生图替代。

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. 10d ago First seen · 64 lines · 187 tokens per session scan A b46c6e6a5e7c

Subscribe to this mod's changes

image-enhance is a skill published in the GitHub repository ZJU-REAL/Easel (710 stars, last pushed today), licensed Apache-2.0. It adds 187 tokens to every session and 945 once invoked, about $0.0009 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

ppt-generation

Generate PPTX presentations from slide plan + content.

HezaoHezao/poirot · 13 tokens

chart-visualization

Generate charts: select type, extract data, render image.

HezaoHezao/poirot · 17 tokens

jacky-motion2-0-srt

A workflow for turning a Chinese spoken script and matching SRT subtitle file into a single 16:9 HTML information animation. SRT is a subtitle file that stores text with start and end times; the animation follows those times and adds recorded-screen placeholders when needed.

Jackywxsz/Jacky-motion · 127 tokens

video-podcast-maker

Use when the user gives a topic and wants an automated topic-driven narrated explainer, podcast, or knowledge-summary video (Bilibili / YouTube / Xiaohongshu / Douyin / WeChat Channels), or asks to learn visual design patterns from a reference video/image. Trigger when the user mentions creating a knowledge video…

Agents365-ai/video-podcast-maker · 214 tokens

video-podcast-maker-lite

Minimal personal narrated-video pipeline — a topic becomes a talking-head-free explainer MP4 (1080p or 4K) via script → Azure TTS (SSML) → Remotion. Use when the user wants a quick narrated video from a topic without the full video-podcast-maker machinery (no extra skills, no thumbnails/shorts/publish matrix). Do NOT…

Agents365-ai/video-podcast-maker · 96 tokens

video-podcast-maker-nano

Smallest personal narrated-explainer-video pipeline (spoken narration over visuals, not an audio podcast), fully tool-agnostic and autonomous by default — topic → research ∥ asset collection → script → TTS → video → 4K render ∥ publish info + cover. The skill defines the pipeline logic and self-verified checkpoints…

Agents365-ai/video-podcast-maker · 163 tokens