/codex-toolkit:pixel-mask-movefrom codex-toolkit
Deterministically move a verified RGBA cutout using a mask, without regeneration, scaling, retouching, or changing any source face pixels. Use for requests such as "move the guitarist closer" only when pixel fidelity and face identity must be preserved.
Ships in codex-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This is an identity-lock skill: it moves existing pixels only. Never call image generation, inpainting, face restoration, resizing, or any tool that re-renders the image. A generated edit can look similar but cannot guarantee unchanged faces.
Use this skill only if all conditions are true:
scripts/alpha_qc.py returns PASS and its grey, dark, and colour preview shows no transparent clothing, hair, glasses, skin, instrument, or pale edge halo.scripts/source_matte_qc.py has been run against the untouched source. A FAIL means human review is mandatory; never discard its red candidates by colour.If any condition fails, stop. Ask for a clean isolated cutout, original layered file, or a new photo. Do not replace missing pixels with a generative edit and do not describe a generated result as face-preserved.
scripts/restore_source_rgb.py with the untouched flat source and the cutout. This restores the original photographed RGB wherever alpha is visible; the mask remains the only editable data.scripts/alpha_qc.py first. A FAIL is a hard stop. In particular, light_edge_halo means white/studio-background pixels remain in a soft edge: refine the mask manually instead of compositing it on a dark poster.scripts/source_matte_qc.py before any move. It compares source colours only to flag interior background-like regions. It never repairs them. Inspect the red overlay and correct the mask manually. White shirts, collars and sneakers are not valid grounds for automatic fill or automatic deletion.scripts/move_masked_layer.py with integer --dx and --dy values. Negative dx moves left; negative dy moves up. It repeats the alpha/halo gate and verifies pixels outside the old/new layer regions were not changed.--layer-order behind when the moved person should tuck naturally behind another person. Use the default front order only when the user explicitly accepts the moved subject appearing in front. The default safety check stops a front overlap rather than corrupting an overlap.scripts/alpha_qc.py on the output and inspect its three-background preview before handing off the PNG. Confirm there is no remaining original copy, no clipped hair/instrument, no unintended overlap, and no light fringe on the dark panel.Example:
python scripts/move_masked_layer.py `
--input "group.png" --mask "guitarist_mask.png" --dx -60 --output "group_guitarist_closer.png" `
--preview "group_guitarist_closer_preview.jpg"
This moves existing pixels only. It cannot reveal pixels hidden behind an overlapping person, restore RGB pixels lost by a bad alpha mask, remove a halo baked into the input image, or turn a flattened photo into a trustworthy layer. In any of these cases, stop and ask for a clean original/layered source instead of generating replacement pixels.
Run:
python scripts/alpha_qc.py --input "cutout.png" --preview "cutout_qc.jpg"
The script flags suspicious transparent holes. Treat a FAIL result as a hard stop. The preview must be inspected on grey, dark and saturated backgrounds; a checkerboard alone can hide a white or dark halo.
For a cutout produced from a flat source, lock its visible RGB back to the source before QC:
python scripts/restore_source_rgb.py `
--source "group_original.png" --cutout "group_masked.png" --output "group_source_locked.png"
For a light source background, also require this evidence preview (dark, magenta, and red candidate overlay):
python scripts/source_matte_qc.py `
--source "group_original.png" --cutout "group_source_locked.png" `
--preview "group_source_matte_qc.png"
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub artypoul/gigma_skills --plugin codex-toolkitOther plugins' skills for the same job
19 skills in this plugin
/background-removeRemove backgrounds from images using AI. Triggers include: "remove background", "transparent background", "cut out", "isolate subject", "remove bg", "make transparent", "extract subject", "background removal" Creates PNG or WebP images with transparent backgrounds.
/banquet-image-generationГенерировать, редактировать и проверять визуализации банкетного зала по подтверждённой фотографии и плану конкретного проекта, сохраняя геометрию и привязку зоны. Проверка сама по себе не разрешает новую генерацию./cabinet-screen-ux-passRefine an existing cabinet or admin screen without breaking the current flow. Use when the user asks to make a page more informative, clearer, or visually stronger, to move deep settings inside the main management surface, or to improve presentation while preserving routes, business logic, and the current block structure unless a structural change is explicitly requested.