image-edit
БесплатноБез исполняемых скриптовНе проверенRequires OFOX_API_KEY — create one at https://app.ofox.ai. Change one thing in an image you already have and leave the rest of the picture alone — swap the…
от ofoxai530 установок в других каталогахОб этом скилле
image-edit: change one thing in a picture you already have
One image in, one edited image out. The craft here is not describing a picture — the picture already exists — it is saying what changes and what must not, and then checking that the file you got back honoured the second half.
This skill is a thin, scenario-specific layer over
ofox-image-core. It owns the edit
instruction's wording, the question set, the recommended defaults and the
before-and-after check; ofox-image-core owns talking to the Ofox image API
correctly and safely — the OFOX_API_KEY handling, the model resolution, the
multipart request, the decode-and-save, the cost arithmetic, and reporting an
absolute path. Read that skill's safety contract before using this one —
it is not restated here.
This skill has one run of its own, and everything else here was borrowed.
Until 2026-09-17 every figure below came from ofox-image-core when its
edit subcommand was built, or from two probe calls made directly against
ofox-image.sh — none of it through this skill's own flow. That gap is now
closed by one run: a real 1792x1008 photograph, the two-sentence instruction
this file teaches, --dry-run first, 1.6 cents. What it settled is in "The
input image decides two things at once" and in the ⚠️ under "Say what stays,
every time" — including the correction that the protection this file promises
is feature-level, not pixel-level. It is one edit, of one kind (a
background swap on one product photo), on one model. Where a number appears,
the run it came from is still named.
Where the core skill lives
Resolve once, before the first call:
for d in ../ofox-image-core \
../ofoxai-skills-ofox-image-core \
~/.agents/skills/ofox-image-core \
~/.agents/skills/ofoxai-skills-ofox-image-core \
~/.claude/skills/ofox-image-core; do
[ -f "$d/references/ofox-image.sh" ] && echo "$d" && break
done
Examples below are written as ../ofox-image-core/... (the skills.sh /
ClawHub / npx ofox-skills layout, where a skill's directory is named after
the skill). If the probe found a different directory — LobeHub unpacks each
skill as ofoxai-skills-<name>, so the sibling there is
ofoxai-skills-ofox-image-core — substitute it, in the ofox-image.sh
commands and in the references/*.md links alike.
That ../ is relative to this skill's own directory, which is also where
the probe has to run. From anywhere else nothing resolves — use the absolute
path the probe printed (candidates 3–5 are absolute already), or, in a clone
of this repo, skills/ofox-image-core/references/ofox-image.sh from the repo
root.
Nothing found → the core skill isn't installed; see "If the script isn't found".
One document this skill links to lives in a different core skill. The
spend gate's full spec is ofox-video-core/references/approval-gate.md,
because that file is shared by every Ofox skill in this repo, video or not.
It needs its own probe, and it is a document rather than an execution
dependency — nothing here stops working without it, and the rule it carries
still applies:
for d in ../ofox-video-core \
../ofoxai-skills-ofox-video-core \
~/.agents/skills/ofox-video-core \
~/.agents/skills/ofoxai-skills-ofox-video-core \
~/.claude/skills/ofox-video-core; do
[ -f "$d/references/approval-gate.md" ] && echo "$d" && break
done
Before editing: the availability check
Run this once per session (not on every request):
bash ../ofox-image-core/references/ofox-image.sh check
It checks curl, jq and OFOX_API_KEY and makes no network call. If it
fails, follow ofox-image-core's guidance (install the missing tool, or get
a key at https://app.ofox.ai) — don't dead-end the conversation, and don't
re-run the check on every subsequent request once it has passed.
A failing check is not a stop sign for pricing: models and
edit --dry-run both work with OFOX_API_KEY unset, so the whole job can be
quoted for someone who has not signed up.
What this skill is built on: the endpoint genuinely edits
This matters more than it sounds, because it is the one fact that makes
"leave the rest alone" a reasonable thing to write at all. An endpoint that
took your image, ignored it, and redrew the prompt from scratch would return
STATUS completed and look identical from the outside.
Measured by ofox-image-core on 2026-09-15, openai/gpt-image-2, an 854x480
UI screenshot in, the instruction "Change only the blue Upgrade plan button
to green. Leave every other pixel, all text and the layout exactly as they
are":
- every string in the source survived verbatim — "Billing Settings", "$29.00", "Seats included 3" — which a text-to-image generation from that prompt could not have produced;
- against the rescaled source, mean absolute difference was 5.27/255 overall but 84.27 inside the button, a
Установить image-edit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл image-edit?
Requires OFOX_API_KEY — create one at https://app.ofox.ai. Change one thing in an image you already have and leave the rest of the picture alone — swap the background, recolour a part, remove or add an object, clean up a photo — from a local jpeg/png/webp file. Delegates to ofox-image-core's `edit` subcommand (POST /v1/images/edits, one synchronous request), prices the job with --dry-run before spending, and reports the real token cost including the uploaded picture, which is billed. Use when a user hands over an image and asks for a change to it, e.g. "change the background of this photo to a beach and keep the person unchanged", "make this button green", "remove the car in the background", or "put this product on a plain white background". Do not use to draw a new image from a text description with no input picture (that is ofox-image-core's `generate`), to produce a set of several images to choose between (see product-image), or to turn a photo into video (see seedance-product-video or seedance-ad-creative). Editing the content of an existing video — "change the background of my clip, keep the product" — has no route here and none in the video API either (measured; the mode field an edit would use is accepted and silently ignored, so nothing errors); this skill edits a single still, and routing such a request to a video skill generates brand-new footage instead of changing theirs.
Как установить скилл image-edit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл image-edit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic