img2mo-std · 2D Animation Baseline Standardizer
Audits and rescales a 2D character/prop baseline image with transparent action margin before motion generation.
Image & VideoIntermediate★ 160⑂ 5AI score 8/10Last updated: Jul 2, 2026
What it does
- Triggered by
/img2mo-std xxx.png, it audits your baseline frame and regenerates a standardized version. - Audit rules: subject longer than ~300–400px, subject touching the canvas edge, missing transparent room for limbs/weapons/capes/tails, opaque white background, oversized canvas, or prior frames showing clipping and scale popping.
- Runs the repo tool
scripts/standardize_baseline.pyto emitsample/<stem>-standard.png, then reads the JSON report (needs_standardization,subject_longest_side,edge_clearance_ratio,warnings) to decide pass/fail. - Locks in a workflow rule: all later walk/attack/idle sprite generation must start from the standardized image.
Who it's for
- Anyone generating 2D game sprites or character motion sheets with AI.
- Artists hitting clipped limbs or inconsistent character scale across frames.
- Indie devs using the 2dimg2motion pipeline.
Examples
/img2mo-std s7— resolvessample/s7.pngand writessample/s7-standard.png.- Need more swing room:
python scripts/standardize_baseline.py sample/s7.png --subject-max 320 --margin-ratio 0.85. - Dry run: add
--check-onlyto get the audit report without modifying the image.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/WU-HAOTIAN34/2dimg2motion/HEAD/skills/img2mo-std/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/img2mo-std folder from the GitHub repo WU-HAOTIAN34/2dimg2motion into my ~/.claude/skills/img2mo-std/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/WU-HAOTIAN34/2dimg2motion.git && mkdir -p ~/.claude/skills && cp -r 2dimg2motion/skills/img2mo-std ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal in your projects folder.
- Clone the repo:
git clone https://github.com/WU-HAOTIAN34/2dimg2motion.git - Install the skill:
mkdir -p ~/.claude/skills && cp -r 2dimg2motion/skills/img2mo-std ~/.claude/skills/ - Install Python 3 plus the image libraries the repo needs (e.g. Pillow — check its requirements file).
- Run
cd 2dimg2motionand start Claude Code from the repo root, since the script path is relative. - Test it with
/img2mo-std sample/s7.pngand check the JSON report output.
View source on GitHub ↗License: MIT