image-edit-skill

image-edit-skill is a skill for Claude Code, Codex from TencentCloudBase/awesome-miniprogram-skills. It costs 39 tokens per session (422 once invoked), scanned A, original, MIT.

An AI image-editing skill for changing an existing picture, such as replacing its background, changing its style, adding content, or extending the scene.

In plain words
What is it for?
It helps edit a provided image from a reachable URL and compare the original with the edited result.
Why use it?
It handles AI-based redraws when a user has an image to modify, while leaving new-image creation and pixel-perfect professional retouching to other tools.

Skill for Claude CodeCodex

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

Good fit It helps edit a provided image from a reachable URL and compare the original with the edited result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tencentcloudbase/awesome-miniprogram-skills/image-edit-skill
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 TencentCloudBase/awesome-miniprogram-skills --skill image-edit-skill
Clone the repo
git clone --depth 1 https://github.com/TencentCloudBase/awesome-miniprogram-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-edit-skill

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tencentcloudbase/awesome-miniprogram-skills/image-edit-skill"><img src="https://agentmods.dev/badge/skills/tencentcloudbase/awesome-miniprogram-skills/image-edit-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 422 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.
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.00039 $0.00422
Opus 5.5 $0.00016 $0.00169
Sonnet 5.5 $0.00008 $0.00084
Haiku 4.5 $0.00004 $0.00042

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

Security

Grade A, and why

image-edit-skill 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 1mo ago.

The scan reads SKILL.md. This mod also ships 7 executable files (apis/editImage.js, cloudfunctions/image-edit-handler/ai/edit.js, cloudfunctions/image-edit-handler/index.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-edit-skill/SKILL.md · 41 lines

What it actually says

AI 图片编辑

触发场景

用户原话举例:

  • 风格转换:"把这张图改成水墨画风格"、"变成动漫风格"
  • 背景替换:"把背景换成白色"、"把室内背景换成海边"
  • 内容修改:"把猫换成狗"、"给画面加一些樱花飘落"
  • 扩图生成:"把画面往右延伸"

不适用范围

  • 从零生成的图片(无原图)→ 不在本技能范围,由 image-gen-skill 处理
  • 文本生成需求 → 不在本技能范围,由 text-gen-skill 处理
  • 需要精确到像素级别的专业修图 → 不在本技能范围,AI 无法保证像素级精度

接口链路

  • editImage:基于原图和编辑需求,通过 AI 重绘实现图片编辑效果

使用顺序

  1. 用户需要提供一张原图(图片 URL)和编辑描述
  2. 基于编辑描述生成新的 prompt,调用图片生成模型重新生成
  3. 返回原图和编辑后图片的对比
  4. 编辑后的图片自动持久化到云存储

设计约束

  • 此为 AI 重绘实现的编辑,非像素级精确编辑,不能保证与原图完全一致
  • 必须通过云函数调用,小程序端不直接处理图片
  • 原图需要提供可访问的网络 URL
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. 1mo ago First seen · 41 lines · 39 tokens per session scan A a363faf1bef2

Subscribe to this mod's changes

image-edit-skill is a skill published in the GitHub repository TencentCloudBase/awesome-miniprogram-skills (46 stars, last pushed 4mo ago), licensed MIT. It adds 39 tokens to every session and 422 once invoked, about $0.0002 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

Other skills, from other repositories