qwen-image-inpaint

qwen-image-inpaint is a skill for Claude Code, Codex from Elumenotion/GuideAnts. It costs 55 tokens per session (624 once invoked), scanned C, original, Apache-2.0.

An image-editing workflow that fills selected parts of a PNG from a text instruction. In its mask, white marks the area to change and black marks the area to preserve.

In plain words
What is it for?
Use it for masked image edits such as removing objects, filling gaps, or completing a selected area.
Why use it?
It lets you replace or complete only part of an image while keeping the rest unchanged.

Skill for Claude CodeCodex

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

Good fit Use it for masked image edits such as removing objects, filling gaps, or completing a selected area.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/elumenotion/guideants/qwen-image-inpaint
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 Elumenotion/GuideAnts --skill qwen-image-inpaint
Clone the repo
git clone --depth 1 https://github.com/Elumenotion/GuideAnts

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 qwen-image-inpaint

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/elumenotion/guideants/qwen-image-inpaint"><img src="https://agentmods.dev/badge/skills/elumenotion/guideants/qwen-image-inpaint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 624 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00055 $0.00624
Opus 5.5 $0.00022 $0.00250
Sonnet 5.5 $0.00011 $0.00125
Haiku 4.5 $0.00006 $0.00062

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

Security

Grade C, and why

qwen-image-inpaint scanned grade C with 1 finding 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 3 executable files (scripts/image_tool.py, scripts/preflight.py, scripts/skill_gateway_client.py), 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.

Harvests environment variableshighData exfiltration

Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.

printenv QWEN_IMAGE_SKILL_BASE_URL >/dev/null && printenv QWEN_IMAGE_SKILL_TOKEN >/dev/null && echo "env ok" || echo "env missing"
samples/skills/qwen-image skills/qwen-image-inpaint/SKILL.md · 78 lines

What it actually says

Qwen Image inpaint (BF16)

Paths — fixed layout, do not probe or re-derive. The sandbox CWD is the notebook's output directory. This skill's scripts live under Skills/qwen-image-inpaint/scripts/ relative to it. Write deliverables with bare filenames (e.g. -o inpaint.png); never prefix with Output/.

Source + mask + prompt → PNG. Mask: white = editable, black = preserve.

Workflow (required): qwen-image-edit-bf16-inpaint-v1

GPU host gateway (env-configured)

The scripts read QWEN_IMAGE_SKILL_BASE_URL and QWEN_IMAGE_SKILL_TOKEN from the guide Environment automatically — do not hardcode or export them inline.

Verify before running:

printenv QWEN_IMAGE_SKILL_BASE_URL >/dev/null && printenv QWEN_IMAGE_SKILL_TOKEN >/dev/null && echo "env ok" || echo "env missing"

If either is missing, stop and ask the user to set it in the guide's Environment variables. Never scan the LAN or guess the GPU host's IP.

Sampler profile (locked — tested Lightning)

Always use the CLI defaults. Do not pass --steps, --cfg, or --lora-strength. image_tool.py forces:

Parameter Value
steps 4
cfg 1
lora_strength 1
denoise 1
shift 3.1
megapixels 1.6

This is the whiteboard / background profile that passed AC-I1. Never invent steps=20.

Preflight

python3 Skills/qwen-image-inpaint/scripts/preflight.py --for inpaint-bf16

Requires image_edit_bf16_inpaint_ready.

Inpaint

python3 Skills/qwen-image-inpaint/scripts/image_tool.py inpaint \
  uploads/source.png uploads/mask.png "prompt…" -o inpaint.png

In ComfyUI: Workflows → guideants/ (templates) or guideants-jobs/ (exact submitted graph for this job).

Job control

Same as edit skill (status, cancel, result on image_tool.py). Status includes comfy_workflow_file when published.

Reporting

Mask is required. Quote preflight evidence when blocked.

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 78 lines · 55 tokens per session scan C e0f3f4b33305

Subscribe to this mod's changes

qwen-image-inpaint is a skill published in the GitHub repository Elumenotion/GuideAnts (61 stars, last pushed 2d ago), licensed Apache-2.0. It adds 55 tokens to every session and 624 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (harvests environment variables). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

example-feature-generator

Generate boilerplate for new features following project conventions. Use when user says "create feature", "add feature", or "new feature scaffolding".

qf-studio/navigator · 33 tokens

thinking-theory-of-constraints

When throughput or latency is pipeline-limited, identify the single binding constraint and exploit, subordinate, elevate, then recheck—ignore non-constraints.

tjboudreaux/cc-thinking-skills · 37 tokens

agent-flutter-developer

Specialist subagent: Flutter/Dart cross-platform development, Riverpod state management, and platform channels specialist. Use when building Flutter apps, implementing state management, or working with native platform features. Trigger phrases: Flutter, Dart, Riverpod, Bloc, widget, MaterialApp, GoRouter, platform…

travisjneuman/.claude · 74 tokens

content-repurposer

Adapt content across platforms with tone/format shifting — blog to social, long to short, text to visual outline. Use when repurposing content for different channels, audiences, or formats.

travisjneuman/.claude · 43 tokens

electron-desktop

Desktop application development with Electron for Windows, macOS, and Linux. Use when building cross-platform desktop apps, implementing native OS features, or packaging web apps for desktop.

travisjneuman/.claude · 38 tokens

investment-memo-generator

Investment memo creation combining financial analysis, document generation, and structured templates. Use when creating investment memos, pitch decks, deal summaries, or investment committee materials.

travisjneuman/.claude · 37 tokens