qwen-edit

qwen-edit is a skill for Claude Code, Codex from digitalsamba/claude-code-video-toolkit. It costs 56 tokens per session (646 once invoked), scanned A, original, MIT.

A set of prompt patterns and settings for editing images with Qwen-Image-Edit. It covers photo changes such as preserving a person's identity, changing clothing, adjusting poses, and applying styles.

In plain words
What is it for?
Use it to write prompts for photo transformations, reframing cropped images, lighting and color changes, object removal or addition, and character-style changes.
Why use it?
It helps turn common image-editing requests into clearer instructions and settings. It also identifies edits that may produce unreliable results, such as face swapping or dependable background replacement.

Skill for Claude CodeCodex

About the project

Claude Code Video Toolkit is a workspace that lets Claude Code create videos by producing scripts, voiceovers, music, visuals, and rendered MP4 files. It is for developers using AI-assisted, programmatic video production with tools such as Remotion and open-source media models. The catalogue entries provide commands, skills, instructions, and settings for this workflow.

digitalsamba/claude-code-video-toolkit · 2,045 stars · on GitHub

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.

agentmods
npx agentmods add skills/digitalsamba/claude-code-video-toolkit/qwen-edit
Any agent
npx skills add digitalsamba/claude-code-video-toolkit --skill qwen-edit
Clone the repo
git clone --depth 1 https://github.com/digitalsamba/claude-code-video-toolkit

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/digitalsamba/claude-code-video-toolkit/qwen-edit.svg)](https://agentmods.dev/skills/digitalsamba/claude-code-video-toolkit/qwen-edit)
Your own site
<a href="https://agentmods.dev/skills/digitalsamba/claude-code-video-toolkit/qwen-edit"><img src="https://agentmods.dev/badge/skills/digitalsamba/claude-code-video-toolkit/qwen-edit.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 646 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00056 $0.00646
Opus 5 $0.00028 $0.00323
Sonnet 5 $0.00011 $0.00129
Haiku 4.5 $0.00006 $0.00065

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

Security

Grade A, and why

qwen-edit 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 6d 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.

.claude/skills/qwen-edit/SKILL.md · 76 lines

How it starts

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

Qwen-Image-Edit Skill

AI-powered image editing using Qwen-Image-Edit-2511 via RunPod serverless.

Status: Evolving - learnings being captured as we experiment

When to Use This Skill

Use when the user wants to:

  • Edit/transform photos while preserving identity
  • Reframe cropped images (fix cut-off heads, etc.)
  • Change clothing, add accessories
  • Change pose (arm positions, hand placement)
  • Apply style transfers (cyberpunk, anime, oil painting)
  • Adjust lighting/color grading
  • Add/remove objects
  • Character transformations (Bond, Neo, etc.)

When NOT to Use

  • Background replacement (single image) - creates cut-out artifacts, halos
  • Face swapping - cannot preserve identity from reference
  • Outpainting - can't extend canvas reliably

Use With Care

  • Multi-image compositing - CAN work with explicit identity anchors (see examples.md for prompt patterns). Requires describing distinctive features (hair texture/color, ethnicity, outfit) and using guidance ~2.0
  • Camera angle changes - Inconsistent results. Vertical angles (low/high) work better than rotational (three-quarter view)

Quick Reference

# Basic edit
uv run tools/image_edit.py --input photo.jpg --prompt "Add sunglasses"

# With negative prompt (recommended)
uv run tools/image_edit.py --input photo.jpg \
  --prompt "Reframe as portrait with full head visible" \
  --negative "blur, distortion, artifacts"

# Style transfer
uv run tools/image_edit.py --input photo.jpg --style cyberpunk

# Background (use cautiously - often fails)
uv run tools/image_edit.py --input photo.jpg --background office

# Higher quality
uv run tools/image_edit.py --input photo.jpg --prompt "..." --steps 16 --guidance 3.0

# Multi-image composite (identity-preserving)
uv run tools/image_edit.py --input person.jpg background.jpg \
  --prompt "The [ethnicity] [gender] with [hair description] from first image is now in [scene] from second image. Same [features], [outfit]." \
  --negative "different ethnicity, different hair color, different face shape, generic stock photo" \
  --steps 16 --guidance 2.0

Read the full file on GitHub · 76 lines

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. 6d ago First seen · 76 lines · 56 tokens per session scan A 222c5020dbec

Subscribe to this mod's changes

qwen-edit is a skill published in the GitHub repository digitalsamba/claude-code-video-toolkit (2,045 stars, last pushed 5d ago), licensed MIT. It adds 56 tokens to every session and 646 once invoked, about $0.0003 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.