mcpbeat Sign in

Img2mo Std Agent Skill

Standardize a 2D animation baseline image with `/img2mo-std xxx.png/pos`. Use when preparing a character, creature, prop, or weapon baseline before motion generation, especially if the source image is too large, tightly cropped, lacks transparent action margin, has a white background, or later walk/attack/idle frames show clipping, overlap, scale popping, or inconsistent character size.

844 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
128
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/WU-HAOTIAN34/2dimg2motion --skill img2mo-std

The instruction itself

7 sections, as written by the author

Img2mo-std

Overview

Use this skill when the user invokes:

/img2mo-std xxx.png/pos

The command audits and standardizes a baseline frame before animation generation. It creates a smaller, padded, transparent-canvas source image that leaves enough room for walk, attack, idle, weapon swing, cape, tail, horn, or limb stretch poses.

Input Resolution

Resolve the argument after /img2mo-std as follows:

  • If it is an existing relative or absolute path, use it directly.
  • If it is a bare file name such as s7.png, first try sample\s7.png.
  • If it has no extension such as s7, first try sample\s7.png, then sample\s7.jpg, then sample\s7.webp.
  • If no matching image exists, report the missing path and do not guess from unrelated files.

Examples:

/img2mo-std s7
/img2mo-std s7.png
/img2mo-std sample\s7.png
/img2mo-std C:\AI\2dimg2motion-v1\sample\s7.png

Audit Criteria

A baseline is not standard if any of these are true:

  • The foreground subject is larger than about 300-400 px on its longest side.
  • The subject touches or nearly touches the canvas edge.
  • There is not enough empty transparent space for arms, legs, weapons, tails, capes, horns, or effects to extend during motion.
  • The background is opaque white or near-white when the character should be isolated.
  • The source has a huge canvas that will slow generation without adding useful detail.
  • Previous generated frames show inconsistent character size, off-center motion, clipped body parts, or crowded sprite-sheet cells.

Tool

Run the repository tool from the workspace root after resolving the image path:

python scripts\standardize_baseline.py <resolved-image-path>

Default output:

sample\<input-stem>-standard.png

Useful options:

python scripts\standardize_baseline.py sample\s7.png --subject-max 360 --margin-ratio 0.75
python scripts\standardize_baseline.py sample\s7.png --output sample\s7-standard.png
python scripts\standardize_baseline.py sample\s7.png --check-only

Recommended default target:

  • Subject longest side: 360
  • Margin ratio: 0.65 to 0.85
  • Output format: PNG with transparency

Report Interpretation

The tool prints a JSON report. Treat the standardized output as ready when:

  • needs_standardization is false after processing.
  • subject_longest_side is between 300 and 400.
  • edge_clearance_ratio leaves enough room for the intended motion.
  • warnings is empty or only contains acceptable notes.

If the report still warns that the image is tight or too large, rerun with a smaller --subject-max or larger --margin-ratio.

Animation Workflow Rule

After /img2mo-std, use the standardized output image as the baseline for all later walk, attack, idle, or other sprite generation. Do not continue from the original oversized or tightly cropped source unless the user explicitly asks to bypass standardization.

Other skills for the same job

different authors, same section of the catalogue
Canvas Design
by anthropics
vendor ×13

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

1388k tokens
Algorithmic Art
by anthropics
vendor ×10

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.

15k tokens scripts
Image Enhancer
by frostant
×6

Improves the quality of images, especially screenshots, by enhancing resolution, sharpness, and clarity. Perfect for preparing images for presentations, documentation, or social media posts.

635 tokens
Video Downloader
by CommandCodeAI
×4

Downloads videos from YouTube and other platforms for offline viewing, editing, or archival. Handles various formats and quality options.

671 tokens
Histolab
by christophacham
×3

Lightweight WSI tile extraction and preprocessing. Use for basic slide processing tissue detection, tile extraction, stain normalization for H&E images. Best for simple pipelines, dataset preparation, quick tile-based analysis. For advanced spatial proteomics, multiplexed imaging, or deep learning pipelines use pathml.

18k tokens
Omero Integration
by christophacham
×3

Microscopy data management platform. Access images via Python, retrieve datasets, analyze pixels, manage ROIs/annotations, batch processing, for high-content screening and microscopy workflows.

32k tokens
Pydicom
by christophacham
×3

Python library for working with DICOM (Digital Imaging and Communications in Medicine) files. Use this skill when reading, writing, or modifying medical imaging data in DICOM format, extracting pixel data from medical images (CT, MRI, X-ray, ultrasound), anonymizing DICOM files, working with DICOM metadata and tags, converting DICOM images to other formats, handling compressed DICOM data, or processing medical imaging datasets. Applies to tasks involving medical image analysis, PACS systems, radiology workflows, and healthcare imaging applications.

13k tokens scripts
Transformers
by christophacham
×3

This skill should be used when working with pre-trained transformer models for natural language processing, computer vision, audio, or multimodal tasks. Use for text generation, classification, question answering, translation, summarization, image classification, object detection, speech recognition, and fine-tuning models on custom datasets.

13k tokens

How to use it

Copy the folder

Take wu-haotian34/img2mo-std from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.